stereo3d: Add API to get name from value or value from name

Use it in av_dump_format() instead of a huge switch case.
This commit is contained in:
Vittorio Giovara
2016-04-21 17:24:07 -04:00
parent d621b2f795
commit 0c4468dc18
5 changed files with 57 additions and 30 deletions
+3
View File
@@ -13,6 +13,9 @@ libavutil: 2015-08-28
API changes, most recent first:
2016-xx-xx - xxxxxxx - lavu 55.12.0 - opt.h
Add av_stereo3d_type_name() and av_stereo3d_from_name().
2016-xx-xx - xxxxxxx - lavu 55.11.0 - hwcontext_dxva2.h
Add new installed header with DXVA2-specific hwcontext definitions.