OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 0, /* g_lag_in_frames */ | 1323 0, /* g_lag_in_frames */ |
1324 | 1324 |
1325 0, /* rc_dropframe_thresh */ | 1325 0, /* rc_dropframe_thresh */ |
1326 0, /* rc_resize_allowed */ | 1326 0, /* rc_resize_allowed */ |
1327 1, /* rc_scaled_width */ | 1327 1, /* rc_scaled_width */ |
1328 1, /* rc_scaled_height */ | 1328 1, /* rc_scaled_height */ |
1329 60, /* rc_resize_down_thresold */ | 1329 60, /* rc_resize_down_thresold */ |
1330 30, /* rc_resize_up_thresold */ | 1330 30, /* rc_resize_up_thresold */ |
1331 | 1331 |
1332 VPX_VBR, /* rc_end_usage */ | 1332 VPX_VBR, /* rc_end_usage */ |
1333 #if VPX_ENCODER_ABI_VERSION > (1 + VPX_CODEC_ABI_VERSION) | |
1334 {0}, /* rc_twopass_stats_in */ | 1333 {0}, /* rc_twopass_stats_in */ |
1335 {0}, /* rc_firstpass_mb_stats_in */ | 1334 {0}, /* rc_firstpass_mb_stats_in */ |
1336 #endif | |
1337 256, /* rc_target_bandwidth */ | 1335 256, /* rc_target_bandwidth */ |
1338 4, /* rc_min_quantizer */ | 1336 4, /* rc_min_quantizer */ |
1339 63, /* rc_max_quantizer */ | 1337 63, /* rc_max_quantizer */ |
1340 100, /* rc_undershoot_pct */ | 1338 100, /* rc_undershoot_pct */ |
1341 100, /* rc_overshoot_pct */ | 1339 100, /* rc_overshoot_pct */ |
1342 | 1340 |
1343 6000, /* rc_max_buffer_size */ | 1341 6000, /* rc_max_buffer_size */ |
1344 4000, /* rc_buffer_initial_size; */ | 1342 4000, /* rc_buffer_initial_size; */ |
1345 5000, /* rc_buffer_optimal_size; */ | 1343 5000, /* rc_buffer_optimal_size; */ |
1346 | 1344 |
1347 50, /* rc_two_pass_vbrbias */ | 1345 50, /* rc_two_pass_vbrbias */ |
1348 0, /* rc_two_pass_vbrmin_section */ | 1346 0, /* rc_two_pass_vbrmin_section */ |
1349 400, /* rc_two_pass_vbrmax_section */ | 1347 400, /* rc_two_pass_vbrmax_section */ |
1350 | 1348 |
1351 /* keyframing settings (kf) */ | 1349 /* keyframing settings (kf) */ |
1352 VPX_KF_AUTO, /* g_kfmode*/ | 1350 VPX_KF_AUTO, /* g_kfmode*/ |
1353 0, /* kf_min_dist */ | 1351 0, /* kf_min_dist */ |
1354 128, /* kf_max_dist */ | 1352 128, /* kf_max_dist */ |
1355 | 1353 |
1356 #if VPX_ENCODER_ABI_VERSION == (1 + VPX_CODEC_ABI_VERSION) | |
1357 "vp8.fpf" /* first pass filename */ | |
1358 #endif | |
1359 VPX_SS_DEFAULT_LAYERS, /* ss_number_layers */ | 1354 VPX_SS_DEFAULT_LAYERS, /* ss_number_layers */ |
1360 {0}, | 1355 {0}, |
1361 {0}, /* ss_target_bitrate */ | 1356 {0}, /* ss_target_bitrate */ |
1362 1, /* ts_number_layers */ | 1357 1, /* ts_number_layers */ |
1363 {0}, /* ts_target_bitrate */ | 1358 {0}, /* ts_target_bitrate */ |
1364 {0}, /* ts_rate_decimator */ | 1359 {0}, /* ts_rate_decimator */ |
1365 0, /* ts_periodicity */ | 1360 0, /* ts_periodicity */ |
1366 {0}, /* ts_layer_id */ | 1361 {0}, /* ts_layer_id */ |
1367 }}, | 1362 }}, |
1368 }; | 1363 }; |
(...skipping 23 matching lines...) Expand all Loading... |
1392 1, /* 1 cfg map */ | 1387 1, /* 1 cfg map */ |
1393 vp8e_usage_cfg_map, /* vpx_codec_enc_cfg_map_t cfg_maps; */ | 1388 vp8e_usage_cfg_map, /* vpx_codec_enc_cfg_map_t cfg_maps; */ |
1394 vp8e_encode, /* vpx_codec_encode_fn_t encode; */ | 1389 vp8e_encode, /* vpx_codec_encode_fn_t encode; */ |
1395 vp8e_get_cxdata, /* vpx_codec_get_cx_data_fn_t get_cx_data; */ | 1390 vp8e_get_cxdata, /* vpx_codec_get_cx_data_fn_t get_cx_data; */ |
1396 vp8e_set_config, | 1391 vp8e_set_config, |
1397 NULL, | 1392 NULL, |
1398 vp8e_get_preview, | 1393 vp8e_get_preview, |
1399 vp8e_mr_alloc_mem, | 1394 vp8e_mr_alloc_mem, |
1400 } /* encoder functions */ | 1395 } /* encoder functions */ |
1401 }; | 1396 }; |
OLD | NEW |