Home
last modified time | relevance | path

Searched refs:aom_codec_control (Results 1 – 25 of 34) sorted by relevance

12

/external/libaom/test/
Davif_progressive_test.cc56 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 50)); in TEST()
58 aom_codec_control(&enc, AOME_SET_NUMBER_SPATIAL_LAYERS, 2)); in TEST()
59 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 6)); in TEST()
61 aom_codec_control(&enc, AV1E_SET_COLOR_RANGE, AOM_CR_FULL_RANGE)); in TEST()
63 aom_codec_control(&enc, AOME_SET_TUNING, AOM_TUNE_SSIM)); in TEST()
67 aom_codec_control(&enc, AOME_SET_SPATIAL_LAYER_ID, 0)); in TEST()
82 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 0)); in TEST()
83 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AV1E_SET_LOSSLESS, 1)); in TEST()
85 aom_codec_control(&enc, AOME_SET_SPATIAL_LAYER_ID, 1)); in TEST()
141 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 0)); in TEST()
[all …]
Dencode_api_test.cc107 EXPECT_EQ(AOM_CODEC_ERROR, aom_codec_control(&enc, -1, 0)); in TEST()
108 EXPECT_EQ(AOM_CODEC_INVALID_PARAM, aom_codec_control(&enc, 0, 0)); in TEST()
121 ASSERT_EQ(aom_codec_control(&enc, AOME_SET_TUNING, AOM_TUNE_IQ), in TEST()
355 ASSERT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, speed), AOM_CODEC_OK); in TEST()
454 ASSERT_EQ(aom_codec_control(&enc_, AOME_SET_CPUUSED, speed_), AOM_CODEC_OK); in Configure()
672 ASSERT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, 11), AOM_CODEC_OK); in TEST()
673 ASSERT_EQ(aom_codec_control(&enc, AV1E_SET_ENABLE_CDEF, 1), AOM_CODEC_OK); in TEST()
674 ASSERT_EQ(aom_codec_control(&enc, AV1E_SET_ENABLE_TPL_MODEL, 0), in TEST()
676 ASSERT_EQ(aom_codec_control(&enc, AV1E_SET_DELTAQ_MODE, 0), AOM_CODEC_OK); in TEST()
677 ASSERT_EQ(aom_codec_control(&enc, AV1E_SET_ENABLE_ORDER_HINT, 0), in TEST()
[all …]
Ddeltaq_mode_test.cc62 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, 6), AOM_CODEC_OK); in TEST()
63 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 14), AOM_CODEC_OK); in TEST()
64 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_DELTAQ_MODE, 3), AOM_CODEC_OK); in TEST()
66 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_COLOR_RANGE, AOM_CR_STUDIO_RANGE), in TEST()
122 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_ROW_MT, 0), AOM_CODEC_OK); in TEST()
123 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, 6), AOM_CODEC_OK); in TEST()
124 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 14), AOM_CODEC_OK); in TEST()
125 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_DELTAQ_MODE, 3), AOM_CODEC_OK); in TEST()
127 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_COLOR_RANGE, AOM_CR_STUDIO_RANGE), in TEST()
182 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, 6), AOM_CODEC_OK); in TEST()
[all …]
Dencode_test_driver.h108 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
113 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
118 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
123 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
128 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
133 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
138 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
143 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
149 const aom_codec_err_t res = aom_codec_control(&encoder_, ctrl_id, arg); in Control()
Dwiener_test.cc891 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 11), AOM_CODEC_OK);
892 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_ROW_MT, 1), AOM_CODEC_OK);
893 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_TILE_ROWS, 4), AOM_CODEC_OK);
894 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, 3), AOM_CODEC_OK);
895 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_COLOR_RANGE, AOM_CR_FULL_RANGE),
897 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_SKIP_POSTPROC_FILTERING, 1),
899 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_TUNING, AOM_TUNE_SSIM),
1148 EXPECT_EQ(aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 14), AOM_CODEC_OK);
1149 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_ROW_MT, 1), AOM_CODEC_OK);
1150 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_TILE_ROWS, 4), AOM_CODEC_OK);
[all …]
Dencode_small_width_height_test.cc53 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 5)); in EncodeSmallWidthMultiThreaded()
89 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 0)); in EncodeSmallWidthMultiThreadedSpeed0()
126 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 5)); in EncodeSmallHeightMultiThreaded()
163 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 0)); in EncodeSmallHeightMultiThreadedSpeed0()
232 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 5)); in Encode1x1()
Ddecode_api_test.cc57 EXPECT_EQ(AOM_CODEC_ERROR, aom_codec_control(&dec, -1, 0)); in TEST()
58 EXPECT_EQ(AOM_CODEC_INVALID_PARAM, aom_codec_control(&dec, 0, 0)); in TEST()
Dforced_max_frame_width_height_test.cc149 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CQ_LEVEL, 30)); in TEST()
150 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 6)); in TEST()
152 aom_codec_control(&enc, AV1E_SET_COLOR_RANGE, AOM_CR_FULL_RANGE)); in TEST()
154 aom_codec_control(&enc, AOME_SET_TUNING, AOM_TUNE_SSIM)); in TEST()
Ddecode_test_driver.h70 const aom_codec_err_t res = aom_codec_control(&decoder_, ctrl_id, arg); in Control()
76 const aom_codec_err_t res = aom_codec_control(&decoder_, ctrl_id, arg); in Control()
Dframe_size_tests.cc124 EXPECT_EQ(aom_codec_control(enc.get(), AOME_SET_CPUUSED, cpu_used_), in TEST_P()
200 EXPECT_EQ(aom_codec_control(enc.get(), AOME_SET_CPUUSED, cpu_used_), in TEST_P()
263 EXPECT_EQ(aom_codec_control(enc.get(), AOME_SET_CPUUSED, cpu_used_), in TEST_P()
Dresize_test.cc1100 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 5)); in TEST_P()
1144 EXPECT_EQ(AOM_CODEC_OK, aom_codec_control(&enc, AOME_SET_CPUUSED, 5)); in TEST_P()
1156 aom_codec_control(&enc, AV1E_SET_SVC_PARAMS, &svc_params)); in TEST_P()
1161 aom_codec_control(&enc, AV1E_SET_SVC_LAYER_ID, &layer_id)); in TEST_P()
1168 aom_codec_control(&enc, AV1E_SET_SVC_LAYER_ID, &layer_id)); in TEST_P()
1176 aom_codec_control(&enc, AV1E_SET_SVC_LAYER_ID, &layer_id)); in TEST_P()
1232 aom_codec_control(&enc, AOME_SET_CPUUSED, cpu_used_)); in TEST_P()
Dfilm_grain_table_test.cc367 ASSERT_EQ(aom_codec_control(&enc, AOME_SET_CPUUSED, 7), AOM_CODEC_OK); in TEST()
368 ASSERT_EQ(aom_codec_control(&enc, AV1E_SET_TUNE_CONTENT, AOM_CONTENT_FILM), in TEST()
370 ASSERT_EQ(aom_codec_control(&enc, AV1E_SET_DENOISE_NOISE_LEVEL, 1), in TEST()
Dlevel_test.cc114 EXPECT_EQ(aom_codec_control(&enc, AV1E_SET_TARGET_SEQ_LEVEL_IDX, 3219), in TEST()
Dloopfilter_control_test.cc182 EXPECT_EQ(aom_codec_control(&encoder, AOME_GET_LOOPFILTER_LEVEL, lf_level), in TEST()
/external/libaom/examples/
Dscalable_encoder.c211 if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8)) in main()
214 if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2)) in main()
216 if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3)) in main()
219 if (aom_codec_control(&codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2)) in main()
243 if (aom_codec_control(&codec, AOME_SET_SPATIAL_LAYER_ID, 0)) in main()
245 if (aom_codec_control(&codec, AOME_SET_CQ_LEVEL, 62)) in main()
262 if (aom_codec_control(&codec, AOME_SET_SPATIAL_LAYER_ID, 1)) in main()
264 if (aom_codec_control(&codec, AOME_SET_CQ_LEVEL, 10)) in main()
Dlightfield_encoder.c147 if (aom_codec_control(&codec, AOME_SET_ENABLEAUTOALTREF, 0)) in pass0()
149 if (aom_codec_control(&codec, AV1E_SET_FRAME_PARALLEL_DECODING, 0)) in pass0()
192 if (aom_codec_control(&codec, AV1E_SET_FRAME_PARALLEL_DECODING, 1)) in pass0()
260 if (aom_codec_control(&codec, AOME_SET_ENABLEAUTOALTREF, 0)) in pass1()
262 if (aom_codec_control(&codec, AV1E_SET_FRAME_PARALLEL_DECODING, 0)) in pass1()
264 if (aom_codec_control(&codec, AV1E_ENABLE_EXT_TILE_DEBUG, 1)) in pass1()
266 if (aom_codec_control(&codec, AOME_SET_CPUUSED, 3)) in pass1()
274 if (aom_codec_control(&codec, AV1E_SET_SUPERBLOCK_SIZE, in pass1()
289 if (aom_codec_control(&codec, AV1E_SET_MAX_GF_INTERVAL, in pass1()
347 if (aom_codec_control(&codec, AV1_COPY_NEW_FRAME_IMAGE, in pass1()
[all …]
Dsvc_encoder_rtc.cc1736 if (aom_codec_control(codec, AOME_SET_ACTIVEMAP, &map)) in set_active_map()
1947 aom_codec_control(&codec, AOME_SET_CPUUSED, app_input.speed); in main()
1948 aom_codec_control(&codec, AV1E_SET_AQ_MODE, app_input.aq_mode ? 3 : 0); in main()
1949 aom_codec_control(&codec, AV1E_SET_GF_CBR_BOOST_PCT, 0); in main()
1950 aom_codec_control(&codec, AV1E_SET_ENABLE_CDEF, 1); in main()
1951 aom_codec_control(&codec, AV1E_SET_LOOPFILTER_CONTROL, 1); in main()
1952 aom_codec_control(&codec, AV1E_SET_ENABLE_WARPED_MOTION, 0); in main()
1953 aom_codec_control(&codec, AV1E_SET_ENABLE_OBMC, 0); in main()
1954 aom_codec_control(&codec, AV1E_SET_ENABLE_GLOBAL_MOTION, 0); in main()
1955 aom_codec_control(&codec, AV1E_SET_ENABLE_ORDER_HINT, 0); in main()
[all …]
Daom_cx_set_ref.c79 if (aom_codec_control(encoder, AV1_GET_NEW_FRAME_IMAGE, &enc_img)) in testing_decode()
81 if (aom_codec_control(decoder, AV1_GET_NEW_FRAME_IMAGE, &dec_img)) in testing_decode()
163 if (aom_codec_control(dcodec, AV1_COPY_NEW_FRAME_IMAGE, ext_ref)) in encode_frame()
303 if (aom_codec_control(&ecodec, AOME_SET_ENABLEAUTOALTREF, 0)) in main()
337 if (aom_codec_control(&ecodec, AV1_SET_REFERENCE, &ref)) in main()
343 if (aom_codec_control(&ecodec, AOME_SET_CPUUSED, 7)) in main()
351 if (aom_codec_control(&dcodec, AV1_SET_REFERENCE, &ref)) in main()
Dset_maps.c75 if (aom_codec_control(codec, AOME_SET_ACTIVEMAP, &map)) in set_active_map()
89 if (aom_codec_control(codec, AOME_SET_ACTIVEMAP, &map)) in unset_active_map()
189 if (aom_codec_control(&codec, AOME_SET_CPUUSED, speed)) in main()
Dscalable_decoder.c122 if (aom_codec_control(&codec, AV1D_SET_OUTPUT_ALL_LAYERS, 1)) { in main()
/external/libaom/aom/
Daom_codec.h513 aom_codec_err_t aom_codec_control(aom_codec_ctx_t *ctx, int ctrl_id, ...);
556 return aom_codec_control(ctx, ctrl, data); \
Dexports_com2 text aom_codec_control
/external/libaom/av1/encoder/
Dthirdpass.c131 if (aom_codec_control(&ctx->decoder, AOMD_GET_FRAME_FLAGS, in get_frame_info()
148 if (aom_codec_control(&ctx->decoder, AV1D_GET_FRAME_SIZE, frame_size) != in get_frame_info()
179 if (aom_codec_control(&ctx->decoder, AOMD_GET_BASE_Q_IDX, in get_frame_info()
186 if (aom_codec_control(&ctx->decoder, AOMD_GET_SHOW_EXISTING_FRAME_FLAG, in get_frame_info()
194 if (aom_codec_control(&ctx->decoder, AOMD_GET_SHOW_FRAME_FLAG, in get_frame_info()
201 if (aom_codec_control(&ctx->decoder, AOMD_GET_ORDER_HINT, in get_frame_info()
225 if (aom_codec_control(&ctx->decoder, AV1D_GET_MI_INFO, mi_row, mi_col, in get_frame_info()
/external/openscreen/cast/standalone_sender/
Dstreaming_av1_encoder.cc282 aom_codec_control(&encoder_, AOME_SET_STATIC_THRESHOLD, 1); in PrepareEncoder()
298 aom_codec_control(&encoder_, AOME_SET_CPUUSED, speed); in PrepareEncoder()
361 const auto get_quantizer_result = aom_codec_control( in ComputeFrameEncodeStats()
/external/libaom/aom/src/
Daom_codec.c88 aom_codec_err_t aom_codec_control(aom_codec_ctx_t *ctx, int ctrl_id, ...) { in aom_codec_control() function

12