Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Davcenc_api.cpp58 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncInitialize(AVCHandle *avcHandle, AVCEncParams *encParam, in PVAVCEncInitialize() argument
64 uint32 *userData = (uint32*) avcHandle->userData; in PVAVCEncInitialize()
67 if (avcHandle->AVCObject != NULL) in PVAVCEncInitialize()
75avcHandle->AVCObject = (void*)avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncObject), DEFAULT_ATTR… in PVAVCEncInitialize()
76 if (avcHandle->AVCObject == NULL) in PVAVCEncInitialize()
81 encvid = (AVCEncObject*) avcHandle->AVCObject; in PVAVCEncInitialize()
86 encvid->avcHandle = avcHandle; in PVAVCEncInitialize()
88 …encvid->common = (AVCCommonObj*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCCommonObj), DEFAULT_A… in PVAVCEncInitialize()
98 …encvid->bitstream = (AVCEncBitstream*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncBitstream), … in PVAVCEncInitialize()
106 …video->currSeqParams = (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet),… in PVAVCEncInitialize()
[all …]
Davcenc_api.h202 …OSCL_IMPORT_REF AVCEnc_Status PVAVCEncInitialize(AVCHandle *avcHandle, AVCEncParams *encParam, voi…
217 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncGetMaxOutputBufferSize(AVCHandle *avcHandle, int* size);
234 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncSetInput(AVCHandle *avcHandle, AVCFrameIO *input);
253 …OSCL_IMPORT_REF AVCEnc_Status PVAVCEncodeNAL(AVCHandle *avcHandle, uint8 *buffer, uint *buf_nal_si…
271 OSCL_IMPORT_REF uint8* PVAVCEncGetOverrunBuffer(AVCHandle* avcHandle);
281 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncGetRecon(AVCHandle *avcHandle, AVCFrameIO *recon);
293 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncReleaseRecon(AVCHandle *avcHandle, AVCFrameIO *recon);
302 OSCL_IMPORT_REF void PVAVCCleanUpEncoder(AVCHandle *avcHandle);
311 void PVAVCEncGetFrameStats(AVCHandle *avcHandle, AVCEncFrameStats *avcStats);
317 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncUpdateBitRate(AVCHandle *avcHandle, uint32 bitrate);
[all …]
Dbitstream_io.cpp279 encvid->avcHandle->CBAVC_Free((uint32*)encvid->avcHandle->userData, in AVCBitstreamUseOverrunBuffer()
284 … encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, in AVCBitstreamUseOverrunBuffer()
306 … encvid->overrunBuffer = (uint8*) encvid->avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, in AVCBitstreamUseOverrunBuffer()
318 encvid->avcHandle->CBAVC_Free((uint32*)encvid->avcHandle->userData, in AVCBitstreamUseOverrunBuffer()
Drate_control.cpp169 AVCEnc_Status InitRateControlModule(AVCHandle *avcHandle) in InitRateControlModule() argument
171 AVCEncObject *encvid = (AVCEncObject*) avcHandle->AVCObject; in InitRateControlModule()
180 rateCtrl->MADofMB = (double*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, in InitRateControlModule()
190 …rateCtrl->pMP = (MultiPass*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, sizeof(MultiPass… in InitRateControlModule()
199 …rateCtrl->pMP->pRDSamples = (RDInfo **)avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, (30 * … in InitRateControlModule()
207 …rateCtrl->pMP->pRDSamples[i] = (RDInfo *)avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, (32 … in InitRateControlModule()
291 CleanupRateControlModule(avcHandle); in InitRateControlModule()
297 void CleanupRateControlModule(AVCHandle *avcHandle) in CleanupRateControlModule() argument
299 AVCEncObject *encvid = (AVCEncObject*) avcHandle->AVCObject; in CleanupRateControlModule()
305 avcHandle->CBAVC_Free(avcHandle->userData, (int)(rateCtrl->MADofMB)); in CleanupRateControlModule()
[all …]
Davcenc_lib.h91 AVCEnc_Status SetEncodeParam(AVCHandle *avcHandle, AVCEncParams *encParam,
488 AVCEnc_Status InitMotionSearchModule(AVCHandle *avcHandle);
495 void CleanMotionSearchModule(AVCHandle *avcHandle);
694 AVCEnc_Status InitRateControlModule(AVCHandle *avcHandle);
701 void CleanupRateControlModule(AVCHandle *avcHandle);
Dinit.cpp26 AVCEnc_Status SetEncodeParam(AVCHandle* avcHandle, AVCEncParams* encParam, in SetEncodeParam() argument
29 AVCEncObject *encvid = (AVCEncObject*) avcHandle->AVCObject; in SetEncodeParam()
36 void *userData = avcHandle->userData; in SetEncodeParam()
287 …picParam->slice_group_id = (uint*)avcHandle->CBAVC_Malloc(userData, sizeof(uint) * video->PicSizeI… in SetEncodeParam()
398 …picParam->slice_group_id = (uint*)avcHandle->CBAVC_Malloc(userData, sizeof(uint) * video->PicSizeI… in SetEncodeParam()
717 ret = AVCConfigureSequence(encvid->avcHandle, video, TRUE); in InitFrame()
729 ret = DPBInitBuffer(encvid->avcHandle, video); // get new buffer in InitFrame()
Dmotion_est.cpp69 AVCEnc_Status InitMotionSearchModule(AVCHandle *avcHandle) in InitMotionSearchModule() argument
71 AVCEncObject *encvid = (AVCEncObject*) avcHandle->AVCObject; in InitMotionSearchModule()
91 encvid->mvbits_array = (uint8*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, in InitMotionSearchModule()
174 void CleanMotionSearchModule(AVCHandle *avcHandle) in CleanMotionSearchModule() argument
176 AVCEncObject *encvid = (AVCEncObject*) avcHandle->AVCObject; in CleanMotionSearchModule()
180 avcHandle->CBAVC_Free(avcHandle->userData, (int)(encvid->mvbits_array)); in CleanMotionSearchModule()
Davcenc_int.h462 AVCHandle *avcHandle; member
/external/opencore/codecs_v2/video/avc_h264/common/src/
Ddpb.cpp22 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMb… in InitDPB() argument
26 void *userData = avcHandle->userData; in InitDPB()
51 avcHandle->CBAVC_Free(userData, (int)dpb->decoded_picture_buffer); in InitDPB()
72 …dpb->decoded_picture_buffer = (uint8*) avcHandle->CBAVC_Malloc(userData, dpb->dpb_size, 100/*DPB_M… in InitDPB()
83 …dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*D… in InitDPB()
108 OSCL_EXPORT_REF AVCStatus AVCConfigureSequence(AVCHandle *avcHandle, AVCCommonObj *video, bool padd… in AVCConfigureSequence() argument
110 void *userData = avcHandle->userData; in AVCConfigureSequence()
138 avcHandle->CBAVC_DPBAlloc(avcHandle->userData, in AVCConfigureSequence()
143 avcHandle->CBAVC_DPBAlloc(avcHandle->userData, PicSizeInMapUnits, num_fs); in AVCConfigureSequence()
146 CleanUpDPB(avcHandle, video); in AVCConfigureSequence()
[all …]
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Davcdec_api.cpp191 OSCL_EXPORT_REF AVCDec_Status PVAVCDecSeqParamSet(AVCHandle *avcHandle, uint8 *nal_unit, in PVAVCDecSeqParamSet() argument
198 void *userData = avcHandle->userData; in PVAVCDecSeqParamSet()
205 if (avcHandle->AVCObject == NULL) in PVAVCDecSeqParamSet()
211avcHandle->AVCObject = (void*)avcHandle->CBAVC_Malloc(userData, sizeof(AVCDecObject), 0/*DEFAULT_A… in PVAVCDecSeqParamSet()
212 if (avcHandle->AVCObject == NULL) in PVAVCDecSeqParamSet()
217 decvid = (AVCDecObject*) avcHandle->AVCObject; in PVAVCDecSeqParamSet()
221 decvid->common = (AVCCommonObj*)avcHandle->CBAVC_Malloc(userData, sizeof(AVCCommonObj), 0); in PVAVCDecSeqParamSet()
232 …decvid->bitstream = (AVCDecBitstream *) avcHandle->CBAVC_Malloc(userData, sizeof(AVCDecBitstream),… in PVAVCDecSeqParamSet()
238 decvid->bitstream->userData = avcHandle->userData; /* callback for more data */ in PVAVCDecSeqParamSet()
239 decvid->avcHandle = avcHandle; in PVAVCDecSeqParamSet()
[all …]
Dheader.cpp32 void *userData = decvid->avcHandle->userData; in DecodeSPS()
33 AVCHandle *avcHandle = decvid->avcHandle; in DecodeSPS() local
66 … (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet), DEFAULT_ATTR); in DecodeSPS()
326 void *userData = decvid->avcHandle->userData; in DecodePPS()
327 AVCHandle *avcHandle = decvid->avcHandle; in DecodePPS() local
346 … (AVCPicParamSet*)avcHandle->CBAVC_Malloc(userData, sizeof(AVCPicParamSet), DEFAULT_ATTR); in DecodePPS()
433 avcHandle->CBAVC_Free(userData, (int)picParam->slice_group_id); in DecodePPS()
435 …picParam->slice_group_id = (uint*)avcHandle->CBAVC_Malloc(userData, sizeof(uint) * PicSizeInMapUni… in DecodePPS()
505 avcHandle->CBAVC_Free(userData, (int)picParam->slice_group_id); in DecodePPS()
508 avcHandle->CBAVC_Free(userData, (int)decvid->picParams[pic_parameter_set_id]); in DecodePPS()
[all …]
Davcdec_int.h81 AVCHandle *avcHandle; member
Davcdec_lib.h491 AVCDec_Status fill_frame_num_gap(AVCHandle *avcHandle, AVCCommonObj *video);
/external/opencore/codecs_v2/video/avc_h264/common/include/
Davclib_common.h58 OSCL_IMPORT_REF AVCStatus AVCConfigureSequence(AVCHandle *avcHandle, AVCCommonObj *video, bool padd…
71 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMb…
79 OSCL_IMPORT_REF AVCStatus CleanUpDPB(AVCHandle *avcHandle, AVCCommonObj *video);
89 OSCL_IMPORT_REF AVCStatus DPBInitBuffer(AVCHandle *avcHandle, AVCCommonObj *video);
107 OSCL_IMPORT_REF void DPBReleaseCurrentFrame(AVCHandle *avcHandle, AVCCommonObj *video);
116 OSCL_IMPORT_REF AVCStatus StorePictureInDPB(AVCHandle *avcHandle, AVCCommonObj *video);
126 AVCStatus sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb);
137 AVCStatus adaptive_memory_marking(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, …
146 void MemMgrCtrlOp1(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, int difference_…
155 void MemMgrCtrlOp2(AVCHandle *avcHandle, AVCDecPicBuffer *dpb, int long_term_pic_num);
[all …]
/external/opencore/codecs_v2/video/avc_h264/dec/include/
Davcdec_api.h119 …OSCL_IMPORT_REF AVCDec_Status PVAVCDecSeqParamSet(AVCHandle *avcHandle, uint8 *nal_unit, int nal_s…
131 OSCL_IMPORT_REF AVCDec_Status PVAVCDecGetSeqInfo(AVCHandle *avcHandle, AVCDecSPSInfo *seqInfo);
142 …OSCL_IMPORT_REF AVCDec_Status PVAVCDecPicParamSet(AVCHandle *avcHandle, uint8 *nal_unit, int nal_s…
161 OSCL_IMPORT_REF AVCDec_Status PVAVCDecSEI(AVCHandle *avcHandle, uint8 *nal_unit, int nal_size);
163 … OSCL_IMPORT_REF AVCDec_Status PVAVCDecodeSlice(AVCHandle *avcHandle, uint8 *buffer, int buf_size);
176 …OSCL_IMPORT_REF AVCDec_Status PVAVCDecGetOutput(AVCHandle *avcHandle, int *indx, int *release_flag…
182 OSCL_IMPORT_REF void PVAVCDecReset(AVCHandle *avcHandle);
188 OSCL_IMPORT_REF void PVAVCCleanUpDecoder(AVCHandle *avcHandle);