Searched defs:byte (Results 1 - 12 of 12) sorted by relevance
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | file_wrapper_output.cpp | 34 bool FileWrapperOutput::Write(uint8_t byte) { argument 35 return EOF != fputc(byte, _file);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_byte_stream.c | 56 Extracts one NAL unit from the byte stream buffer. Removes 62 and nothing else, or one or more NAL units embedded in byte 67 pByteStream pointer to byte stream buffer 76 HANTRO_NOK error in byte stream 89 u8 byte; local 101 /* byte stream format if starts with 0x000001 or 0x000000 */ 112 byte = *readPtr++; 122 if (!byte) 124 else if ((byte == 0x01) && (zeroCount >= 2)) 138 byte [all...] |
H A D | h264bsd_stream.c | 142 u32 byte = (u32)pStrm[4]; local 145 out |= byte>>tmp; 215 Check if current stream position is byte aligned. 224 TRUE stream is byte aligned 225 FALSE stream is not byte aligned
|
H A D | DecTestBench.c | 493 u8 byte; local 510 byte = stream[index++]; 511 } while (byte != 1 && index < maxIndex); 534 byte = stream[index++]; 535 if (!byte) 538 if ( (byte == 0x01) && (zeroCount >= 2) ) 556 else if (byte)
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | LEB128.cpp | 20 ByteType byte = pValue & 0x7f; local 23 byte |= 0x80; 24 *pBuf++ = byte; 72 ByteType byte = pValue & 0x7f; local 75 if (((pValue == 0) && ((byte & 0x40) == 0)) || 76 ((pValue == -1) && ((byte & 0x40) == 0x40))) 79 byte |= 0x80; 81 *pBuf++ = byte; 118 ByteType byte; local 120 // Start the read from the 4th byte 137 ByteType byte; local 186 ByteType byte; local 207 ByteType byte; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | bitstream_io.cpp | 75 /* Purpose : Save the current_word into the buffer, byte-swap, and */ 85 uint8 *write_pnt, byte; local 88 /* check number of bytes in current_word, must always be byte-aligned!!!! */ 99 /* write word, byte-by-byte */ 105 byte = (current_word >> num_bits) & 0xFF; 108 if (byte <= 3) 115 if (byte != 0) 117 *write_pnt++ = byte; 124 *write_pnt++ = byte; [all...] |
H A D | motion_comp.cpp | 216 prev_pix = (pix4 << 24) & 0xFF000000; /* mask out byte belong to previous word */ 236 prev_pix = (pix4 << 16) & 0xFFFF0000; /* mask out byte belong to previous word */ 255 prev_pix = (pix4 << 8) & 0xFFFFFF00; /* mask out byte belong to previous word */ 817 r6 = (r0 >> 8) & 0xFF00FF; /* second and fourth byte */ 965 r6 = (r0 >> 8) & 0xFF00FF; /* second and fourth byte */ 1324 /* It is faster to read 1 byte at time to avoid calling CreateAlign */ 1341 /* It is faster to read 1 byte at a time */ 1354 /* It is faster to read 1 byte at a time */ 1487 /* Read 1 byte at a time is too slow, too many read and pack ops, need to call CreateAlign */ 1493 r6 = (r0 >> 8) & 0xFF00FF; /* second and fourth byte */ 1656 uint8 byte; local 2118 uint8 byte; local [all...] |
H A D | motion_est.cpp | 746 uint8 *ptr, byte; local 764 byte = ptr[4]; 765 word |= (byte << 8); 766 byte = ptr[8]; 767 word |= (byte << 16); 768 byte = ptr[12]; 769 word |= (byte << 24); 773 byte = ptr[4]; 774 word |= (byte << 8); 775 byte [all...] |
/frameworks/av/media/libstagefright/ |
H A D | DataSource.cpp | 58 uint8_t byte[2]; local 59 if (readAt(offset, byte, 2) != 2) { 63 *x = (byte[0] << 8) | byte[1]; 71 uint8_t byte[3]; local 72 if (readAt(offset, byte, 3) != 3) { 76 *x = (byte[0] << 16) | (byte[1] << 8) | byte[2];
|
H A D | MPEG4Writer.cpp | 152 // @arg value must be in network byte order 170 // @arg value the retrieved value at the position in network byte order. 207 // @arg value must be in network byte order. 2002 static void getNalUnitType(uint8_t byte, uint8_t* type) { argument 2003 ALOGV("getNalUnitType: %d", byte); 2006 *type = (byte & 0x1F); 3134 // Make sure all sizes encode to a single byte. 3176 // Make sure all sizes encode to a single byte. 3284 // Removing "r" for the name string just makes the string 4 byte aligned 3400 duration = htonl(duration); // Back to host byte orde [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 37 1. There is a problem when output the last bits(which can not form a byte yet 38 so when you output, you need to stuff to make sure it is a byte 39 2. I now hard coded byte to be 8 bits*/ 265 numbyte = bitused >> 3; /* number of byte fully used */ 303 // *ptr = (UChar)((word>>shift)&0xFF); /* need to do it for the last fractional byte */ 360 /* Question: in MPEG-4 , short_video_header[0]==0 => even already byte aligned, will still stuff 8 bits 437 if (!offset) /* bitstream1 is byte-aligned */ 444 /* since bitstream1 doesn't have to be byte-aligned, we have to process byte by byte */ 583 UChar *ptr, byte; local 683 UChar *pSrc, *pDst, byte; local [all...] |
H A D | motion_est.cpp | 678 UChar *ptr, byte; local 697 byte = ptr[4]; 698 word |= (byte << 8); 699 byte = ptr[8]; 700 word |= (byte << 16); 701 byte = ptr[12]; 702 word |= (byte << 24); 706 byte = ptr[4]; 707 word |= (byte << 8); 708 byte [all...] |
Completed in 1417 milliseconds