Searched refs:encParams (Results 1 – 13 of 13) sorted by relevance
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 212 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 …]
|
D | rate_control.cpp | 53 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 …]
|
D | datapart_encode.cpp | 41 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()
|
D | combined_encode.cpp | 42 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()
|
D | motion_est.cpp | 138 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 …]
|
D | findhalfpel.cpp | 76 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()
|
D | mp4lib_int.h | 430 VideoEncParams *encParams; member
|
D | vlc_encode.cpp | 2031 Bool bACPredEnable = video->encParams->ACDCPrediction; in DCACPred()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 130 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 …]
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeEncoder.cpp | 61 encParameter encParams; in Java_com_android_media_benchmark_library_Native_Encode() local 62 encParams.width = jWidth; in Java_com_android_media_benchmark_library_Native_Encode() 63 encParams.height = jHeight; in Java_com_android_media_benchmark_library_Native_Encode() 64 encParams.bitrate = jBitRate; in Java_com_android_media_benchmark_library_Native_Encode() 65 encParams.iFrameInterval = jFrameInterval; in Java_com_android_media_benchmark_library_Native_Encode() 66 encParams.sampleRate = jSampleRate; in Java_com_android_media_benchmark_library_Native_Encode() 67 encParams.numChannels = jNumChannels; in Java_com_android_media_benchmark_library_Native_Encode() 68 encParams.frameRate = ENCODE_DEFAULT_FRAME_RATE; in Java_com_android_media_benchmark_library_Native_Encode() 69 encParams.colorFormat = jColorFormat; in Java_com_android_media_benchmark_library_Native_Encode() 70 encParams.profile = jProfile; in Java_com_android_media_benchmark_library_Native_Encode() [all …]
|
/frameworks/av/media/tests/benchmark/tests/ |
D | EncoderTest.cpp | 107 encParameter encParams; in TEST_P() local 109 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_WIDTH, &encParams.width)); in TEST_P() 110 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_HEIGHT, &encParams.height)); in TEST_P() 111 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_FRAME_RATE, &encParams.frameRate); in TEST_P() 112 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, &encParams.bitrate); in TEST_P() 113 if (encParams.bitrate <= 0 || encParams.frameRate <= 0) { in TEST_P() 114 encParams.frameRate = 25; in TEST_P() 116 encParams.bitrate = kEncodeMinVideoBitRate; in TEST_P() 118 encParams.bitrate = kEncodeDefaultVideoBitRate; in TEST_P() 122 &encParams.colorFormat); in TEST_P() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.h | 81 encParameter encParams, char *mime);
|
D | Encoder.cpp | 192 encParameter encParams, char *mime) { in encode() argument 196 mParams = encParams; in encode()
|