qsvdec: make ff_qsv_map_pixfmt() return a MFX fourcc as well
authorAnton Khirnov <anton@khirnov.net>
Wed, 22 Jun 2016 09:41:26 +0000 (11:41 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 3 Jul 2016 07:13:29 +0000 (09:13 +0200)
commit536bb17e9659c5ed7576a218d4085cdd6d5742fa
tree2cd8eb3c14f5552967172f635bbfd1c833b7ec2b
parentd20c118975220a0256027d1c2410bade94b8534d
qsvdec: make ff_qsv_map_pixfmt() return a MFX fourcc as well

Stop hardcoding NV12.

Also, move this function to the shared code, it will be used by the
encoder as well.
libavcodec/qsv.c
libavcodec/qsv_internal.h
libavcodec/qsvdec.c
libavcodec/qsvdec.h