Searched refs:byte (Results 1 - 25 of 25) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/
H A DarmVCM4P10_DequantTables_s.S24 .byte 0, 2, 0, 2
25 .byte 2, 1, 2, 1
26 .byte 0, 2, 0, 2
27 .byte 2, 1, 2, 1
30 .byte 0, 2
31 .byte 2, 1
34 .byte 10, 16, 13
35 .byte 11, 18, 14
36 .byte 13, 20, 16
37 .byte 1
[all...]
H A DarmVCM4P10_QuantTables_s.S57 .byte 16, 16, 16, 16, 16, 16
58 .byte 17, 17, 17, 17, 17, 17
59 .byte 18, 18, 18, 18, 18, 18
60 .byte 19, 19, 19, 19, 19, 19
61 .byte 20, 20, 20, 20, 20, 20
62 .byte 21, 21, 21, 21, 21, 21
63 .byte 22, 22, 22, 22, 22, 22
64 .byte 23, 23, 23, 23, 23, 23
65 .byte 24, 24, 24, 24, 24, 24
/frameworks/compile/mclinker/lib/Support/
H A DLEB128.cpp20 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;
122 ByteType byte; local
124 // Start the read from the 4th byte
141 ByteType byte; local
190 ByteType byte; local
211 ByteType byte; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_byte_stream.c56 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 Dh264bsd_stream.c142 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 DDecTestBench.c493 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/libbcc/bcinfo/Wrap/
H A Dfile_wrapper_output.cpp34 bool FileWrapperOutput::Write(uint8_t byte) { argument
35 return EOF != fputc(byte, _file);
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dfile_wrapper_output.h32 // Writes a single byte, returning false if unable to write.
33 virtual bool Write(uint8_t byte);
H A Dwrapper_output.h36 // Writes a single byte, returning false if unable to write.
37 virtual bool Write(uint8_t byte) = 0;
/frameworks/av/media/libstagefright/
H A DDataSource.cpp52 uint8_t byte[2]; local
53 if (readAt(offset, byte, 2) != 2) {
57 *x = (byte[0] << 8) | byte[1];
H A DMPEG4Writer.cpp103 // @arg value must be in network byte order
121 // @arg value the retrieved value at the position in network byte order.
143 // @arg value must be in network byte order.
1704 static void getNalUnitType(uint8_t byte, uint8_t* type) { argument
1705 ALOGV("getNalUnitType: %d", byte);
1708 *type = (byte & 0x1F);
2626 // Make sure all sizes encode to a single byte.
2762 // Removing "r" for the name string just makes the string 4 byte aligned
2864 duration = htonl(duration); // Back to host byte order
2892 duration = htonl(duration); // Back host byte orde
[all...]
/frameworks/compile/libbcc/runtime/lib/
H A Dgcc_personality_v0.c89 unsigned char byte; local
92 byte = *p++;
93 result |= (byte & 0x7f) << shift;
95 } while (byte & 0x80);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dbitstream_io.cpp75 /* 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;
106 if (byte != 0)
108 *write_pnt++ = byte;
115 *write_pnt++ = byte;
251 /* check whether it's byte
[all...]
H A Dmotion_est.cpp746 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...]
H A Dmotion_comp.cpp216 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...]
/frameworks/compile/linkloader/include/
H A DELFTypes.h124 typedef unsigned char byte; typedef in struct:ELFPrimitiveTypes
145 typedef unsigned char byte; typedef in struct:ELFPrimitiveTypes
186 typedef typename ELFPrimitiveTypes<BITWIDTH>::byte byte_t; \
204 typedef ELFPrimitiveTypes<BITWIDTH>::byte byte_t; \
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp37 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 Dmotion_est.cpp678 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...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s28 ; * block; must be aligned on a 4-byte boundary. The
32 ; * on a 4-byte boundary.
34 ; * aligned on a 4-byte boundary.
60 ; * 4-byte aligned.
H A DomxVCM4P2_DecodePadMV_PVOP_s.s24 ; * [in] ppBitStream pointer to the pointer to the current byte in
26 ; * [in] pBitOffset pointer to the bit position in the byte pointed
45 ; * so that it points to the current byte in the bit
48 ; * current bit position in the byte pointed by
/frameworks/av/media/libstagefright/mp4/
H A DTrackFragment.cpp127 unsigned byte = mCompactSampleSizes->data()[12 + mSampleIndex / 2]; local
128 mSampleInfo.mSize = (mSampleIndex & 1) ? byte & 0x0f : byte >> 4;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s24 ; * [in] ppBitStream pointer to the pointer to the current byte in
26 ; * [in] pBitOffset pointer to the bit position in the byte pointed
45 ; * so that it points to the current byte in the bit
48 ; * current bit position in the byte pointed by
H A DomxVCM4P2_PredictReconCoefIntra_s.s28 ; * block; must be aligned on a 4-byte boundary. The
32 ; * on a 4-byte boundary.
34 ; * aligned on a 4-byte boundary.
60 ; * 4-byte aligned.
/frameworks/native/libs/utils/
H A DAndroid.mk55 # Under MinGW, ctype.h doesn't need multi-byte support
H A DUnicode.cpp57 // Mask used to set appropriate bits in first byte of UTF-8 sequence,
60 // -> (00-7f) 7bit. Bit mask for the first byte is 0x00000000
285 since the byte beyond the maximum may segfault */
441 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte) argument
444 *codePoint |= 0x3F & byte;

Completed in 506 milliseconds