/frameworks/base/media/libstagefright/codecs/avc/common/src/ |
H A D | dpb.cpp | 24 AVCDecPicBuffer *dpb = video->decPicBuf; local 35 dpb->fs[num_fs] = NULL; 49 if (dpb->decoded_picture_buffer) 51 avcHandle->CBAVC_Free(userData, (int)dpb->decoded_picture_buffer); 52 dpb->decoded_picture_buffer = NULL; 57 dpb->num_fs = (uint32)(MaxDPBX2[mapLev2Idx[level]] << 2) / (3 * FrameHeightInMbs * PicWidthInMbs) + 1; 58 if (dpb->num_fs > MAX_FS) 60 dpb->num_fs = MAX_FS; 63 if (video->currSeqParams->num_ref_frames + 1 > (uint32)dpb->num_fs) 65 dpb 111 AVCDecPicBuffer *dpb = video->decPicBuf; local 207 AVCDecPicBuffer *dpb = video->decPicBuf; local 234 AVCDecPicBuffer *dpb = video->decPicBuf; local 318 AVCDecPicBuffer *dpb = video->decPicBuf; local 344 AVCDecPicBuffer *dpb = video->decPicBuf; local 458 sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb) argument 523 adaptive_memory_marking(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, AVCSliceHeader *sliceHdr) argument 567 MemMgrCtrlOp1(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, int difference_of_pic_nums_minus1) argument 589 MemMgrCtrlOp2(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, int long_term_pic_num) argument 606 MemMgrCtrlOp3(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint difference_of_pic_nums_minus1, uint long_term_frame_idx) argument 640 MemMgrCtrlOp4(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint max_long_term_frame_idx_plus1) argument 661 MemMgrCtrlOp5(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb) argument 678 MemMgrCtrlOp6(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint long_term_frame_idx) argument 691 unmark_for_reference(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint idx) argument 710 unmark_long_term_frame_for_reference_by_frame_idx(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, uint long_term_frame_idx) argument [all...] |
H A D | reflist.cpp | 24 AVCDecPicBuffer *dpb = video->decPicBuf; local 40 for (i = 0; i < dpb->num_fs; i++) 42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) 45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) 47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; 51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; 53 dpb 357 AVCDecPicBuffer *dpb = video->decPicBuf; local 377 AVCDecPicBuffer *dpb = video->decPicBuf; local [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_inter_prediction.c | 68 dpbStorage_t *dpb); 70 dpbStorage_t *dpb); 72 dpbStorage_t *dpb); 74 dpbStorage_t *dpb); 182 dpb pointer to decoded picture buffer 198 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) 233 if (MvPrediction16x16(pMb, &pMbLayer->mbPred, dpb) != HANTRO_OK) 242 if ( MvPrediction16x8(pMb, &pMbLayer->mbPred, dpb) != HANTRO_OK) 256 if ( MvPrediction8x16(pMb, &pMbLayer->mbPred, dpb) != HANTRO_OK) 269 if ( MvPrediction8x8(pMb, &pMbLayer->subMbPred, dpb) ! 197 h264bsdInterPrediction(mbStorage_t *pMb, macroblockLayer_t *pMbLayer, dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) argument 360 h264bsdInterPrediction(mbStorage_t *pMb, macroblockLayer_t *pMbLayer, dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) argument 493 MvPrediction16x16(mbStorage_t *pMb, mbPred_t *mbPred, dpbStorage_t *dpb) argument 577 MvPrediction16x8(mbStorage_t *pMb, mbPred_t *mbPred, dpbStorage_t *dpb) argument 684 MvPrediction8x16(mbStorage_t *pMb, mbPred_t *mbPred, dpbStorage_t *dpb) argument 794 MvPrediction8x8(mbStorage_t *pMb, subMbPred_t *subMbPred, dpbStorage_t *dpb) argument [all...] |
H A D | h264bsd_storage.h | 114 dpbStorage_t dpb[1]; member in struct:__anon921
|
H A D | h264bsd_dpb.c | 91 static u32 Mmcop1(dpbStorage_t *dpb, u32 currPicNum, u32 differenceOfPicNums); 93 static u32 Mmcop2(dpbStorage_t *dpb, u32 longTermPicNum); 95 static u32 Mmcop3(dpbStorage_t *dpb, u32 currPicNum, u32 differenceOfPicNums, 98 static u32 Mmcop4(dpbStorage_t *dpb, u32 maxLongTermFrameIdx); 100 static u32 Mmcop5(dpbStorage_t *dpb); 102 static u32 Mmcop6(dpbStorage_t *dpb, u32 frameNum, i32 picOrderCnt, 105 static u32 SlidingWindowRefPicMarking(dpbStorage_t *dpb); 107 static i32 FindDpbPic(dpbStorage_t *dpb, i32 picNum, u32 isShortTerm); 109 static void SetPicNums(dpbStorage_t *dpb, u32 currFrameNum); 111 static dpbPicture_t* FindSmallestPicOrderCnt(dpbStorage_t *dpb); 224 h264bsdReorderRefPicList( dpbStorage_t *dpb, refPicListReordering_t *order, u32 currFrameNum, u32 numRefIdxActive) argument 321 Mmcop1(dpbStorage_t *dpb, u32 currPicNum, u32 differenceOfPicNums) argument 361 Mmcop2(dpbStorage_t *dpb, u32 longTermPicNum) argument 400 Mmcop3(dpbStorage_t *dpb, u32 currPicNum, u32 differenceOfPicNums, u32 longTermFrameIdx) argument 459 Mmcop4(dpbStorage_t *dpb, u32 maxLongTermFrameIdx) argument 501 Mmcop5(dpbStorage_t *dpb) argument 546 Mmcop6(dpbStorage_t *dpb, u32 frameNum, i32 picOrderCnt, u32 longTermFrameIdx) argument 628 h264bsdMarkDecRefPic( dpbStorage_t *dpb, decRefPicMarking_t *mark, image_t *image, u32 frameNum, i32 picOrderCnt, u32 isIdr, u32 currentPicId, u32 numErrMbs) argument 846 h264bsdGetRefPicData(dpbStorage_t *dpb, u32 index) argument 877 h264bsdAllocateDpbImage(dpbStorage_t *dpb) argument 909 SlidingWindowRefPicMarking(dpbStorage_t *dpb) argument 980 h264bsdInitDpb( dpbStorage_t *dpb, u32 picSizeInMbs, u32 dpbSize, u32 maxRefFrames, u32 maxFrameNum, u32 noReordering) argument 1060 h264bsdResetDpb( dpbStorage_t *dpb, u32 picSizeInMbs, u32 dpbSize, u32 maxRefFrames, u32 maxFrameNum, u32 noReordering) argument 1104 h264bsdInitRefPicList(dpbStorage_t *dpb) argument 1132 FindDpbPic(dpbStorage_t *dpb, i32 picNum, u32 isShortTerm) argument 1189 SetPicNums(dpbStorage_t *dpb, u32 currFrameNum) argument 1244 h264bsdCheckGapsInFrameNum(dpbStorage_t *dpb, u32 frameNum, u32 isRefPic, u32 gapsAllowed) argument 1380 FindSmallestPicOrderCnt(dpbStorage_t *dpb) argument 1423 OutputPicture(dpbStorage_t *dpb) argument 1472 h264bsdDpbOutputPicture(dpbStorage_t *dpb) argument 1500 h264bsdFlushDpb(dpbStorage_t *dpb) argument 1523 h264bsdFreeDpb(dpbStorage_t *dpb) argument [all...] |
H A D | h264bsd_macroblock_layer.c | 948 dpb pointer to decoded picture buffer 965 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum, 1027 tmp = h264bsdInterPrediction(pMb, pMbLayer, dpb, mbNum, 1122 tmp = h264bsdInterPrediction(pMb, pMbLayer, dpb, mbNum, 964 h264bsdDecodeMacroblock(mbStorage_t *pMb, macroblockLayer_t *pMbLayer, image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum, u32 constrainedIntraPredFlag, u8* data) argument
|