vaExportSurfaceHandle currently doesn't support IMC3 format.
This patch adds support for IMC3 in seprate layers mode and
fixes ExportSurfaceHandle to work with formats that might have
alignment requirements for U/V plane start addresses.
This can be used to export VAAPI decoded JPEGs without
incurring in additional copies.
vaExportSurfaceHandle currently doesn't support IMC3 format. This patch adds support for IMC3 in seprate layers mode and fixes ExportSurfaceHandle to work with formats that might have alignment requirements for U/V plane start addresses.
This can be used to export VAAPI decoded JPEGs without incurring in additional copies.