v4l2_stateful_decoder: compute md5 hash based on display width and height

This CL makes change to compute md5 hash value using
display width and height instead of buffer width and height.
Display height becomes different from buffer height when
display height is not multiples of 32 pixels. Qualcomm
(Trogdor) and MediaTek chips have 32 pixels height alignment.

BUG=b:187753938
TEST=v4l2_stateful_decoder --file=./crowd_run_256X144_fr15_bd8_8buf_l1_20210312.ivf -w on trogdor

Change-Id: Ie4d035e9a638baace20dc08dc8b010c1c306f74d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/2885656
Tested-by: Steve Cho <stevecho@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Steve Cho <stevecho@chromium.org>
1 file changed