OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rateCtrl
(Results
1 - 8
of
8
) sorted by null
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
32
double ComputeFrameMAD(AVCCommonObj *video, AVCRateControl *
rateCtrl
);
34
void targetBitCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *
rateCtrl
, MultiPass *pMP);
37
AVCRateControl *
rateCtrl
, MultiPass *pMP);
39
void updateRC_PostProc(AVCRateControl *
rateCtrl
, MultiPass *pMP);
45
int GetAvgFrameQP(AVCRateControl *
rateCtrl
)
47
return
rateCtrl
->Qc;
50
AVCEnc_Status RCDetermineFrameNum(AVCEncObject *encvid, AVCRateControl *
rateCtrl
, uint32 modTime, uint *frameNum)
64
if (
rateCtrl
->first_frame)
89
currFrameNum = (int32)(((modTime - modTimeRef) *
rateCtrl
->frame_rate + 200) / 1000); /* add small roundings */
98
if (frameInc <
rateCtrl
->skip_next_frame + 1
[
all
...]
init.cpp
33
AVCRateControl *
rateCtrl
= encvid->
rateCtrl
;
499
rateCtrl
->scdEnable = (encParam->auto_scd == AVC_ON) ? TRUE : FALSE;
500
rateCtrl
->idrPeriod = encParam->idr_period + 1;
501
rateCtrl
->intraMBRate = encParam->intramb_refresh;
502
rateCtrl
->dpEnable = (encParam->data_par == AVC_ON) ? TRUE : FALSE;
504
rateCtrl
->subPelEnable = (encParam->sub_pel == AVC_ON) ? TRUE : FALSE;
505
rateCtrl
->mvRange = encParam->search_range;
507
rateCtrl
->subMBEnable = (encParam->submb_pred == AVC_ON) ? TRUE : FALSE;
508
rateCtrl
->rdOptEnable = (encParam->rdopt_mode == AVC_ON) ? TRUE : FALSE
[
all
...]
avcenc_api.cpp
130
encvid->
rateCtrl
= (AVCRateControl*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCRateControl), DEFAULT_ATTR);
131
if (encvid->
rateCtrl
== NULL)
153
encvid->oBSize = encvid->
rateCtrl
->cpbSize;
263
*size = encvid->
rateCtrl
->cpbSize;
280
AVCRateControl *
rateCtrl
= encvid->
rateCtrl
;
308
if (AVCENC_SUCCESS != RCDetermineFrameNum(encvid,
rateCtrl
, input->coding_timestamp, &frameNum))
314
//nextFrmModTime = (uint32)((((frameNum+1)*1000)/
rateCtrl
->frame_rate) + modTimeRef); /* rec. time */
469
encvid->
rateCtrl
->numFrameBits += ((*buf_nal_size) << 3);
623
if (encvid->
rateCtrl
)
[
all
...]
motion_est.cpp
71
AVCRateControl *
rateCtrl
= encvid->
rateCtrl
;
72
int search_range =
rateCtrl
->mvRange;
251
AVCRateControl *
rateCtrl
= encvid->
rateCtrl
;
304
if (
rateCtrl
->intraMBRate)
306
AVCRasterIntraUpdate(encvid, mblock, totalMB,
rateCtrl
->intraMBRate);
316
if ((
rateCtrl
->scdEnable == 1)
317
&& ((
rateCtrl
->frame_rate < 5.0) || (video->sliceHdr->frame_num > MIN_GOP)))
390
rateCtrl
->MADofMB[mbnum] = abe_cost
[
all
...]
avcenc_lib.h
663
\param "
rateCtrl
" "Pointer to AVCRateControl structure."
666
int GetAvgFrameQP(AVCRateControl *
rateCtrl
);
672
\param "
rateCtrl
" "Pointer to the AVCRateControl structure."
677
AVCEnc_Status RCDetermineFrameNum(AVCEncObject *encvid, AVCRateControl *
rateCtrl
, uint32 modTime, uint *frameNum);
683
\param "
rateCtrl
" "Pointer to rate control structure."
687
void RCUpdateBuffer(AVCCommonObj *video, AVCRateControl *
rateCtrl
, int frameInc);
721
\param "
rateCtrl
" "Pointer to the rate control object."
724
int RCCalculateQP(AVCEncObject *encvid, AVCRateControl *
rateCtrl
);
743
\param "
rateCtrl
" "Pointer to AVCRateControl."
748
void RCPostMB(AVCCommonObj *video, AVCRateControl *
rateCtrl
, int num_header_bits, int num_texture_bits)
[
all
...]
avcenc_int.h
380
AVCRateControl *
rateCtrl
; /* pointer to the rate control structure */
slice.cpp
162
AVCRateControl *
rateCtrl
= encvid->
rateCtrl
;
501
RCPostMB(video,
rateCtrl
, start_text_bits - start_mb_bits,
header.cpp
500
encvid->
rateCtrl
->NumberofHeaderBits += (stream->write_pos << 3) - stream->bit_left - num_bits;
[
all
...]
Completed in 308 milliseconds