Home
last modified time | relevance | path

Searched refs:encParams (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_api.cpp212 VideoEncParams *encParams; in PVInitVideoEncoder() local
236 video->encParams = (VideoEncParams *)M4VENC_MALLOC(sizeof(VideoEncParams)); in PVInitVideoEncoder()
237 if (video->encParams == NULL) in PVInitVideoEncoder()
240 M4VENC_MEMSET(video->encParams, 0, sizeof(VideoEncParams)); in PVInitVideoEncoder()
242 encParams = video->encParams; in PVInitVideoEncoder()
243 encParams->nLayers = encOption->numLayers; in PVInitVideoEncoder()
250 if (encParams->nLayers != 1) in PVInitVideoEncoder()
255 encParams->LayerMaxMbsPerSec[0] = profile_level_max_mbsPerSec[profile_table_index]; in PVInitVideoEncoder()
262 if (encParams->nLayers < 2) in PVInitVideoEncoder()
266 for (i = 0; i < encParams->nLayers; i++) in PVInitVideoEncoder()
[all …]
Drate_control.cpp53 VideoEncParams *encParams = video->encParams; in RC_Initialize() local
55 Int numLayers = encParams->nLayers; in RC_Initialize()
56 Int *LayerBitRate = encParams->LayerBitRate; in RC_Initialize()
57 float *LayerFrameRate = encParams->LayerFrameRate; in RC_Initialize()
65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled; in RC_Initialize()
66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled; in RC_Initialize()
67 rc[n]->no_pre_skip = encParams->NoPreSkip_Enabled; in RC_Initialize()
71 rc[n]->Bs = video->encParams->BufferSize[n]; in RC_Initialize()
83 if (video->encParams->H263_Enabled) in RC_Initialize()
85 …rc[n]->max_BitVariance_num = (Int)((rc[n]->Bs - video->encParams->maxFrameSize) / 2 / (rc[n]->bitr… in RC_Initialize()
[all …]
Ddatapart_encode.cpp41 VideoEncParams *encParams = video->encParams; in EncodeFrameDataPartMode() local
50 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameDataPartMode()
217 VideoEncParams *encParams = video->encParams; in EncodeSliceDataPartMode() local
229 … Int packet_size = encParams->ResyncPacketsize - 1 - (currVop->predictionType == I_VOP ? 19 : 17); in EncodeSliceDataPartMode()
Dcombined_encode.cpp42 VideoEncParams *encParams = video->encParams; in EncodeFrameCombinedMode() local
51 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameCombinedMode()
52 Int GOB_Header_Interval = encParams->GOB_Header_Interval; in EncodeFrameCombinedMode()
269 VideoEncParams *encParams = video->encParams; in EncodeSliceCombinedMode() local
282 Int packet_size = encParams->ResyncPacketsize - 1; in EncodeSliceCombinedMode()
Dmotion_est.cpp138 UChar use_4mv = video->encParams->MV8x8_Enabled; in MotionEstimation()
150 Int FS_en = video->encParams->FullSearch_Enabled; in MotionEstimation()
213 if (video->prevBaseVop->padded == 0 && !video->encParams->H263_Enabled) in MotionEstimation()
223 if (video->currLayer == 0 && video->encParams->Refresh) in MotionEstimation()
225 RasterIntraUpdate(intraArray, Mode, totalMB, video->encParams->Refresh); in MotionEstimation()
236 if ((video->encParams->SceneChange_Det == 1) /*&& video->currLayer==0 */ in MotionEstimation()
237 && ((video->encParams->LayerFrameRate[0] < 5.0) || (video->numVopsInGOP > MIN_GOP))) in MotionEstimation()
340 if (video->encParams->HalfPel_Enabled) in MotionEstimation()
469 currVop->quantizer = video->encParams->InitQuantIvop[video->currLayer]; in MotionEstimation()
780 UChar use_4mv = video->encParams->MV8x8_Enabled; in MBMotionSearch()
[all …]
Dfindhalfpel.cpp76 Int h263_mode = video->encParams->H263_Enabled; /* 3/29/01 */ in FindHalfPelMB()
78 Int range = video->encParams->SearchRange; in FindHalfPelMB()
199 Int range = video->encParams->SearchRange; in FindHalfPelBlk()
Dmp4lib_int.h429 VideoEncParams *encParams; member
Dvlc_encode.cpp2031 Bool bACPredEnable = video->encParams->ACDCPrediction; in DCACPred()
/frameworks/av/media/libstagefright/codecs/avc/enc/test/
Dh264_enc_test.cpp156 tagAVCEncParam encParams; in main() local
157 memset(&encParams, 0, sizeof(tagAVCEncParam)); in main()
158 encParams.rate_control = AVC_ON; in main()
159 encParams.initQP = 0; in main()
160 encParams.init_CBP_removal_delay = 1600; in main()
162 encParams.intramb_refresh = 0; in main()
163 encParams.auto_scd = AVC_ON; in main()
164 encParams.out_of_band_param_set = AVC_ON; in main()
165 encParams.poc_type = 2; in main()
166 encParams.log2_max_poc_lsb_minus_4 = 12; in main()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp130 tagvideoEncOptions encParams; in main() local
131 memset(&encParams, 0, sizeof(tagvideoEncOptions)); in main()
132 if (!PVGetDefaultEncOption(&encParams, 0)) { in main()
142 encParams.encMode = COMBINE_MODE_WITH_ERR_RES; in main()
144 encParams.encMode = H263_MODE; in main()
146 encParams.encWidth[0] = width; in main()
147 encParams.encHeight[0] = height; in main()
148 encParams.encFrameRate[0] = frameRate; in main()
149 encParams.rcType = VBR_1; in main()
150 encParams.vbvDelay = 5.0f; in main()
[all …]