nvenc: Add support RGB 8/10bits formats
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 30 Jul 2019 04:15:32 +0000 (13:15 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 5 Aug 2019 18:55:28 +0000 (18:55 +0000)
commite68bfd7566749cd438a75f55eaf404644eaea619
treee459bde9cf98fb51bd94645650657a578795b45b
parentc99b160b50d9f27e232d70c99a829688e09ab5a0
nvenc: Add support RGB 8/10bits formats

BGRA/RGBA/RGB10A2/BGR10A2 formats can be supported by nvenc.
Depending on device, supported format can be different.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1038
sys/nvcodec/gstnvbaseenc.c
sys/nvcodec/gstnvenc.c