decoder: resolve UV revertion issue for NV12 [1/1]
authorSong Zhao <song.zhao@amlogic.com>
Sat, 29 Feb 2020 08:53:33 +0000 (00:53 -0800)
committerSong Zhao <song.zhao@amlogic.com>
Tue, 10 Mar 2020 05:37:10 +0000 (21:37 -0800)
commit3441f4085ee5c8f435863832bab372bfad4f762d
tree76335929a22ada4c80936f59a463babb9e1145fa
parent0c6783227733526f8250b9e59c6f1e6cf7200e00
decoder: resolve UV revertion issue for NV12 [1/1]

PD#SWPL-21954

Problem:
Vframe->type is not correctly set for NV12

Solution:
Put NV12 format to vframe->type

Verify:
U212 with v4l2-uvm-test

Change-Id: I76ea36ffc2eeea6382ead52693a8082838aa0e95
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/amvdec_ports/aml_vcodec_drv.h
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c
drivers/frame_provider/decoder/vp9/vvp9.c