e4614de461
* * rocDecode: Fixed several issues with cropping. - Fixed the pixel start offset error on streams with non-zero top/left cropping in MD5 calculation. - Fixed the pixel start offset error on streams with non-zero top/left cropping, and/or with user specified cropping in YUV frame output. - Sorted out code which deals with cropping area specifiied by the bitstream, and cropping area specified by the user. * * rocDecode: Additional changes after discussion. - Set display rect for decoder create/reconfig to displayable area or user specified ROI area. - Do not set target rect for decoder create/reconfig. Leave it for future use. - Unified naming of display rect in decoder create/reconfig structs. * * rocDecode: Put back the extra rounding to target width/height specifiied by the coded stream, for peace of mind, based on code review. * * rocDecode: Added the missing stream specified cropping offset to the starting pixel pointer for none-internal memory modes. --------- Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>