vpp: add vframe src_fmt struct and function [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Fri, 27 Dec 2019 18:24:22 +0000 (02:24 +0800)
committerBrian Zhu <brian.zhu@amlogic.com>
Mon, 30 Dec 2019 16:26:23 +0000 (00:26 +0800)
commit3e5254d120656ec87fc3c9f7669a4e58d4c7b4e6
tree811d33b09d29e88a6e4ee43cbf388d022f5b834e
parent3b648de4898494710fbc721efa2401566db46266
vpp: add vframe src_fmt struct and function [1/1]

PD#SWPL-17729

Problem:
In new video pipeline, vfm map is changed. So vpp
can not get aux data from decode directly. It cause
the format of dv or hdr10+ content is incorrect.

Solution:
Add src_fmt struct in vframe, and whole src_fmt interface.
Let front-end updates src_fmt directly. Then vpp, dv or
hdr10+ module can get the sei data from it.

Verify:
Verifed on AC214

Change-Id: I96b7f84fa72c51ceec9e3ec28288ea0e7a726139
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/enhancement/amvecm/hdr/am_hdr10_plus.c
drivers/amlogic/media/video_processor/v4lvideo/v4lvideo.c
drivers/amlogic/media/video_processor/v4lvideo/v4lvideo.h
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/video_receiver.c
include/linux/amlogic/media/vfm/vframe.h