| 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 }; | 435 }; |
| 436 static const int vp9_arg_ctrl_map[] = { | 436 static const int vp9_arg_ctrl_map[] = { |
| 437 VP8E_SET_CPUUSED, VP8E_SET_ENABLEAUTOALTREF, | 437 VP8E_SET_CPUUSED, VP8E_SET_ENABLEAUTOALTREF, |
| 438 VP8E_SET_SHARPNESS, VP8E_SET_STATIC_THRESHOLD, | 438 VP8E_SET_SHARPNESS, VP8E_SET_STATIC_THRESHOLD, |
| 439 VP9E_SET_TILE_COLUMNS, VP9E_SET_TILE_ROWS, | 439 VP9E_SET_TILE_COLUMNS, VP9E_SET_TILE_ROWS, |
| 440 VP8E_SET_ARNR_MAXFRAMES, VP8E_SET_ARNR_STRENGTH, VP8E_SET_ARNR_TYPE, | 440 VP8E_SET_ARNR_MAXFRAMES, VP8E_SET_ARNR_STRENGTH, VP8E_SET_ARNR_TYPE, |
| 441 VP8E_SET_TUNING, VP8E_SET_CQ_LEVEL, VP8E_SET_MAX_INTRA_BITRATE_PCT, | 441 VP8E_SET_TUNING, VP8E_SET_CQ_LEVEL, VP8E_SET_MAX_INTRA_BITRATE_PCT, |
| 442 VP8E_SET_MAX_INTER_BITRATE_PCT, VP8E_SET_GF_CBR_BOOST_PCT, | 442 VP8E_SET_MAX_INTER_BITRATE_PCT, VP8E_SET_GF_CBR_BOOST_PCT, |
| 443 VP9E_SET_LOSSLESS, VP9E_SET_FRAME_PARALLEL_DECODING, VP9E_SET_AQ_MODE, | 443 VP9E_SET_LOSSLESS, VP9E_SET_FRAME_PARALLEL_DECODING, VP9E_SET_AQ_MODE, |
| 444 VP9E_SET_FRAME_PERIODIC_BOOST, VP9E_SET_NOISE_SENSITIVITY, | 444 VP9E_SET_FRAME_PERIODIC_BOOST, VP9E_SET_NOISE_SENSITIVITY, |
| 445 VP9E_SET_TUNE_CONTENT, | 445 VP9E_SET_TUNE_CONTENT, VP9E_SET_COLOR_SPACE, |
| 446 0 | 446 0 |
| 447 }; | 447 }; |
| 448 #endif | 448 #endif |
| 449 | 449 |
| 450 static const arg_def_t *no_args[] = { NULL }; | 450 static const arg_def_t *no_args[] = { NULL }; |
| 451 | 451 |
| 452 void usage_exit() { | 452 void usage_exit() { |
| 453 int i; | 453 int i; |
| 454 | 454 |
| 455 fprintf(stderr, "Usage: %s <options> -o dst_filename src_filename \n", | 455 fprintf(stderr, "Usage: %s <options> -o dst_filename src_filename \n", |
| (...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2234 | 2234 |
| 2235 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH | 2235 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH |
| 2236 if (allocated_raw_shift) | 2236 if (allocated_raw_shift) |
| 2237 vpx_img_free(&raw_shift); | 2237 vpx_img_free(&raw_shift); |
| 2238 #endif | 2238 #endif |
| 2239 vpx_img_free(&raw); | 2239 vpx_img_free(&raw); |
| 2240 free(argv); | 2240 free(argv); |
| 2241 free(streams); | 2241 free(streams); |
| 2242 return res ? EXIT_FAILURE : EXIT_SUCCESS; | 2242 return res ? EXIT_FAILURE : EXIT_SUCCESS; |
| 2243 } | 2243 } |
| OLD | NEW |