/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_dpb.c | 92 static u32 Mmcop1(dpbStorage_t *dpb, u32 currPicNum, u32 differenceOfPicNums); 94 static u32 Mmcop2(dpbStorage_t *dpb, u32 longTermPicNum); 96 static u32 Mmcop3(dpbStorage_t *dpb, u32 currPicNum, u32 differenceOfPicNums, 99 static u32 Mmcop4(dpbStorage_t *dpb, u32 maxLongTermFrameIdx); 101 static u32 Mmcop5(dpbStorage_t *dpb); 103 static u32 Mmcop6(dpbStorage_t *dpb, u32 frameNum, i32 picOrderCnt, 106 static u32 SlidingWindowRefPicMarking(dpbStorage_t *dpb); 108 static i32 FindDpbPic(dpbStorage_t *dpb, i32 picNum, u32 isShortTerm); 110 static void SetPicNums(dpbStorage_t *dpb, u32 currFrameNum); 112 static dpbPicture_t* FindSmallestPicOrderCnt(dpbStorage_t *dpb); [all …]
|
D | h264bsd_dpb.h | 102 dpbStorage_t *dpb, 110 dpbStorage_t *dpb, 117 void h264bsdInitRefPicList(dpbStorage_t *dpb); 119 u8* h264bsdAllocateDpbImage(dpbStorage_t *dpb); 121 u8* h264bsdGetRefPicData(dpbStorage_t *dpb, u32 index); 124 dpbStorage_t *dpb, 130 dpbStorage_t *dpb, 139 u32 h264bsdCheckGapsInFrameNum(dpbStorage_t *dpb, u32 frameNum, u32 isRefPic, 142 dpbOutPicture_t* h264bsdDpbOutputPicture(dpbStorage_t *dpb); 144 void h264bsdFlushDpb(dpbStorage_t *dpb); [all …]
|
D | h264bsd_decoder.c | 244 h264bsdAllocateDpbImage(pStorage->dpb); in h264bsdDecode() 245 h264bsdInitRefPicList(pStorage->dpb); in h264bsdDecode() 372 (pStorage->dpb->noReordering) || in h264bsdDecode() 378 pStorage->dpb->flushed = 0; in h264bsdDecode() 382 h264bsdFlushDpb(pStorage->dpb); in h264bsdDecode() 409 tmp = h264bsdCheckGapsInFrameNum(pStorage->dpb, in h264bsdDecode() 422 h264bsdAllocateDpbImage(pStorage->dpb); in h264bsdDecode() 433 h264bsdInitRefPicList(pStorage->dpb); in h264bsdDecode() 434 tmp = h264bsdReorderRefPicList(pStorage->dpb, in h264bsdDecode() 485 tmp = h264bsdMarkDecRefPic(pStorage->dpb, in h264bsdDecode() [all …]
|
D | h264bsd_inter_prediction.c | 68 dpbStorage_t *dpb); 70 dpbStorage_t *dpb); 72 dpbStorage_t *dpb); 74 dpbStorage_t *dpb); 198 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) in h264bsdInterPrediction() argument 233 if (MvPrediction16x16(pMb, &pMbLayer->mbPred, dpb) != HANTRO_OK) in h264bsdInterPrediction() 242 if ( MvPrediction16x8(pMb, &pMbLayer->mbPred, dpb) != HANTRO_OK) in h264bsdInterPrediction() 256 if ( MvPrediction8x16(pMb, &pMbLayer->mbPred, dpb) != HANTRO_OK) in h264bsdInterPrediction() 269 if ( MvPrediction8x8(pMb, &pMbLayer->subMbPred, dpb) != HANTRO_OK) in h264bsdInterPrediction() 361 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) in h264bsdInterPrediction() argument [all …]
|
D | H264SwDecApi.c | 424 if(pDecCont->storage.dpb->flushed && in H264SwDecDecode() 425 pDecCont->storage.dpb->numOut != in H264SwDecDecode() 426 pDecCont->storage.dpb->outIndex) in H264SwDecDecode() 430 pDecCont->storage.dpb->flushed = 0; in H264SwDecDecode()
|
D | h264bsd_inter_prediction.h | 53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);
|
D | h264bsd_storage.h | 114 dpbStorage_t dpb[1]; member
|
D | h264bsd_macroblock_layer.h | 200 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum,
|
D | h264bsd_slice_data.c | 185 currImage, pStorage->dpb, &qpY, currMbAddr, in h264bsdDecodeSliceData()
|
D | h264bsd_macroblock_layer.c | 965 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum, in h264bsdDecodeMacroblock() argument 1027 tmp = h264bsdInterPrediction(pMb, pMbLayer, dpb, mbNum, in h264bsdDecodeMacroblock() 1122 tmp = h264bsdInterPrediction(pMb, pMbLayer, dpb, mbNum, in h264bsdDecodeMacroblock()
|
D | h264bsd_storage.c | 389 tmp = h264bsdResetDpb(pStorage->dpb, in h264bsdActivateParamSets()
|
D | h264bsd_conceal.c | 151 refData = h264bsdGetRefPicData(pStorage->dpb, i); in h264bsdConceal()
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
D | dpb.cpp | 24 AVCDecPicBuffer *dpb = video->decPicBuf; in InitDPB() local 35 dpb->fs[num_fs] = NULL; in InitDPB() 49 if (dpb->decoded_picture_buffer) in InitDPB() 51 avcHandle->CBAVC_Free(userData, (int)dpb->decoded_picture_buffer); in InitDPB() 52 dpb->decoded_picture_buffer = NULL; in InitDPB() 57 …dpb->num_fs = (uint32)(MaxDPBX2[mapLev2Idx[level]] << 2) / (3 * FrameHeightInMbs * PicWidthInMbs) … in InitDPB() 58 if (dpb->num_fs > MAX_FS) in InitDPB() 60 dpb->num_fs = MAX_FS; in InitDPB() 63 if (video->currSeqParams->num_ref_frames + 1 > (uint32)dpb->num_fs) in InitDPB() 65 dpb->num_fs = video->currSeqParams->num_ref_frames + 1; in InitDPB() [all …]
|
D | reflist.cpp | 24 AVCDecPicBuffer *dpb = video->decPicBuf; in RefListInit() local 40 for (i = 0; i < dpb->num_fs; i++) in RefListInit() 42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) in RefListInit() 45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) in RefListInit() 47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; in RefListInit() 51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; in RefListInit() 53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit() 64 for (i = 0; i < dpb->num_fs; i++) in RefListInit() 66 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) in RefListInit() 69 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) in RefListInit() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
D | avclib_common.h | 124 AVCStatus sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb); 135 AVCStatus adaptive_memory_marking(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, … 144 void MemMgrCtrlOp1(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, int difference_… 153 void MemMgrCtrlOp2(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, int long_term_pic_num); 163 void MemMgrCtrlOp3(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint difference… 173 void MemMgrCtrlOp4(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint max_long_t… 182 void MemMgrCtrlOp5(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb); 191 void MemMgrCtrlOp6(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint long_term_… 198 void unmark_long_term_frame_for_reference_by_frame_idx(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, … 207 void unmark_long_term_field_for_reference_by_frame_idx(AVCCommonObj *video, AVCDecPicBuffer *dpb, u… [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/common/ |
D | Android.mk | 6 src/dpb.cpp \
|