[FFmpeg-devel] [PATCH] avutil/parseutils: add more resolutions.

Niv Sardi xaiki at evilgiggle.com
Fri Oct 4 22:25:24 CEST 2013


See http://en.wikipedia.org/wiki/Graphics_display_resolution

Signed-off-by: Niv Sardi <xaiki at evilgiggle.com>
---
 libavutil/parseutils.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index 5797e9e..1c25e65 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -115,6 +115,12 @@ static const VideoSizeAbbr video_size_abbrs[] = {
     { "4k",       4096,2160 }, /* Digital Cinema System Specification */
     { "4kflat",   3996,2160 },
     { "4kscope",  4096,1716 },
+    { "nhd",       640,360  },
+    { "hqvga",     240,160  },
+    { "wqvga",     400,240  },
+    { "fqvga",     432,240  },
+    { "hvga",      480,320  },
+    { "qhd",       960,540  },
 };
 
 static const VideoRateAbbr video_rate_abbrs[]= {
-- 
1.8.4



More information about the ffmpeg-devel mailing list