Home
last modified time | relevance | path

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

/hardware/intel/common/wrs_omxil_core/core/src/
Dintel_m4v_config_parser.cpp69 void movePointerTo(mp4StreamType *psBits, int32 pos) in movePointerTo() argument
79 if (byte_pos > (psBits->numBytes - psBits->bytePos)) in movePointerTo()
81 byte_pos = (psBits->numBytes - psBits->bytePos); in movePointerTo()
84 psBits->bytePos = byte_pos & -4; in movePointerTo()
85 psBits->dataBitPos = psBits->bytePos << 3; in movePointerTo()
86 FlushBits(psBits, ((pos & 0x7) + ((byte_pos & 0x3) << 3))); in movePointerTo()
89 int16 SearchNextM4VFrame(mp4StreamType *psBits) in SearchNextM4VFrame() argument
94 uint32 initial_byte_aligned_position = (psBits->dataBitPos + 7) >> 3; in SearchNextM4VFrame()
96 ptr = psBits->data + initial_byte_aligned_position; in SearchNextM4VFrame()
98 i = LocateFrameHeader(ptr, psBits->numBytes - initial_byte_aligned_position); in SearchNextM4VFrame()
[all …]
Dintel_m4v_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);
Dintel_video_config_parser.cpp71 mp4StreamType psBits; in intel_video_config_parser() local
72 psBits.data = aInputs->inPtr; in intel_video_config_parser()
77 psBits.numBytes = aInputs->inBytes; in intel_video_config_parser()
78 psBits.bytePos = 0; in intel_video_config_parser()
79 psBits.bitBuf = 0; in intel_video_config_parser()
80 psBits.dataBitPos = 0; in intel_video_config_parser()
81 psBits.bitPos = 32; in intel_video_config_parser()
86 …retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in intel_video_config_parser()
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_m4v_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 …]
Dti_video_config_parser.cpp70 mp4StreamType psBits; in ti_video_config_parser() local
71 psBits.data = aInputs->inPtr; in ti_video_config_parser()
76 psBits.numBytes = aInputs->inBytes; in ti_video_config_parser()
77 psBits.bytePos = 0; in ti_video_config_parser()
78 psBits.bitBuf = 0; in ti_video_config_parser()
79 psBits.dataBitPos = 0; in ti_video_config_parser()
80 psBits.bitPos = 32; in ti_video_config_parser()
85 …retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in ti_video_config_parser()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp85 bool MP4_Utils::parseHeader(mp4StreamType * psBits) in parseHeader() argument
92 m_posInfo.bytePtr = psBits->data; in parseHeader()
93 m_dataBeginPtr = psBits->data; in parseHeader()
103 m_posInfo.bytePtr = psBits->data; in parseHeader()
104 m_dataBeginPtr = psBits->data; in parseHeader()
113 m_posInfo.bytePtr = psBits->data; in parseHeader()
114 m_dataBeginPtr = psBits->data; in parseHeader()
117 psBits->numBytes, in parseHeader()
123 m_posInfo.bytePtr = psBits->data; in parseHeader()
130 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
[all …]
Domx_vdec_hevc.cpp5053 mp4StreamType psBits; in empty_this_buffer_proxy() local
5054 psBits.data = (unsigned char *)(buffer->pBuffer + buffer->nOffset); in empty_this_buffer_proxy()
5055 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
5056 mp4_headerparser.parseHeader(&psBits); in empty_this_buffer_proxy()
6391 mp4StreamType psBits; in push_input_sc_codec() local
6392 psBits.data = pdest_frame->pBuffer + pdest_frame->nOffset; in push_input_sc_codec()
6393 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
6394 mp4_headerparser.parseHeader(&psBits); in push_input_sc_codec()
Domx_vdec.cpp5408 mp4StreamType psBits; in empty_this_buffer_proxy() local
5409 psBits.data = (unsigned char *)(buffer->pBuffer + buffer->nOffset); in empty_this_buffer_proxy()
5410 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
5411 mp4_headerparser.parseHeader(&psBits); in empty_this_buffer_proxy()
6869 mp4StreamType psBits; in push_input_sc_codec() local
6870 psBits.data = pdest_frame->pBuffer + pdest_frame->nOffset; in push_input_sc_codec()
6871 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
6872 mp4_headerparser.parseHeader(&psBits); in push_input_sc_codec()
Domx_vdec_msm8974.cpp7840 mp4StreamType psBits; in push_input_sc_codec() local
7841 psBits.data = pdest_frame->pBuffer + pdest_frame->nOffset; in push_input_sc_codec()
7842 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
7843 mp4_headerparser.parseHeader(&psBits); in push_input_sc_codec()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp85 bool MP4_Utils::parseHeader(mp4StreamType * psBits) in parseHeader() argument
92 m_posInfo.bytePtr = psBits->data; in parseHeader()
93 m_dataBeginPtr = psBits->data; in parseHeader()
103 m_posInfo.bytePtr = psBits->data; in parseHeader()
104 m_dataBeginPtr = psBits->data; in parseHeader()
113 m_posInfo.bytePtr = psBits->data; in parseHeader()
114 m_dataBeginPtr = psBits->data; in parseHeader()
117 psBits->numBytes, in parseHeader()
123 m_posInfo.bytePtr = psBits->data; in parseHeader()
130 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
[all …]
Domx_vdec_hevc.cpp5023 mp4StreamType psBits; in empty_this_buffer_proxy() local
5024 psBits.data = (unsigned char *)(buffer->pBuffer + buffer->nOffset); in empty_this_buffer_proxy()
5025 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
5026 mp4_headerparser.parseHeader(&psBits); in empty_this_buffer_proxy()
6355 mp4StreamType psBits; in push_input_sc_codec() local
6356 psBits.data = pdest_frame->pBuffer + pdest_frame->nOffset; in push_input_sc_codec()
6357 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
6358 mp4_headerparser.parseHeader(&psBits); in push_input_sc_codec()
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/
Dti_m4v_config_parser.h94 mp4StreamType *psBits,
111 mp4StreamType *psBits,
128 int16 DecodeSPS(mp4StreamType *psBits, int32 *width, int32 *height, int32 *display_width, int32 *di…
130 int32 DecodeHRD(mp4StreamType *psBits);
131 int32 DecodeVUI(mp4StreamType *psBits);
133 int32 DecodePPS(mp4StreamType *psBits, uint32 *entropy_coding_mode_flag);
135 void ue_v(mp4StreamType *psBits, uint32 *codeNum);
136 void se_v(mp4StreamType *psBits, int32 *value);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dmp4_utils.cpp88 bool MP4_Utils::parseHeader(mp4StreamType * psBits) { in parseHeader() argument
94 m_posInfo.bytePtr = psBits->data; in parseHeader()
95 m_dataBeginPtr = psBits->data; in parseHeader()
104 m_posInfo.bytePtr = psBits->data; in parseHeader()
105 m_dataBeginPtr = psBits->data; in parseHeader()
113 m_posInfo.bytePtr = psBits->data; in parseHeader()
114 m_dataBeginPtr = psBits->data; in parseHeader()
117 psBits->numBytes, in parseHeader()
122 m_posInfo.bytePtr = psBits->data; in parseHeader()
129 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
[all …]
Domx_vdec_copper.cpp5249 mp4StreamType psBits; in empty_this_buffer_proxy() local
5250 psBits.data = (unsigned char *)(buffer->pBuffer + buffer->nOffset); in empty_this_buffer_proxy()
5251 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
5252 mp4_headerparser.parseHeader(&psBits); in empty_this_buffer_proxy()
6640 mp4StreamType psBits; in push_input_sc_codec() local
6641 psBits.data = pdest_frame->pBuffer + pdest_frame->nOffset; in push_input_sc_codec()
6642 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
6643 mp4_headerparser.parseHeader(&psBits); in push_input_sc_codec()
Domx_vdec.cpp5643 mp4StreamType psBits; in empty_this_buffer_proxy() local
5644 psBits.data = (unsigned char *)(buffer->pBuffer + buffer->nOffset); in empty_this_buffer_proxy()
5645 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
5646 mp4_headerparser.parseHeader(&psBits); in empty_this_buffer_proxy()
7116 mp4StreamType psBits; in push_input_sc_codec() local
7117 psBits.data = pdest_frame->pBuffer + pdest_frame->nOffset; in push_input_sc_codec()
7118 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
7119 mp4_headerparser.parseHeader(&psBits); in push_input_sc_codec()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h164 int16 populateHeightNWidthFromShortHeader(mp4StreamType * psBits);
165 bool parseHeader(mp4StreamType * psBits);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h164 int16 populateHeightNWidthFromShortHeader(mp4StreamType * psBits);
165 bool parseHeader(mp4StreamType * psBits);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dmp4_utils.h167 int16 populateHeightNWidthFromShortHeader(mp4StreamType * psBits);
168 bool parseHeader(mp4StreamType * psBits);