Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_group_map.c133 ASSERT(map); in DecodeInterleavedMap()
134 ASSERT(numSliceGroups >= 1 && numSliceGroups <= MAX_NUM_SLICE_GROUPS); in DecodeInterleavedMap()
135 ASSERT(runLength); in DecodeInterleavedMap()
143 ASSERT(runLength[group] <= picSize); in DecodeInterleavedMap()
187 ASSERT(map); in DecodeDispersedMap()
188 ASSERT(numSliceGroups >= 1 && numSliceGroups <= MAX_NUM_SLICE_GROUPS); in DecodeDispersedMap()
189 ASSERT(picWidth); in DecodeDispersedMap()
190 ASSERT(picHeight); in DecodeDispersedMap()
241 ASSERT(map); in DecodeForegroundLeftOverMap()
242 ASSERT(numSliceGroups >= 1 && numSliceGroups <= MAX_NUM_SLICE_GROUPS); in DecodeForegroundLeftOverMap()
[all …]
Dh264bsd_intra_prediction.c216 ASSERT(pMb); in h264bsdIntra16x16Prediction()
217 ASSERT(data); in h264bsdIntra16x16Prediction()
218 ASSERT(ptr); in h264bsdIntra16x16Prediction()
219 ASSERT(h264bsdPredModeIntra16x16(pMb->mbType) < 4); in h264bsdIntra16x16Prediction()
277 ASSERT(pMb); in h264bsdIntra4x4Prediction()
278 ASSERT(data); in h264bsdIntra4x4Prediction()
279 ASSERT(mbLayer); in h264bsdIntra4x4Prediction()
280 ASSERT(ptr); in h264bsdIntra4x4Prediction()
281 ASSERT(pMb->intra4x4PredMode[block] < 9); in h264bsdIntra4x4Prediction()
384 ASSERT(pMb); in h264bsdIntraChromaPrediction()
[all …]
Dh264bsd_slice_header.c108 ASSERT(pStrmData); in h264bsdDecodeSliceHeader()
109 ASSERT(pSliceHeader); in h264bsdDecodeSliceHeader()
110 ASSERT(pSeqParamSet); in h264bsdDecodeSliceHeader()
111 ASSERT(pPicParamSet); in h264bsdDecodeSliceHeader()
112 ASSERT( pNalUnit->nalUnitType == NAL_CODED_SLICE || in h264bsdDecodeSliceHeader()
418 ASSERT(picSizeInMbs); in NumSliceGroupChangeCycleBits()
419 ASSERT(sliceGroupChangeRate); in NumSliceGroupChangeCycleBits()
420 ASSERT(sliceGroupChangeRate <= picSizeInMbs); in NumSliceGroupChangeCycleBits()
479 ASSERT(pStrmData); in RefPicListReordering()
480 ASSERT(pRefPicListReordering); in RefPicListReordering()
[all …]
Dh264bsd_stream.c77 ASSERT(pStrmData); in h264bsdGetBits()
78 ASSERT(numBits < 32); in h264bsdGetBits()
122 ASSERT(pStrmData); in h264bsdShowBits32()
123 ASSERT(pStrmData->pStrmCurrPos); in h264bsdShowBits32()
124 ASSERT(pStrmData->bitPosInWord < 8); in h264bsdShowBits32()
125 ASSERT(pStrmData->bitPosInWord == in h264bsdShowBits32()
191 ASSERT(pStrmData); in h264bsdFlushBits()
192 ASSERT(pStrmData->pStrmBuffStart); in h264bsdFlushBits()
193 ASSERT(pStrmData->pStrmCurrPos); in h264bsdFlushBits()
194 ASSERT(pStrmData->bitPosInWord < 8); in h264bsdFlushBits()
[all …]
Dh264bsd_image.c93 ASSERT(image); in h264bsdWriteMacroblock()
94 ASSERT(data); in h264bsdWriteMacroblock()
95 ASSERT(!((u32)data&0x3)); in h264bsdWriteMacroblock()
104 ASSERT(!((u32)lum&0x3)); in h264bsdWriteMacroblock()
105 ASSERT(!((u32)cb&0x3)); in h264bsdWriteMacroblock()
106 ASSERT(!((u32)cr&0x3)); in h264bsdWriteMacroblock()
191 ASSERT(image); in h264bsdWriteOutputBlocks()
192 ASSERT(data); in h264bsdWriteOutputBlocks()
193 ASSERT(mbNum < image->width * image->height); in h264bsdWriteOutputBlocks()
194 ASSERT(!((u32)data&0x3)); in h264bsdWriteOutputBlocks()
[all …]
Dh264bsd_sei.c191 ASSERT(pStrmData); in h264bsdDecodeSeiMessage()
192 ASSERT(pSeiMessage); in h264bsdDecodeSeiMessage()
222 ASSERT(pSeqParamSet); in h264bsdDecodeSeiMessage()
234 ASSERT(pSeqParamSet->vuiParametersPresentFlag); in h264bsdDecodeSeiMessage()
288 ASSERT(pSeqParamSet); in h264bsdDecodeSeiMessage()
348 ASSERT(numSliceGroups); in h264bsdDecodeSeiMessage()
410 ASSERT(pStrmData); in DecodeBufferingPeriod()
411 ASSERT(pBufferingPeriod); in DecodeBufferingPeriod()
412 ASSERT(cpbCnt); in DecodeBufferingPeriod()
413 ASSERT(initialCpbRemovalDelayLength); in DecodeBufferingPeriod()
[all …]
Dh264bsd_dpb.c147 ASSERT(ptr1); in ComparePictures()
148 ASSERT(ptr2); in ComparePictures()
239 ASSERT(order); in h264bsdReorderRefPicList()
240 ASSERT(currFrameNum <= dpb->maxFrameNum); in h264bsdReorderRefPicList()
241 ASSERT(numRefIdxActive <= MAX_NUM_REF_IDX_L0_ACTIVE); in h264bsdReorderRefPicList()
330 ASSERT(currPicNum < dpb->maxFrameNum); in Mmcop1()
411 ASSERT(dpb); in Mmcop3()
412 ASSERT(currPicNum < dpb->maxFrameNum); in Mmcop3()
556 ASSERT(frameNum < dpb->maxFrameNum); in Mmcop6()
647 ASSERT(dpb); in h264bsdMarkDecRefPic()
[all …]
Dh264bsd_util.c90 ASSERT(length <= 32); in h264bsdCountLeadingZeros()
133 ASSERT(pStrmData); in h264bsdRbspTrailingBits()
134 ASSERT(pStrmData->bitPosInWord < 8); in h264bsdRbspTrailingBits()
180 ASSERT(pStrmData); in h264bsdMoreRbspData()
181 ASSERT(pStrmData->strmBuffReadBits <= 8 * pStrmData->strmBuffSize); in h264bsdMoreRbspData()
227 ASSERT(pSliceGroupMap); in h264bsdNextMbAddress()
228 ASSERT(picSizeInMbs); in h264bsdNextMbAddress()
229 ASSERT(currMbAddr < picSizeInMbs); in h264bsdNextMbAddress()
Dh264bsd_vlc.c112 ASSERT(pStrmData); in h264bsdDecodeExpGolombUnsigned()
113 ASSERT(codeNum); in h264bsdDecodeExpGolombUnsigned()
239 ASSERT(pStrmData); in h264bsdDecodeExpGolombSigned()
240 ASSERT(value); in h264bsdDecodeExpGolombSigned()
310 ASSERT(pStrmData); in h264bsdDecodeExpGolombMapped()
311 ASSERT(value); in h264bsdDecodeExpGolombMapped()
373 ASSERT(pStrmData); in h264bsdDecodeExpGolombTruncated()
374 ASSERT(value); in h264bsdDecodeExpGolombTruncated()
Dh264bsd_neighbour.c137 ASSERT(pMbStorage); in h264bsdInitMbNeighbours()
138 ASSERT(picWidth); in h264bsdInitMbNeighbours()
139 ASSERT(picWidth <= picSizeInMbs); in h264bsdInitMbNeighbours()
140 ASSERT(((picSizeInMbs / picWidth) * picWidth) == picSizeInMbs); in h264bsdInitMbNeighbours()
206 ASSERT((neighbour <= MB_CURR) || (neighbour == MB_NA)); in h264bsdGetNeighbourMb()
248 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockA()
279 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockB()
310 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockC()
341 ASSERT(blockIndex < 24); in h264bsdNeighbour4x4BlockD()
Dh264bsd_storage.c93 ASSERT(pStorage); in h264bsdInitStorage()
135 ASSERT(pStorage); in h264bsdStoreSeqParamSet()
136 ASSERT(pSeqParamSet); in h264bsdStoreSeqParamSet()
137 ASSERT(pSeqParamSet->seqParameterSetId < MAX_NUM_SEQ_PARAM_SETS); in h264bsdStoreSeqParamSet()
218 ASSERT(pStorage); in h264bsdStorePicParamSet()
219 ASSERT(pPicParamSet); in h264bsdStorePicParamSet()
220 ASSERT(pPicParamSet->picParameterSetId < MAX_NUM_PIC_PARAM_SETS); in h264bsdStorePicParamSet()
221 ASSERT(pPicParamSet->seqParameterSetId < MAX_NUM_SEQ_PARAM_SETS); in h264bsdStorePicParamSet()
306 ASSERT(pStorage); in h264bsdActivateParamSets()
307 ASSERT(ppsId < MAX_NUM_PIC_PARAM_SETS); in h264bsdActivateParamSets()
[all …]
Dh264bsd_reconstruct.c129 ASSERT(predPartChroma); in h264bsdInterpolateChromaHor()
130 ASSERT(chromaPartWidth); in h264bsdInterpolateChromaHor()
131 ASSERT(chromaPartHeight); in h264bsdInterpolateChromaHor()
132 ASSERT(xFrac < 8); in h264bsdInterpolateChromaHor()
133 ASSERT(pRef); in h264bsdInterpolateChromaHor()
225 ASSERT(predPartChroma); in h264bsdInterpolateChromaVer()
226 ASSERT(chromaPartWidth); in h264bsdInterpolateChromaVer()
227 ASSERT(chromaPartHeight); in h264bsdInterpolateChromaVer()
228 ASSERT(yFrac < 8); in h264bsdInterpolateChromaVer()
229 ASSERT(pRef); in h264bsdInterpolateChromaVer()
[all …]
Dh264bsd_decoder.c96 ASSERT(pStorage); in h264bsdInit()
168 ASSERT(pStorage); in h264bsdDecode()
169 ASSERT(byteStrm); in h264bsdDecode()
170 ASSERT(len); in h264bsdDecode()
171 ASSERT(readBytes); in h264bsdDecode()
318 ASSERT(tmp == HANTRO_OK); in h264bsdDecode()
542 ASSERT(pStorage); in h264bsdShutdown()
606 ASSERT(pStorage); in h264bsdNextOutputPicture()
648 ASSERT(pStorage); in h264bsdPicWidth()
683 ASSERT(pStorage); in h264bsdPicHeight()
[all …]
Dh264bsd_slice_data.c104 ASSERT(pStrmData); in h264bsdDecodeSliceData()
105 ASSERT(pSliceHeader); in h264bsdDecodeSliceData()
106 ASSERT(pStorage); in h264bsdDecodeSliceData()
107 ASSERT(pSliceHeader->firstMbInSlice < pStorage->picSizeInMbs); in h264bsdDecodeSliceData()
308 ASSERT(pStorage); in h264bsdMarkSliceCorrupted()
309 ASSERT(firstMbInSlice < pStorage->picSizeInMbs); in h264bsdMarkSliceCorrupted()
319 ASSERT(pStorage->mb[pStorage->slice->lastMbAddr].sliceId == sliceId); in h264bsdMarkSliceCorrupted()
Dh264bsd_deblocking.c243 ASSERT(mb && mb->mbA); in IsSliceBoundaryOnLeft()
268 ASSERT(mb && mb->mbB); in IsSliceBoundaryOnTop()
297 ASSERT(mb); in GetMbFilteringFlags()
591 ASSERT(image); in h264bsdFilterPicture()
592 ASSERT(mb); in h264bsdFilterPicture()
593 ASSERT(image->data); in h264bsdFilterPicture()
594 ASSERT(image->width); in h264bsdFilterPicture()
595 ASSERT(image->height); in h264bsdFilterPicture()
666 ASSERT(data); in FilterVerLumaEdge()
667 ASSERT(bS && bS <= 4); in FilterVerLumaEdge()
[all …]
Dh264bsd_macroblock_layer.c146 ASSERT(pStrmData); in h264bsdDecodeMacroblockLayer()
147 ASSERT(pMbLayer); in h264bsdDecodeMacroblockLayer()
261 ASSERT(mbType <= 31); in h264bsdMbPartPredMode()
289 ASSERT(h264bsdMbPartPredMode(mbType) == PRED_MODE_INTER); in h264bsdNumMbPart()
325 ASSERT(subMbType <= P_L0_4x4); in h264bsdNumSubMbPart()
364 ASSERT(pStrmData); in DecodeMbPred()
365 ASSERT(pMbPred); in DecodeMbPred()
452 ASSERT(pStrmData); in DecodeSubMbPred()
453 ASSERT(pSubMbPred); in DecodeSubMbPred()
454 ASSERT(h264bsdMbPartPredMode(mbType) == PRED_MODE_INTER); in DecodeSubMbPred()
[all …]
Dh264bsd_nal_unit.c77 ASSERT(pStrmData); in h264bsdDecodeNalUnit()
78 ASSERT(pNalUnit); in h264bsdDecodeNalUnit()
79 ASSERT(pStrmData->bitPosInWord == 0); in h264bsdDecodeNalUnit()
Dh264bsd_byte_stream.c96 ASSERT(pByteStream); in h264bsdExtractNalUnit()
97 ASSERT(len); in h264bsdExtractNalUnit()
98 ASSERT(len < BYTE_STREAM_ERROR); in h264bsdExtractNalUnit()
99 ASSERT(pStrmData); in h264bsdExtractNalUnit()
Dh264bsd_cavlc.c406 ASSERT(nc <= 16 || nc == (u32)(-1)); in DecodeCoeffToken()
547 ASSERT(totalCoeff); in DecodeTotalZeros()
551 ASSERT(totalCoeff < 16); in DecodeTotalZeros()
619 ASSERT(totalCoeff < 4); in DecodeTotalZeros()
767 ASSERT(pStrmData); in h264bsdDecodeResidualBlockCavlc()
768 ASSERT(coeffLevel); in h264bsdDecodeResidualBlockCavlc()
769 ASSERT(nc > -2); in h264bsdDecodeResidualBlockCavlc()
770 ASSERT(maxNumCoeff == 4 || maxNumCoeff == 15 || maxNumCoeff == 16); in h264bsdDecodeResidualBlockCavlc()
771 ASSERT(VLC_NOT_FOUND != END_OF_STREAM); in h264bsdDecodeResidualBlockCavlc()
Dh264bsd_pic_order_cnt.c94 ASSERT(poc); in h264bsdDecodePicOrderCnt()
95 ASSERT(sps); in h264bsdDecodePicOrderCnt()
96 ASSERT(pSliceHeader); in h264bsdDecodePicOrderCnt()
97 ASSERT(pNalUnit); in h264bsdDecodePicOrderCnt()
98 ASSERT(sps->picOrderCntType <= 2); in h264bsdDecodePicOrderCnt()
/frameworks/av/services/camera/tests/CameraServiceTest/
DCameraServiceTest.cpp66 #define ASSERT(e) \ macro
212 default: ASSERT(0); break; in test()
220 ASSERT(0); in assertTest()
270 ASSERT(mReleaser != NULL); in dataCallback()
385 ASSERT(sm != 0); in getHolder()
387 ASSERT(binder != 0); in getHolder()
389 ASSERT(holder != 0); in getHolder()
413 ASSERT(sm != 0); in getCameraService()
415 ASSERT(binder != 0); in getCameraService()
417 ASSERT(cs != 0); in getCameraService()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
DarmCOMM_BitDec_s.h159 ASSERT ($N>=1):LAND:($N<=8)
184 ASSERT ($N >= 1):LAND:($N <= 16)
207 ASSERT ($N>=1):LAND:($N<=8)
235 ASSERT ($N>=1):LAND:($N<=8)
265 ASSERT ($N>=1):LAND:($N<=16)
266 ASSERT $Symbol<>$T1
507 ASSERT (1<=$S0):LAND:($S0<=8)
508 ASSERT (1<=$S1):LAND:($S1<=$S0)
DarmCOMM_s.h227 ASSERT "$s"="":LOR:"$s"="L"
283 ASSERT :LNOT:_InFunc variable
315 ASSERT :LNOT:_InFunc variable
324 ASSERT :LNOT:_InFunc variable
336 ASSERT :LNOT:_InFunc variable
348 ASSERT :LNOT:_InFunc variable
363 ASSERT :LNOT:_InFunc variable
377 ASSERT :LNOT:_InFunc variable
394 ASSERT _InFunc
468 ASSERT (_Offset:AND:($a-1))=0
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
DarmCOMM_BitDec_s.h159 ASSERT ($N>=1):LAND:($N<=8)
184 ASSERT ($N >= 1):LAND:($N <= 16)
207 ASSERT ($N>=1):LAND:($N<=8)
235 ASSERT ($N>=1):LAND:($N<=8)
265 ASSERT ($N>=1):LAND:($N<=16)
266 ASSERT $Symbol<>$T1
507 ASSERT (1<=$S0):LAND:($S0<=8)
508 ASSERT (1<=$S1):LAND:($S1<=$S0)
DarmCOMM_s.h230 ASSERT "$s"="":LOR:"$s"="L"
286 ASSERT :LNOT:_InFunc variable
318 ASSERT :LNOT:_InFunc variable
327 ASSERT :LNOT:_InFunc variable
339 ASSERT :LNOT:_InFunc variable
351 ASSERT :LNOT:_InFunc variable
366 ASSERT :LNOT:_InFunc variable
380 ASSERT :LNOT:_InFunc variable
397 ASSERT _InFunc
471 ASSERT (_Offset:AND:($a-1))=0
[all …]

12