Searched defs:byte (Results 1 - 10 of 10) 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/base/tools/bit/ |
H A D | adb.cpp | 90 uint8_t byte; local 91 ssize_t amt = read(fd, &byte, 1); 98 result |= uint64_t(byte & 0x7F) << bits; 99 if ((byte & 0x80) == 0) {
|
/frameworks/av/media/libstagefright/ |
H A D | DataSource.cpp | 46 uint8_t byte[2]; local 47 if (readAt(offset, byte, 2) != 2) { 51 *x = (byte[0] << 8) | byte[1]; 59 uint8_t byte[3]; local 60 if (readAt(offset, byte, 3) != 3) { 64 *x = (byte[0] << 16) | (byte[1] << 8) | byte[2];
|
H A D | MPEG4Writer.cpp | 159 // @arg value must be in network byte order 177 // @arg value the retrieved value at the position in network byte order. 214 // @arg value must be in network byte order. 2163 static void getNalUnitType(uint8_t byte, uint8_t* type) { argument 2164 ALOGV("getNalUnitType: %d", byte); 2167 *type = (byte & 0x1F); 3368 // Make sure all sizes encode to a single byte. 3410 // Make sure all sizes encode to a single byte. 3530 // Removing "r" for the name string just makes the string 4 byte aligned 3660 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 130 milliseconds