PD#SWPL-38564
Problem:
the stream is 720x1280, display is adnormal
Solution:
when width < height, change canvas config for
correct display
Verify:
AH212
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
Change-Id: I77df15a7683a74f9e41c8118e19330a39cc85cf6
} else { /*1080p*/
canvas_width = 1920;
canvas_height = 1088;
+ if (hw->vmpeg4_amstream_dec_info.width < hw->vmpeg4_amstream_dec_info.height ) {
+ canvas_width = 1088;
+ canvas_height = 1920;
+ }
decbuf_y_size = 0x200000;
decbuf_size = 0x300000;
}