search for: eob

Displaying 20 results from an estimated 21 matches for "eob".

Did you mean: bob
2011 Mar 22
2
theora-dev Digest, Vol 80, Issue 6
Thank, Timothy! I add this stages. About RLE: I have one more unresolved stage. Mike Melanson wrote in "VP3 Bitstream Format..." about RLE using: "* Zigzag Ordering: After transforming and quantizing a block of samples, the samples are not in an optimal order for run length encoding. Zigzag ordering rearranges the samples to put more zeros between non-zero samples." If we pass
2004 Aug 06
0
No subject
...o that at least one coefficient in one block will always be decoded for every token.*/ int oc_dct_token_skip(int _token,int _extra_bits){ i.e., skip is never 0 by design. Part of the assumptions are that you can only ever have at most one token per coefficient. However, try changing oc_token_skip_eob6 (internal.c:121) to read: static int oc_token_skip_eob6(int _token,int _extra_bits){ - if(!_extra_bits)return -INT_MAX; + if(!_extra_bits)return -(INT_MAX>>1); return -_extra_bits; } (The purpose of this code is described in section 7.7.1 of the spec. Step 7(b) is not implemented literally...
2009 Oct 07
1
Possible inefficiency in encode.c
Hi, I am very new to Theora, having just started working through the code a few weeks ago. I am working on a requantization tool to reduce bit rates, hopefully on the fly, for some video conferencing work. As I was working through the encoding phase I noticed this line in encode.c: for(ti=_enc->dct_token_offs[pli][zzi];ti<ndct_tokens;ti++){ It's around line 804, but I am
2011 Mar 22
5
FPGA encode stages flow diagram
Good day! I create diagram of encoder process. Using it i create implementation of encoder in FPGA (Xilinx/Altera). Please critique it. Is there missing stages? Here is blog http://developer-fpga.blogspot.com/ Here is picture of encoding stage 1 https://lh4.googleusercontent.com/-NV8o9DG3jvE/TYjYXr-dYGI/AAAAAAAAAos/U06O-YvhSI0/s1600/stage1.jpg Here is picture of encoding stage 2
2011 Mar 22
0
FPGA implementation in the camera
...ew frame (if it is not a golden) and processed by the DCT and quantizator. 3. After the quantizator data in one branch goes through dequantizator, IDCT and back to FB to be fetched with the next frame. 4. In parallel to (3) 64 coefficients are RLL encoded and saved to the FB. At least at first - no EOB runs covering several blocks as the blocks will be processed in a single-pass macroblock order, not plane order. 5. Separate process will fetch tokens (or just their fixed-length RLL-encoded equivalents) from FB in the index order, the bitstream will be built and transfered to the system (separate...
2004 Dec 02
1
80% there
...ffer was written in macroblock-scan order) and applies Huffman encoding (currently there is room for 30 tables of 80) so just a single block RAM is used. Maximal code length is limited to 14 bits, but standard tables have not more than 13 so it is not a problem. This module also combines single EOB tokens if possible. Result bit data is organized in 16-bit words to be sent out through DMA controller. Total length is also calculated. Each frame is padded to multiple of 32 bytes, extra 32 bytes added to simplify interfacing with ETRAX100LX DMA. As all the frame header data will be calculat...
2009 Oct 13
3
Proposal for replacing asm code with intrinsics
...ey used to be. I presume the > point of doing that was to eliminate the need for dct_token_offs altogether. The actual point was so that the token lists could be filled in a different order than the one in which they will appear in the bitstream. However, one of the consequences of this is that EOB runs cannot span lists, even though the bitstream allows it. This is fixed up after tokenization, before packing the tokens into the packet, in oc_enc_tokenize_finish(). What this means is that sometimes the first token in the list must be skipped, because it was an EOB run that has actually been...
2005 Jul 20
1
MMX IDCT for theora-exp
...0.2025 dump oc_token_skip_run_cat1a 2572 0.4554 982 0.2530 dump oc_token_expand_cat2 2087 0.3696 16 0.0041 dump oc_dct_token_skip 1884 0.3336 658 0.1695 dump oc_token_skip_eob 1788 0.3166 5600 1.4428 dump oc_frag_recon_intra_mmx 1542 0.2731 12 0.0031 dump oc_frag_recon_inter2 1514 0.2681 1578 0.4066 dump oc_vlc_mode_unpack 1441 0.2552 1055 0.2718 dump...
2006 Jan 06
2
DO NOT REPLY [Bug 3382] New: hang in read() in exclude.test of testsuite
...04 if (word_split && isspace(ch)) 1005 break; 1006 if (eol_nulls? !ch : (ch == '\n' || ch == '\r')) 1007 break; 1008 if (s < eob) (ladebug) n stopped at [void parse_filter_file(struct filter_list_struct*, const char*, unsigned int, int):1000 0x1200235c4] 1000 if (ferror(fp) && errno == EINTR) (ladebug) print fp 0x3ffc0080050 (ladebug) print errno 4 (ladebug) print line &quot...
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...ile_list_proc(f,get_arg,&arg_info); +} + +/* note that send_file_list_proc silently truncates the filename to fit + in a buffer of MAXPATHLEN characters, so we can safely truncate there */ +static char * +get_stdio(FILE *fp) +{ + static char fnbuf[MAXPATHLEN]; + char *s = fnbuf; + char *eob = &fnbuf[sizeof(fnbuf)-1]; + int cc; + extern int list_rs; + + while (((cc = getc(fp)) != list_rs) && (cc != EOF)) { + if (s < eob) + *(s++) = cc; + } + *s = '\0'; + return ((cc == EOF) && (s == fnbuf)) ? NULL : fnbuf; +} + +struct file_list *send_fi...
2007 Apr 18
2
libswfdec/jpeg
libswfdec/jpeg/jpeg_rgb_decoder.c | 1 - 1 files changed, 1 deletion(-) New commits: diff-tree 15ed4a69b4ffc265fe103ba79a0b60af7e42a9fa (from 2073f39bc0b0aa90f1f67def9bb3f0c6b68018ae) Author: Benjamin Otte <otte@gnome.org> Date: Wed Apr 18 10:47:06 2007 +0200 remove leftover debugging statement diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c
2003 Jan 14
4
specifying a list of files to transfer
...ile_list_proc(f,get_arg,&arg_info); +} + +/* note that send_file_list_proc silently truncates the filename to fit + in a buffer of MAXPATHLEN characters, so we can safely truncate there */ +static char * +get_stdio(FILE *fp) +{ + static char fnbuf[MAXPATHLEN]; + char *s = fnbuf; + char *eob = &fnbuf[sizeof(fnbuf)-1]; + int cc; + extern int list_rs; + + while (((cc = getc(fp)) != list_rs) && (cc != EOF)) { + if (s < eob) + *(s++) = cc; + } + *s = '\0'; + return ((cc == EOF) && (s == fnbuf)) ? NULL : fnbuf; +} + +struct file_list *send_fi...
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have been applied. These are the tested and updated remainder, addressing the previous comments. 1 Preparatory work. 2-4 The new parser and its documentation. 5-6 Replace old parsers with calls to the new one. 7-8 Two features, one of them essential. 9 Basic test suite for disk string parsing, as adhoc script.
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...y_current_state;" ); } } } void gentabs() { int i, j, k, *accset, nacc, *acc_array, total_states; int end_of_buffer_action = num_rules + 1; acc_array = (int *) allocate_array( current_max_dfas, sizeof( int ) ); nummt = 0; ++num_backing_up; if ( reject ) { int EOB_accepting_list[2]; EOB_accepting_list[0] = 0; EOB_accepting_list[1] = end_of_buffer_action; accsiz[end_of_buffer_state] = 1; dfaacc[end_of_buffer_state].dfaacc_set = EOB_accepting_list; out_str_dec( long_align ? C_long_decl : C_short_decl, "yy_acclist", ((numas) > (1) ?...
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...opt_len; /* bit length of current block with optimal trees */ ulg static_len; /* bit length of current block with static trees */ - ulg compressed_len; /* total bit length of compressed file */ uInt matches; /* number of string matches in current block */ int last_eob_len; /* bit length of EOB code for last block */ #ifdef DEBUG - ulg bits_sent; /* bit length of the compressed data */ + ulg compressed_len; /* total bit length of compressed file mod 2^32 */ + ulg bits_sent; /* bit length of compressed data sent mod 2^32 */ #endif u...
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...return -1; } s = rs & 0xf; r = rs >> 4; if (s == 0) { if (r == 15) { - JPEG_LOG ("r=%d s=%d (skip 16)", r, s); + OIL_DEBUG ("r=%d s=%d (skip 16)", r, s); k += 15; } else { - JPEG_LOG ("r=%d s=%d (eob)", r, s); + OIL_DEBUG ("r=%d s=%d (eob)", r, s); break; } } else { k += r; if (k >= 64) { - JPEG_ERROR ("macroblock overrun"); + printf ("macroblock overrun"); return -1; } x = getbi...
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...bits->end) { - OIL_DEBUG ("overrun"); - return -1; - } - s = rs & 0xf; - r = rs >> 4; - if (s == 0) { - if (r == 15) { - OIL_DEBUG ("r=%d s=%d (skip 16)", r, s); - k += 15; - } else { - OIL_DEBUG ("r=%d s=%d (eob)", r, s); - break; - } - } else { - k += r; - if (k >= 64) { - printf ("macroblock overrun"); - return -1; - } - x = getbits (bits, s); - sprintbits (str, x, s); - if ((x >> (s - 1)) == 0) { - x -= (1 <<...
2012 Apr 02
23
[PATCH 00 of 18] [v2] tools: fix bugs and build errors triggered by -O2 -Wall -Werror
Changes: tools/blktap: remove unneeded pointer dereferencing in convert_dev_name_to_num tools/blktap: constify string arrays in convert_dev_name_to_num tools/blktap: fix params and physical-device parsing tools/blktap: remove unneeded pointer dereferencing from img2qcow.c tools/blktap: remove unneeded pointer dereferencing from qcow2raw.c tools/blktap2: fix build errors caused by Werror in
2004 Aug 24
5
MMX/mmxext optimisations
quite some speed improvement indeed. attached the updated patch to apply to svn/trunk. j -------------- next part -------------- A non-text attachment was scrubbed... Name: theora-mmx.patch.gz Type: application/x-gzip Size: 8648 bytes Desc: not available Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20040824/5a5f2731/theora-mmx.patch-0001.bin