/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
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); [all...] |
h264bsd_dpb.h | 77 /* structure to represent DPB */ 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); [all...] |
h264bsd_inter_prediction.h | 53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);
|
h264bsd_decoder.c | 244 h264bsdAllocateDpbImage(pStorage->dpb); 245 h264bsdInitRefPicList(pStorage->dpb); 372 (pStorage->dpb->noReordering) || 378 pStorage->dpb->flushed = 0; 382 h264bsdFlushDpb(pStorage->dpb); 409 tmp = h264bsdCheckGapsInFrameNum(pStorage->dpb, 422 h264bsdAllocateDpbImage(pStorage->dpb); 433 h264bsdInitRefPicList(pStorage->dpb); 434 tmp = h264bsdReorderRefPicList(pStorage->dpb, 485 tmp = h264bsdMarkDecRefPic(pStorage->dpb, [all...] |
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) != HANTRO_OK [all...] |
H264SwDecApi.c | 389 /* Return HDRS_RDY after DPB flush caused by new SPS */ 413 if(pDecCont->storage.dpb->flushed && 414 pDecCont->storage.dpb->numOut != 415 pDecCont->storage.dpb->outIndex) 417 /* output first all DPB stored pictures 418 * DPB flush caused by new SPS */ 419 pDecCont->storage.dpb->flushed = 0;
|
h264bsd_storage.h | 113 /* DPB */ 114 dpbStorage_t dpb[1]; member in struct:__anon16737
|
h264bsd_macroblock_layer.h | 200 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum,
|
h264bsd_slice_data.c | 185 currImage, pStorage->dpb, &qpY, currMbAddr,
|
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, [all...] |
h264bsd_storage.c | 358 /* dpb output reordering disabled if 371 tmp = h264bsdResetDpb(pStorage->dpb,
|
h264bsd_conceal.c | 151 refData = h264bsdGetRefPicData(pStorage->dpb, i);
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
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; 55 /* need to allocate one extra frame for current frame, DPB only defines for reference frames */ 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 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 [all...] |
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->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap 357 AVCDecPicBuffer *dpb = video->decPicBuf; local 377 AVCDecPicBuffer *dpb = video->decPicBuf; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/ |
Android.mk | 6 src/dpb.cpp \
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
avclib_common.h | 48 /*---------- dpb.c --------------------*/ 72 This function frees the DPB memory. 121 \param "dpb" "Pointer to the AVCDecPicBuffer." 124 AVCStatus sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb); 131 \param "dpb" "Pointer to the AVCDecPicBuffer." 135 AVCStatus adaptive_memory_marking(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, AVCSliceHeader *sliceHdr); 141 \param "dpb" "Pointer to the AVCDecPicBuffer." 144 void MemMgrCtrlOp1(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, int difference_of_pic_nums_minus1); 149 \param "dpb" "Pointer to the AVCDecPicBuffer." 153 void MemMgrCtrlOp2(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, int long_term_pic_num) [all...] |