OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pMP
(Results
1 - 5
of
5
) sorted by null
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp
58
MultiPass **
pMP
= video->
pMP
;
116
pMP
[n]->counter_BTsrc = (Int)((rc[n]->Bs / 2.0 - rc[n]->Bs / 3.0) / (rc[n]->bitrate / rc[n]->framerate / 10.0));
117
rc[n]->TMN_W = (Int)(rc[n]->VBV_fullness +
pMP
[n]->counter_BTsrc * (rc[n]->bitrate / rc[n]->framerate / 10.0));
131
pMP
[n]->counter_BTdst =
pMP
[n]->counter_BTsrc = 0;
136
pMP
[n]->bitrate = rc[n]->bitrate;
137
pMP
[n]->framerate = rc[n]->framerate;
138
pMP
[n]->target_bits_per_frame =
pMP
[n]->bitrate / pMP[n]->framerate
[
all
...]
mp4enc_api.cpp
818
video->
pMP
[idx] = (MultiPass *)M4VENC_MALLOC(sizeof(MultiPass));
819
if (video->
pMP
[idx] == NULL) goto CLEAN_UP;
820
M4VENC_MEMSET(video->
pMP
[idx], 0, sizeof(MultiPass));
822
video->
pMP
[idx]->encoded_frames = -1; /* forget about the very first I frame */
826
video->
pMP
[idx]->pRDSamples = (RDInfo **)M4VENC_MALLOC(30 * sizeof(RDInfo *));
827
if (video->
pMP
[idx]->pRDSamples == NULL) goto CLEAN_UP;
830
video->
pMP
[idx]->pRDSamples[i] = (RDInfo *)M4VENC_MALLOC(32 * sizeof(RDInfo));
831
if (video->
pMP
[idx]->pRDSamples[i] == NULL) goto CLEAN_UP;
832
for (j = 0; j < 32; j++) M4VENC_MEMSET(&(video->
pMP
[idx]->pRDSamples[i][j]), 0, sizeof(RDInfo));
834
video->
pMP
[idx]->frameRange = (Int)(video->encParams->LayerFrameRate[idx] * 1.0); /* 1.0s time frame*
[
all
...]
mp4lib_int.h
431
MultiPass *
pMP
[4]; /* for multipass encoding, 4 represents 4 layer encoding */
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
34
void targetBitCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *
pMP
);
37
AVCRateControl *rateCtrl, MultiPass *
pMP
);
39
void updateRC_PostProc(AVCRateControl *rateCtrl, MultiPass *
pMP
);
41
void AVCSaveRDSamples(MultiPass *
pMP
, int counter_samples);
143
MultiPass *
pMP
= rateCtrl->
pMP
;
153
pMP
->counter_BTsrc += 10 * (frameInc - 1);
160
pMP
->counter_BTsrc =
pMP
->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (
pMP
->target_bits_per_frame / 10))
[
all
...]
avcenc_int.h
308
MultiPass *
pMP
;
Completed in 43 milliseconds