Allow specifying --end-usage by enum name
authorJohn Koleszar <jkoleszar@google.com>
Mon, 21 Mar 2011 11:50:42 +0000 (07:50 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 21 Mar 2011 11:50:42 +0000 (07:50 -0400)
commit500fec2d5f84cae100d934efde858e3320365493
tree9dd7e1c025953f214adb9d6c2aa121f7de71cdd0
parent185557344ae79890d4acbbf5972972d20af1dd05
Allow specifying --end-usage by enum name

Map an enum to the --end-usage values, so you can specify
--end-usage=cq instead of --end-usage=2. The numerical values still
work for historical scripts, etc, but this is more user friendly.

Change-Id: I445ecd9638f801f5924a71eabf449bee293cdd34
vpxenc.c