Skip to content

frontends/va: use va interface for jpeg partial decode

Sathishkumar S requested to merge sathishs/mesa:main into main

use va interface for jpeg partial decode

frontends/va: use va interface for jpeg partial decode

add support to check jpeg crop decode cap and to set the crop
rectangle. the interface is avialble on libva 1.21.0 and higher.

v2: (Ruijing)
enclose the entire case block within VA_CHECK_VERSION
if attr unsupported set the return value to VA_ATTRIB_NOT_SUPPORTED

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>

Merge request reports

Loading