Home
last modified time | relevance | path

Searched refs:pStrmData (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_stream.c72 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits) in h264bsdGetBits() argument
77 ASSERT(pStrmData); in h264bsdGetBits()
80 out = h264bsdShowBits32(pStrmData) >> (32 - numBits); in h264bsdGetBits()
82 if (h264bsdFlushBits(pStrmData, numBits) == HANTRO_OK) in h264bsdGetBits()
115 u32 h264bsdShowBits32(strmData_t *pStrmData) in h264bsdShowBits32() argument
122 ASSERT(pStrmData); in h264bsdShowBits32()
123 ASSERT(pStrmData->pStrmCurrPos); in h264bsdShowBits32()
124 ASSERT(pStrmData->bitPosInWord < 8); in h264bsdShowBits32()
125 ASSERT(pStrmData->bitPosInWord == in h264bsdShowBits32()
126 (pStrmData->strmBuffReadBits & 0x7)); in h264bsdShowBits32()
[all …]
Dh264bsd_sei.c77 strmData_t *pStrmData,
85 strmData_t *pStrmData,
94 strmData_t *pStrmData,
97 static u32 DecodeFillerPayload(strmData_t *pStrmData, u32 payloadSize);
100 strmData_t *pStrmData,
105 strmData_t *pStrmData,
110 strmData_t *pStrmData,
114 strmData_t *pStrmData,
119 strmData_t *pStrmData,
124 strmData_t *pStrmData,
[all …]
Dh264bsd_vui.c58 strmData_t *pStrmData,
80 u32 h264bsdDecodeVuiParameters(strmData_t *pStrmData, in h264bsdDecodeVuiParameters() argument
90 ASSERT(pStrmData); in h264bsdDecodeVuiParameters()
95 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeVuiParameters()
103 tmp = h264bsdGetBits(pStrmData, 8); in h264bsdDecodeVuiParameters()
110 tmp = h264bsdGetBits(pStrmData, 16); in h264bsdDecodeVuiParameters()
115 tmp = h264bsdGetBits(pStrmData, 16); in h264bsdDecodeVuiParameters()
122 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeVuiParameters()
130 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeVuiParameters()
137 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeVuiParameters()
[all …]
Dh264bsd_vlc.c103 u32 h264bsdDecodeExpGolombUnsigned(strmData_t *pStrmData, u32 *codeNum) in h264bsdDecodeExpGolombUnsigned() argument
112 ASSERT(pStrmData); in h264bsdDecodeExpGolombUnsigned()
115 bits = h264bsdShowBits32(pStrmData); in h264bsdDecodeExpGolombUnsigned()
120 h264bsdFlushBits(pStrmData, 1); in h264bsdDecodeExpGolombUnsigned()
127 if (h264bsdFlushBits(pStrmData, 3) == END_OF_STREAM) in h264bsdDecodeExpGolombUnsigned()
135 if (h264bsdFlushBits(pStrmData, 5) == END_OF_STREAM) in h264bsdDecodeExpGolombUnsigned()
143 if (h264bsdFlushBits(pStrmData, 7) == END_OF_STREAM) in h264bsdDecodeExpGolombUnsigned()
160 h264bsdFlushBits(pStrmData,32); in h264bsdDecodeExpGolombUnsigned()
161 bits = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeExpGolombUnsigned()
166 bits = h264bsdShowBits32(pStrmData); in h264bsdDecodeExpGolombUnsigned()
[all …]
Dh264bsd_pic_param_set.c89 u32 h264bsdDecodePicParamSet(strmData_t *pStrmData, picParamSet_t *pPicParamSet) in h264bsdDecodePicParamSet() argument
99 ASSERT(pStrmData); in h264bsdDecodePicParamSet()
105 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, in h264bsdDecodePicParamSet()
115 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, in h264bsdDecodePicParamSet()
126 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodePicParamSet()
133 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodePicParamSet()
139 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodePicParamSet()
152 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, in h264bsdDecodePicParamSet()
170 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodePicParamSet()
188 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodePicParamSet()
[all …]
Dh264bsd_seq_param_set.c83 u32 h264bsdDecodeSeqParamSet(strmData_t *pStrmData, seqParamSet_t *pSeqParamSet) in h264bsdDecodeSeqParamSet() argument
92 ASSERT(pStrmData); in h264bsdDecodeSeqParamSet()
98 tmp = h264bsdGetBits(pStrmData, 8); in h264bsdDecodeSeqParamSet()
108 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeSeqParamSet()
110 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeSeqParamSet()
112 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeSeqParamSet()
118 tmp = h264bsdGetBits(pStrmData, 5); in h264bsdDecodeSeqParamSet()
122 tmp = h264bsdGetBits(pStrmData, 8); in h264bsdDecodeSeqParamSet()
127 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, in h264bsdDecodeSeqParamSet()
138 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodeSeqParamSet()
[all …]
Dh264bsd_byte_stream.c80 u32 h264bsdExtractNalUnit(u8 *pByteStream, u32 len, strmData_t *pStrmData, in h264bsdExtractNalUnit() argument
99 ASSERT(pStrmData); in h264bsdExtractNalUnit()
150 pStrmData->strmBuffSize = in h264bsdExtractNalUnit()
164 pStrmData->strmBuffSize = byteCount - initByteCount - zeroCount; in h264bsdExtractNalUnit()
175 pStrmData->strmBuffSize = len; in h264bsdExtractNalUnit()
179 pStrmData->pStrmBuffStart = pByteStream + initByteCount; in h264bsdExtractNalUnit()
180 pStrmData->pStrmCurrPos = pStrmData->pStrmBuffStart; in h264bsdExtractNalUnit()
181 pStrmData->bitPosInWord = 0; in h264bsdExtractNalUnit()
182 pStrmData->strmBuffReadBits = 0; in h264bsdExtractNalUnit()
185 *readBytes = pStrmData->strmBuffSize + initByteCount + zeroCount; in h264bsdExtractNalUnit()
[all …]
Dh264bsd_slice_header.c70 static u32 DecRefPicMarking(strmData_t *pStrmData,
97 u32 h264bsdDecodeSliceHeader(strmData_t *pStrmData, sliceHeader_t *pSliceHeader, in h264bsdDecodeSliceHeader() argument
110 ASSERT(pStrmData); in h264bsdDecodeSliceHeader()
121 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodeSliceHeader()
131 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodeSliceHeader()
146 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodeSliceHeader()
162 tmp = h264bsdGetBits(pStrmData, i); in h264bsdDecodeSliceHeader()
174 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodeSliceHeader()
193 tmp = h264bsdGetBits(pStrmData, i); in h264bsdDecodeSliceHeader()
200 tmp = h264bsdDecodeExpGolombSigned(pStrmData, &itmp); in h264bsdDecodeSliceHeader()
[all …]
Dh264bsd_macroblock_layer.c85 static u32 DecodeMbPred(strmData_t *pStrmData, mbPred_t *pMbPred,
87 static u32 DecodeSubMbPred(strmData_t *pStrmData, subMbPred_t *pSubMbPred,
89 static u32 DecodeResidual(strmData_t *pStrmData, residual_t *pResidual,
133 u32 h264bsdDecodeMacroblockLayer(strmData_t *pStrmData, in h264bsdDecodeMacroblockLayer() argument
146 ASSERT(pStrmData); in h264bsdDecodeMacroblockLayer()
155 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value); in h264bsdDecodeMacroblockLayer()
173 while( !h264bsdIsByteAligned(pStrmData) ) in h264bsdDecodeMacroblockLayer()
176 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeMacroblockLayer()
184 value = h264bsdGetBits(pStrmData, 8); in h264bsdDecodeMacroblockLayer()
196 tmp = DecodeSubMbPred(pStrmData, &pMbLayer->subMbPred, in h264bsdDecodeMacroblockLayer()
[all …]
Dh264bsd_util.c123 u32 h264bsdRbspTrailingBits(strmData_t *pStrmData) in h264bsdRbspTrailingBits() argument
133 ASSERT(pStrmData); in h264bsdRbspTrailingBits()
134 ASSERT(pStrmData->bitPosInWord < 8); in h264bsdRbspTrailingBits()
136 stuffingLength = 8 - pStrmData->bitPosInWord; in h264bsdRbspTrailingBits()
138 stuffing = h264bsdGetBits(pStrmData, stuffingLength); in h264bsdRbspTrailingBits()
171 u32 h264bsdMoreRbspData(strmData_t *pStrmData) in h264bsdMoreRbspData() argument
180 ASSERT(pStrmData); in h264bsdMoreRbspData()
181 ASSERT(pStrmData->strmBuffReadBits <= 8 * pStrmData->strmBuffSize); in h264bsdMoreRbspData()
183 bits = pStrmData->strmBuffSize * 8 - pStrmData->strmBuffReadBits; in h264bsdMoreRbspData()
189 ((h264bsdShowBits32(pStrmData)>>(32-bits)) != (1ul << (bits-1))) ) in h264bsdMoreRbspData()
Dh264bsd_slice_header.h134 u32 h264bsdDecodeSliceHeader(strmData_t *pStrmData,
140 u32 h264bsdCheckPpsId(strmData_t *pStrmData, u32 *ppsId);
143 strmData_t *pStrmData,
148 strmData_t *pStrmData,
154 strmData_t *pStrmData,
160 strmData_t *pStrmData,
166 strmData_t *pStrmData,
173 strmData_t *pStrmData,
180 const strmData_t * pStrmData,
Dh264bsd_nal_unit.c68 u32 h264bsdDecodeNalUnit(strmData_t *pStrmData, nalUnit_t *pNalUnit) in h264bsdDecodeNalUnit() argument
77 ASSERT(pStrmData); in h264bsdDecodeNalUnit()
79 ASSERT(pStrmData->bitPosInWord == 0); in h264bsdDecodeNalUnit()
82 tmp = h264bsdGetBits(pStrmData, 1); in h264bsdDecodeNalUnit()
88 tmp = h264bsdGetBits(pStrmData, 2); in h264bsdDecodeNalUnit()
91 tmp = h264bsdGetBits(pStrmData, 5); in h264bsdDecodeNalUnit()
Dh264bsd_vlc.h52 u32 h264bsdDecodeExpGolombUnsigned(strmData_t *pStrmData, u32 *value);
54 u32 h264bsdDecodeExpGolombSigned(strmData_t *pStrmData, i32 *value);
56 u32 h264bsdDecodeExpGolombMapped(strmData_t *pStrmData, u32 *value,
59 u32 h264bsdDecodeExpGolombTruncated(strmData_t *pStrmData, u32 *value,
Dh264bsd_stream.h58 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits);
60 u32 h264bsdShowBits32(strmData_t *pStrmData);
62 u32 h264bsdFlushBits(strmData_t *pStrmData, u32 numBits);
Dh264bsd_cavlc.c327 value = h264bsdShowBits32(pStrmData); \
336 if(h264bsdFlushBits(pStrmData,32-bits) == END_OF_STREAM) \
338 value = h264bsdShowBits32(pStrmData); \
357 if(h264bsdFlushBits(pStrmData,32-bits) == END_OF_STREAM) \
359 value = h264bsdShowBits32(pStrmData); \
749 strmData_t *pStrmData, in h264bsdDecodeResidualBlockCavlc() argument
767 ASSERT(pStrmData); in h264bsdDecodeResidualBlockCavlc()
911 if (h264bsdFlushBits(pStrmData, 32-bufferBits) != HANTRO_OK) in h264bsdDecodeResidualBlockCavlc()
Dh264bsd_slice_data.c85 u32 h264bsdDecodeSliceData(strmData_t *pStrmData, storage_t *pStorage, in h264bsdDecodeSliceData() argument
104 ASSERT(pStrmData); in h264bsdDecodeSliceData()
146 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &skipRun); in h264bsdDecodeSliceData()
174 tmp = h264bsdDecodeMacroblockLayer(pStrmData, mbLayer, in h264bsdDecodeSliceData()
201 moreMbs = (h264bsdMoreRbspData(pStrmData) || skipRun) ? in h264bsdDecodeSliceData()
Dh264bsd_byte_stream.h50 u32 h264bsdExtractNalUnit(u8 *pByteStream, u32 len, strmData_t *pStrmData,
Dh264bsd_cavlc.h52 strmData_t *pStrmData,
Dh264bsd_slice_data.h53 u32 h264bsdDecodeSliceData(strmData_t *pStrmData, storage_t *pStorage,
Dh264bsd_nal_unit.h73 u32 h264bsdDecodeNalUnit(strmData_t *pStrmData, nalUnit_t *pNalUnit);
Dh264bsd_pic_param_set.h73 u32 h264bsdDecodePicParamSet(strmData_t *pStrmData,
Dh264bsd_seq_param_set.h80 u32 h264bsdDecodeSeqParamSet(strmData_t *pStrmData,
Dh264bsd_vui.h126 u32 h264bsdDecodeVuiParameters(strmData_t *pStrmData,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
Dh264bsdFlushBits.S25 #define pStrmData r0 macro
52 LDR readBits, [pStrmData, #0x10]
53 LDR strmBuffSize, [pStrmData, #0xC]
58 STR readBits, [pStrmData, #0x10]
59 STR bitPosInWord, [pStrmData, #0x8]
61 LDR pStrmBuffStart, [pStrmData, #0x0]
68 STR pStrmCurrPos, [pStrmData, #0x4]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
Dh264bsdFlushBits.s25 pStrmData RN 0 label
54 LDR readBits, [pStrmData, #0x10]
55 LDR strmBuffSize, [pStrmData, #0xC]
60 STR readBits, [pStrmData, #0x10]
61 STR bitPosInWord, [pStrmData, #0x8]
63 LDR pStrmBuffStart, [pStrmData, #0x0]
70 STR pStrmCurrPos, [pStrmData, #0x4]

12