Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DBitStreamUtils.java822 FrameHeaderObu frameHeader = new FrameHeaderObu(); in parseFrameHeader() local
832 frameHeader.frameType = OBP_KEY_FRAME; in parseFrameHeader()
834 frameHeader.showFrame = 1; in parseFrameHeader()
836 frameHeader.showExistingFrame = bitArray.readBits(1); in parseFrameHeader()
837 if (frameHeader.showExistingFrame == 1) { in parseFrameHeader()
847 frameHeader.frameType = mRefFrameType[frameToShowMapIdx]; in parseFrameHeader()
848 if (frameHeader.frameType == OBP_KEY_FRAME) { in parseFrameHeader()
851 return frameHeader; in parseFrameHeader()
853 frameHeader.frameType = bitArray.readBits(2); in parseFrameHeader()
854 frameIsIntra = (frameHeader.frameType == OBP_INTRA_ONLY_FRAME in parseFrameHeader()
[all …]
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DIvfWriter.java166 byte[] frameHeader = new byte[12]; in makeIvfFrameHeader()
167 lay32Bits(frameHeader, 0, size); in makeIvfFrameHeader()
168 lay64bits(frameHeader, 4, timestamp); in makeIvfFrameHeader()
169 return frameHeader; in makeIvfFrameHeader()