| commit | 09acd267bc3ad6ece4bc350fde32b266949fd833 | [log] [tgz] |
|---|---|---|
| author | Frank Galligan <fgalligan@google.com> | Mon Jun 01 10:20:58 2015 -0700 |
| committer | Frank Galligan <fgalligan@google.com> | Fri Jun 05 09:56:50 2015 -0700 |
| tree | fdb0ac2cc4dd4a204343bcbf75a79c36b2668a86 | |
| parent | 8710cceb45ad64a50287a555e8803df1df5e72ad [diff] [blame] |
vpxenc: Add support for pixel aspect ratio. WebM files will adjust the display width and height according to the input pixel aspect ratio. The default pixel aspect ratio is 1:1. BUG=https://code.google.com/p/webm/issues/detail?id=1005 Change-Id: I23e0a601b7259fa9513cb86110c41b8437769808
diff --git a/tools_common.h b/tools_common.h index aa7f025..adccec8 100644 --- a/tools_common.h +++ b/tools_common.h
@@ -89,6 +89,7 @@ enum VideoFileType file_type; uint32_t width; uint32_t height; + struct VpxRational pixel_aspect_ratio; vpx_img_fmt_t fmt; vpx_bit_depth_t bit_depth; int only_i420;