The source project of this merge request has been removed.
radeon/vcn: engage all available jpeg engines
use multiple contexts and submit in a round robin scheme to make use of all the available jpeg engines simultaneously. During mjpeg decode context need not be same across frames as they are discrete jpeg images.
V2: number of ctx to be equal to number of engines and fix indent (Leo) V3: decide ctx count in create_decoder, don't add a video param (Boyuan)
Signed-off-by: Sathishkumar S sathishkumar.sundararaju@amd.com
Edited by Sathishkumar S