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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 &bitdeptharg, &inbitdeptharg, | 450 &bitdeptharg, &inbitdeptharg, |
451 #endif | 451 #endif |
452 NULL | 452 NULL |
453 }; | 453 }; |
454 static const int vp9_arg_ctrl_map[] = { | 454 static const int vp9_arg_ctrl_map[] = { |
455 VP8E_SET_CPUUSED, VP8E_SET_ENABLEAUTOALTREF, | 455 VP8E_SET_CPUUSED, VP8E_SET_ENABLEAUTOALTREF, |
456 VP8E_SET_SHARPNESS, VP8E_SET_STATIC_THRESHOLD, | 456 VP8E_SET_SHARPNESS, VP8E_SET_STATIC_THRESHOLD, |
457 VP9E_SET_TILE_COLUMNS, VP9E_SET_TILE_ROWS, | 457 VP9E_SET_TILE_COLUMNS, VP9E_SET_TILE_ROWS, |
458 VP8E_SET_ARNR_MAXFRAMES, VP8E_SET_ARNR_STRENGTH, VP8E_SET_ARNR_TYPE, | 458 VP8E_SET_ARNR_MAXFRAMES, VP8E_SET_ARNR_STRENGTH, VP8E_SET_ARNR_TYPE, |
459 VP8E_SET_TUNING, VP8E_SET_CQ_LEVEL, VP8E_SET_MAX_INTRA_BITRATE_PCT, | 459 VP8E_SET_TUNING, VP8E_SET_CQ_LEVEL, VP8E_SET_MAX_INTRA_BITRATE_PCT, |
460 VP8E_SET_MAX_INTER_BITRATE_PCT, VP8E_SET_GF_CBR_BOOST_PCT, | 460 VP9E_SET_MAX_INTER_BITRATE_PCT, VP9E_SET_GF_CBR_BOOST_PCT, |
461 VP9E_SET_LOSSLESS, VP9E_SET_FRAME_PARALLEL_DECODING, VP9E_SET_AQ_MODE, | 461 VP9E_SET_LOSSLESS, VP9E_SET_FRAME_PARALLEL_DECODING, VP9E_SET_AQ_MODE, |
462 VP9E_SET_FRAME_PERIODIC_BOOST, VP9E_SET_NOISE_SENSITIVITY, | 462 VP9E_SET_FRAME_PERIODIC_BOOST, VP9E_SET_NOISE_SENSITIVITY, |
463 VP9E_SET_TUNE_CONTENT, VP9E_SET_COLOR_SPACE, | 463 VP9E_SET_TUNE_CONTENT, VP9E_SET_COLOR_SPACE, |
464 0 | 464 0 |
465 }; | 465 }; |
466 #endif | 466 #endif |
467 | 467 |
468 static const arg_def_t *no_args[] = { NULL }; | 468 static const arg_def_t *no_args[] = { NULL }; |
469 | 469 |
470 void usage_exit() { | 470 void usage_exit() { |
(...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2257 | 2257 |
2258 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH | 2258 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH |
2259 if (allocated_raw_shift) | 2259 if (allocated_raw_shift) |
2260 vpx_img_free(&raw_shift); | 2260 vpx_img_free(&raw_shift); |
2261 #endif | 2261 #endif |
2262 vpx_img_free(&raw); | 2262 vpx_img_free(&raw); |
2263 free(argv); | 2263 free(argv); |
2264 free(streams); | 2264 free(streams); |
2265 return res ? EXIT_FAILURE : EXIT_SUCCESS; | 2265 return res ? EXIT_FAILURE : EXIT_SUCCESS; |
2266 } | 2266 } |
OLD | NEW |