Home
last modified time | relevance | path

Searched refs:psBits (Results 1 – 5 of 5) sorted by relevance

/external/opencore/codecs_v2/utilities/m4v_config_parser/src/
Dm4v_config_parser.cpp64 void movePointerTo(mp4StreamType *psBits, int32 pos) in movePointerTo() argument
74 if (byte_pos > (psBits->numBytes - psBits->bytePos)) in movePointerTo()
76 byte_pos = (psBits->numBytes - psBits->bytePos); in movePointerTo()
79 psBits->bytePos = byte_pos & -4; in movePointerTo()
80 psBits->dataBitPos = psBits->bytePos << 3; in movePointerTo()
81 FlushBits(psBits, ((pos & 0x7) + ((byte_pos & 0x3) << 3))); in movePointerTo()
84 int16 SearchNextM4VFrame(mp4StreamType *psBits) in SearchNextM4VFrame() argument
89 uint32 initial_byte_aligned_position = (psBits->dataBitPos + 7) >> 3; in SearchNextM4VFrame()
91 ptr = psBits->data + initial_byte_aligned_position; in SearchNextM4VFrame()
93 i = LocateFrameHeader(ptr, psBits->numBytes - initial_byte_aligned_position); in SearchNextM4VFrame()
[all …]
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dpvm4vencoder.cpp256 mp4StreamType *psBits; in ParseFSI() local
257 psBits = (mp4StreamType *) oscl_malloc(sizeof(mp4StreamType)); in ParseFSI()
258 if (psBits == NULL) in ParseFSI()
260 psBits->data = aFSIBuff; in ParseFSI()
261 psBits->numBytes = FSILength; in ParseFSI()
262 psBits->bitBuf = 0; in ParseFSI()
263 psBits->bitPos = 32; in ParseFSI()
264 psBits->bytePos = 0; in ParseFSI()
265 psBits->dataBitPos = 0; in ParseFSI()
268 ShowBits(psBits, 32, &codeword); in ParseFSI()
[all …]
/external/opencore/codecs_v2/utilities/m4v_config_parser/include/
Dm4v_config_parser.h85 OSCL_IMPORT_REF int16 iDecodeVOLHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 *,…
88 OSCL_IMPORT_REF int16 iDecodeShortHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 …
92 int16 DecodeSPS(mp4StreamType *psBits, int32 *width, int32 *height, int32 *display_width, int32 *di…
94 int32 DecodeHRD(mp4StreamType *psBits);
95 int32 DecodeVUI(mp4StreamType *psBits);
97 int32 DecodePPS(mp4StreamType *psBits);
99 void ue_v(mp4StreamType *psBits, uint32 *codeNum);
100 void se_v(mp4StreamType *psBits, int32 *value);
/external/opencore/codecs_v2/utilities/pv_config_parser/src/
Dpv_video_config_parser.cpp71 mp4StreamType psBits; in pv_video_config_parser() local
72 psBits.data = aInputs->inPtr; in pv_video_config_parser()
77 psBits.numBytes = aInputs->inBytes; in pv_video_config_parser()
78 psBits.bytePos = 0; in pv_video_config_parser()
79 psBits.bitBuf = 0; in pv_video_config_parser()
80 psBits.dataBitPos = 0; in pv_video_config_parser()
81 psBits.bitPos = 32; in pv_video_config_parser()
86 …retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in pv_video_config_parser()
/external/opencore/codecs_v2/video/m4v_h263/enc/include/
Dpvm4vencoder.h160 int16 iDecodeShortHeader(mp4StreamType *psBits, VideoEncOptions *aEncOption);