/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_decoder.c | 82 pStorage pointer to initialized storage structure 89 u32 h264bsdInit(storage_t *pStorage, u32 noOutputReordering) argument 96 ASSERT(pStorage); 98 h264bsdInitStorage(pStorage); 104 pStorage->mbLayer = (macroblockLayer_t*)H264SwDecMalloc(size); 105 if (!pStorage->mbLayer) 109 pStorage->noReordering = HANTRO_TRUE; 130 pStorage pointer to storage data structure 151 u32 h264bsdDecode(storage_t *pStorage, u8 *byteStrm, u32 len, u32 picId, argument 168 ASSERT(pStorage); 533 h264bsdShutdown(storage_t *pStorage) argument 596 h264bsdNextOutputPicture(storage_t *pStorage, u32 *picId, u32 *isIdrPic, u32 *numErrMbs) argument 641 h264bsdPicWidth(storage_t *pStorage) argument 676 h264bsdPicHeight(storage_t *pStorage) argument 704 h264bsdFlushBuffer(storage_t *pStorage) argument 734 h264bsdCheckValidParamSets(storage_t *pStorage) argument 763 h264bsdVideoRange(storage_t *pStorage) argument 798 h264bsdMatrixCoefficients(storage_t *pStorage) argument 840 h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) argument 889 h264bsdSampleAspectRatio(storage_t *pStorage, u32 *sarWidth, u32 *sarHeight) argument 954 h264bsdProfile(storage_t *pStorage) argument [all...] |
H A D | h264bsd_storage.c | 79 pStorage initialized data stored here 86 void h264bsdInitStorage(storage_t *pStorage) argument 93 ASSERT(pStorage); 95 H264SwDecMemset(pStorage, 0, sizeof(storage_t)); 97 pStorage->activeSpsId = MAX_NUM_SEQ_PARAM_SETS; 98 pStorage->activePpsId = MAX_NUM_PIC_PARAM_SETS; 100 pStorage->aub->firstCallFlag = HANTRO_TRUE; 113 pStorage pointer to storage structure 126 u32 h264bsdStoreSeqParamSet(storage_t *pStorage, seqParamSet_t *pSeqParamSet) argument 135 ASSERT(pStorage); 209 h264bsdStorePicParamSet(storage_t *pStorage, picParamSet_t *pPicParamSet) argument 296 h264bsdActivateParamSets(storage_t *pStorage, u32 ppsId, u32 isIdr) argument 440 h264bsdResetStorage(storage_t *pStorage) argument 485 h264bsdIsStartOfPicture(storage_t *pStorage) argument 527 h264bsdIsEndOfPicture(storage_t *pStorage) argument 575 h264bsdComputeSliceGroupMap(storage_t *pStorage, u32 sliceGroupChangeCycle) argument 862 h264bsdValidParamSets(storage_t *pStorage) argument [all...] |
H A D | h264bsd_slice_data.c | 69 pStorage pointer to storage structure 76 pStorage mbStorage structure of each processed macroblock 85 u32 h264bsdDecodeSliceData(strmData_t *pStrmData, storage_t *pStorage, argument 106 ASSERT(pStorage); 107 ASSERT(pSliceHeader->firstMbInSlice < pStorage->picSizeInMbs); 112 mbLayer = pStorage->mbLayer; 120 pStorage->slice->sliceId++; 124 pStorage->slice->lastMbAddr = 0; 129 qpY = (i32)pStorage->activePps->picInitQp + pSliceHeader->sliceQpDelta; 133 if (!pSliceHeader->redundantPicCnt && pStorage 297 h264bsdMarkSliceCorrupted(storage_t *pStorage, u32 firstMbInSlice) argument [all...] |
H A D | h264bsd_decoder.h | 60 u32 h264bsdInit(storage_t *pStorage, u32 noOutputReordering); 61 u32 h264bsdDecode(storage_t *pStorage, u8 *byteStrm, u32 len, u32 picId, 63 void h264bsdShutdown(storage_t *pStorage); 65 u8* h264bsdNextOutputPicture(storage_t *pStorage, u32 *picId, u32 *isIdrPic, 68 u32 h264bsdPicWidth(storage_t *pStorage); 69 u32 h264bsdPicHeight(storage_t *pStorage); 70 u32 h264bsdVideoRange(storage_t *pStorage); 71 u32 h264bsdMatrixCoefficients(storage_t *pStorage); 72 void h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, 74 void h264bsdSampleAspectRatio(storage_t *pStorage, [all...] |
H A D | h264bsd_slice_data.h | 53 u32 h264bsdDecodeSliceData(strmData_t *pStrmData, storage_t *pStorage, 56 void h264bsdMarkSliceCorrupted(storage_t *pStorage, u32 firstMbInSlice);
|
H A D | h264bsd_conceal.h | 51 u32 h264bsdConceal(storage_t *pStorage, image_t *currImage, u32 sliceType);
|
H A D | h264bsd_storage.h | 155 void h264bsdInitStorage(storage_t *pStorage); 156 void h264bsdResetStorage(storage_t *pStorage); 157 u32 h264bsdIsStartOfPicture(storage_t *pStorage); 158 u32 h264bsdIsEndOfPicture(storage_t *pStorage); 159 u32 h264bsdStoreSeqParamSet(storage_t *pStorage, seqParamSet_t *pSeqParamSet); 160 u32 h264bsdStorePicParamSet(storage_t *pStorage, picParamSet_t *pPicParamSet); 161 u32 h264bsdActivateParamSets(storage_t *pStorage, u32 ppsId, u32 isIdr); 162 void h264bsdComputeSliceGroupMap(storage_t *pStorage, 171 u32 h264bsdValidParamSets(storage_t *pStorage);
|
H A D | H264SwDecApi.c | 203 storage_t *pStorage; local 213 pStorage = &(((decContainer_t *)decInst)->storage); 215 if (pStorage->activeSps == NULL || pStorage->activePps == NULL) 229 pDecInfo->picWidth = h264bsdPicWidth(pStorage) << 4; 230 pDecInfo->picHeight = h264bsdPicHeight(pStorage) << 4; 231 pDecInfo->videoRange = h264bsdVideoRange(pStorage); 232 pDecInfo->matrixCoefficients = h264bsdMatrixCoefficients(pStorage); 234 h264bsdCroppingParams(pStorage, 242 h264bsdSampleAspectRatio(pStorage, [all...] |
H A D | h264bsd_conceal.c | 111 pStorage pointer to storage structure 123 u32 h264bsdConceal(storage_t *pStorage, image_t *currImage, u32 sliceType) argument 136 ASSERT(pStorage); 146 if (IS_P_SLICE(sliceType) || (pStorage->intraConcealmentFlag != 0)) 151 refData = h264bsdGetRefPicData(pStorage->dpb, i); 160 while (i < pStorage->picSizeInMbs && !pStorage->mb[i].decoded) 172 if (i == pStorage->picSizeInMbs) 174 if ( (IS_I_SLICE(sliceType) && (pStorage->intraConcealmentFlag == 0)) || 180 pStorage [all...] |