OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pRDSamples
(Results
1 - 5
of
5
) sorted by null
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
195
/* RDInfo **
pRDSamples
*/
196
rateCtrl->pMP->
pRDSamples
= (RDInfo **)avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, (30 * sizeof(RDInfo *)), DEFAULT_ATTR);
197
if (!rateCtrl->pMP->
pRDSamples
)
204
rateCtrl->pMP->
pRDSamples
[i] = (RDInfo *)avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, (32 * sizeof(RDInfo)), DEFAULT_ATTR);
205
if (!rateCtrl->pMP->
pRDSamples
[i])
306
if (rateCtrl->pMP->
pRDSamples
)
310
if (rateCtrl->pMP->
pRDSamples
[i])
312
avcHandle->CBAVC_Free(avcHandle->userData, rateCtrl->pMP->
pRDSamples
[i]);
315
avcHandle->CBAVC_Free(avcHandle->userData, rateCtrl->pMP->
pRDSamples
);
432
prev_mad = pMP->
pRDSamples
[i][0].mad
[
all
...]
avcenc_int.h
184
RDInfo **
pRDSamples
; /*
pRDSamples
[30][32], 30->30fps, 32 -> 5 bit quantizer, 32 candidates*/
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp
273
/* for pMP->
pRDSamples
*/
274
pMP->
pRDSamples
[pMP->framePos][counter_samples].QP = pMP->QP;
275
pMP->
pRDSamples
[pMP->framePos][counter_samples].actual_bits = pMP->actual_bits;
276
pMP->
pRDSamples
[pMP->framePos][counter_samples].mad = pMP->mad;
277
pMP->
pRDSamples
[pMP->framePos][counter_samples].R_D = (float)(pMP->actual_bits / (pMP->mad + 0.0001));
731
prev_actual_bits = pMP->
pRDSamples
[0][0].actual_bits;
732
prev_mad = pMP->
pRDSamples
[0][0].mad;
736
if (pMP->
pRDSamples
[i][0].mad != 0 && prev_mad != 0 &&
737
PV_ABS(prev_mad - curr_mad) > PV_ABS(pMP->
pRDSamples
[i][0].mad - curr_mad))
[
all
...]
mp4enc_api.cpp
825
/* RDInfo **
pRDSamples
*/
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));
[
all
...]
mp4lib_int.h
283
RDInfo **
pRDSamples
; /*
pRDSamples
[30][32], 30->30fps, 32 -> 5 bit quantizer, 32 candidates*/
Completed in 397 milliseconds