Home
last modified time | relevance | path

Searched refs:zeroCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_byte_stream.c88 u32 zeroCount; in h264bsdExtractNalUnit() local
107 zeroCount = byteCount = 2; in h264bsdExtractNalUnit()
123 zeroCount++; in h264bsdExtractNalUnit()
124 else if ((byte == 0x01) && (zeroCount >= 2)) in h264bsdExtractNalUnit()
127 zeroCount = 0; in h264bsdExtractNalUnit()
134 zeroCount = 0; in h264bsdExtractNalUnit()
141 zeroCount++; in h264bsdExtractNalUnit()
143 if ( (byte == 0x03) && (zeroCount == 2) ) in h264bsdExtractNalUnit()
148 if ( (byte == 0x01) && (zeroCount >= 2 ) ) in h264bsdExtractNalUnit()
151 byteCount - initByteCount - zeroCount - 1; in h264bsdExtractNalUnit()
[all …]
DDecTestBench.c491 u32 zeroCount; in NextPacket() local
528 zeroCount = 0; in NextPacket()
536 zeroCount++; in NextPacket()
538 if ( (byte == 0x01) && (zeroCount >= 2) ) in NextPacket()
544 if (zeroCount > 3) in NextPacket()
547 zeroCount -= 3; in NextPacket()
551 index -= zeroCount+1; in NextPacket()
552 zeroCount = 0; in NextPacket()
557 zeroCount = 0; in NextPacket()
572 index -= zeroCount; in NextPacket()