Home
last modified time | relevance | path

Searched refs:dpb (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_dpb.c92 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 …]
Dh264bsd_dpb.h102 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 …]
Dh264bsd_decoder.c244 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 …]
Dh264bsd_inter_prediction.c68 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 …]
DH264SwDecApi.c424 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()
Dh264bsd_inter_prediction.h53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);
Dh264bsd_storage.h114 dpbStorage_t dpb[1]; member
Dh264bsd_macroblock_layer.h200 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum,
Dh264bsd_slice_data.c185 currImage, pStorage->dpb, &qpY, currMbAddr, in h264bsdDecodeSliceData()
Dh264bsd_macroblock_layer.c965 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()
Dh264bsd_storage.c389 tmp = h264bsdResetDpb(pStorage->dpb, in h264bsdActivateParamSets()
Dh264bsd_conceal.c151 refData = h264bsdGetRefPicData(pStorage->dpb, i); in h264bsdConceal()
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddpb.cpp24 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()
57dpb->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 …]
Dreflist.cpp24 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/
Davclib_common.h124 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/
DAndroid.mk6 src/dpb.cpp \