Home
last modified time | relevance | path

Searched refs:frameNum (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_pic_order_cnt.c112 pSliceHeader->frameNum != poc->prevFrameNum && in h264bsdDecodePicOrderCnt()
113 pSliceHeader->frameNum != ((poc->prevFrameNum + 1) % sps->maxFrameNum)) in h264bsdDecodePicOrderCnt()
131 } while (i != pSliceHeader->frameNum); in h264bsdDecodePicOrderCnt()
232 else if (poc->prevFrameNum > pSliceHeader->frameNum) in h264bsdDecodePicOrderCnt()
239 absFrameNum = frameNumOffset + pSliceHeader->frameNum; in h264bsdDecodePicOrderCnt()
294 poc->prevFrameNum = pSliceHeader->frameNum; in h264bsdDecodePicOrderCnt()
308 else if (poc->prevFrameNum > pSliceHeader->frameNum) in h264bsdDecodePicOrderCnt()
319 2 * (i32)(frameNumOffset + pSliceHeader->frameNum) - 1; in h264bsdDecodePicOrderCnt()
322 2 * (i32)(frameNumOffset + pSliceHeader->frameNum); in h264bsdDecodePicOrderCnt()
331 poc->prevFrameNum = pSliceHeader->frameNum; in h264bsdDecodePicOrderCnt()
Dh264bsd_dpb.c103 static u32 Mmcop6(dpbStorage_t *dpb, u32 frameNum, i32 picOrderCnt,
547 static u32 Mmcop6(dpbStorage_t *dpb, u32 frameNum, i32 picOrderCnt, in Mmcop6() argument
557 ASSERT(frameNum < dpb->maxFrameNum); in Mmcop6()
578 dpb->currentOut->frameNum = frameNum; in Mmcop6()
633 u32 frameNum, in h264bsdMarkDecRefPic() argument
650 ASSERT(!isIdr || (frameNum == 0 && picOrderCnt == 0)); in h264bsdMarkDecRefPic()
651 ASSERT(frameNum < dpb->maxFrameNum); in h264bsdMarkDecRefPic()
668 dpb->currentOut->frameNum = frameNum; in h264bsdMarkDecRefPic()
669 dpb->currentOut->picNum = (i32)frameNum; in h264bsdMarkDecRefPic()
703 dpb->currentOut->frameNum = 0; in h264bsdMarkDecRefPic()
[all …]
Dh264bsd_dpb.h60 u32 frameNum; member
133 u32 frameNum,
139 u32 h264bsdCheckGapsInFrameNum(dpbStorage_t *dpb, u32 frameNum, u32 isRefPic,
Dh264bsd_slice_header.h113 u32 frameNum; member
145 u32 *frameNum);
Dh264bsd_decoder.c410 pStorage->sliceHeader[1].frameNum, in h264bsdDecode()
436 pStorage->sliceHeader->frameNum, in h264bsdDecode()
487 pStorage->currImage, pStorage->sliceHeader->frameNum, in h264bsdDecode()
498 pStorage->currImage, pStorage->sliceHeader->frameNum, in h264bsdDecode()
Dh264bsd_storage.c652 u32 tmp, ppsId, frameNum, idrPicId, picOrderCntLsb; in h264bsdCheckAccessUnitBoundary() local
711 tmp = h264bsdCheckFrameNum(strm, sps->maxFrameNum, &frameNum); in h264bsdCheckAccessUnitBoundary()
715 if (storage->aub->prevFrameNum != frameNum) in h264bsdCheckAccessUnitBoundary()
717 storage->aub->prevFrameNum = frameNum; in h264bsdCheckAccessUnitBoundary()
Dh264bsd_slice_header.c170 pSliceHeader->frameNum = tmp; in h264bsdDecodeSliceHeader()
795 u32 *frameNum) in h264bsdCheckFrameNum() argument
807 ASSERT(frameNum); in h264bsdCheckFrameNum()
837 *frameNum = tmp; in h264bsdCheckFrameNum()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
Damrnb_enc_test.cpp65 int frameNum = 0; in encode() local
141 frameNum++; in encode()
142 printf(" Frames processed: %d\n", frameNum); in encode()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp50 …RCDetermineFrameNum(AVCEncObject *encvid, AVCRateControl *rateCtrl, uint32 modTime, uint *frameNum) in RCDetermineFrameNum() argument
71 *frameNum = 0; in RCDetermineFrameNum()
105 *frameNum = currFrameNum; in RCDetermineFrameNum()
108 …if ((*frameNum >= (uint)rateCtrl->idrPeriod && rateCtrl->idrPeriod > 0) || (*frameNum > video->Max… in RCDetermineFrameNum()
114 *frameNum -= rateCtrl->idrPeriod; in RCDetermineFrameNum()
119 *frameNum -= video->MaxFrameNum; in RCDetermineFrameNum()
125 encvid->prevProcFrameNum = *frameNum; in RCDetermineFrameNum()
Davcenc_api.cpp283 uint frameNum; in PVAVCEncSetInput() local
308 if (AVCENC_SUCCESS != RCDetermineFrameNum(encvid, rateCtrl, input->coding_timestamp, &frameNum)) in PVAVCEncSetInput()
318 encvid->currInput->coding_order = frameNum; in PVAVCEncSetInput()
Davcenc_lib.h677 …CDetermineFrameNum(AVCEncObject *encvid, AVCRateControl *rateCtrl, uint32 modTime, uint *frameNum);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_api.cpp2631 UInt frameNum[4], frameTick; in DetermineCodingLayer() local
2652 frameNum[i] = (UInt)((modTime - modTimeRef) * LayerFrameRate[i] + 500) / 1000; in DetermineCodingLayer()
2655 video->prevFrameNum[i] = frameNum[i] - 1; in DetermineCodingLayer()
2657 else if (frameNum[i] <= video->prevFrameNum[i]) in DetermineCodingLayer()
2663 …frameModTime = (ULong)(((frameNum[i] * 1000) / LayerFrameRate[i]) + modTimeRef + 0.5); /* rec. tim… in DetermineCodingLayer()
2664 …nextFrmModTime = (ULong)((((frameNum[i] + 1) * 1000) / LayerFrameRate[i]) + modTimeRef + 0.5); /* … in DetermineCodingLayer()
2708 frameInc = (frameNum[i] - video->prevFrameNum[i]); in DetermineCodingLayer()
2723 video->prevFrameNum[i] = frameNum[i]; in DetermineCodingLayer()
2751frameNum[i] = (UInt)((frameModTime - modTimeRef) * encParams->LayerFrameRate[i] + 500) / 1000; in DetermineCodingLayer()
2753 video->prevFrameNum[i] = frameNum[i] - 1; in DetermineCodingLayer()
[all …]
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h244 int &id, uint64_t frameNum,
DGraphicBufferSource.cpp927 int &id, uint64_t frameNum, in releaseBuffer() argument
939 id, frameNum, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, fence); in releaseBuffer()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp1024 uint32_t frameNum; in threadLoop() local
1031 frameNum = mFramesCompleted; in threadLoop()
1036 frameNum).string()); in threadLoop()