v4l: fixed the issue of timestamp with the first frame. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Thu, 11 Jun 2020 09:23:17 +0000 (17:23 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 16 Jun 2020 12:15:04 +0000 (05:15 -0700)
commit372ed7e878427e0dd4cc82f5f760abc2a2bf861d
tree43b69ccedc9e58644f6e7c06a654bf68c5324481
parentcf66e94dfa2b854808d914dbfd9aad2fc432b50a
v4l: fixed the issue of timestamp with the first frame. [1/1]

PD#SWPL-27740

Problem:
wrong of timestamp with the first frame.

Solution:
the first frame timestamp has not taken into consideration before
therefore caused lost time information on the frame, so must be
pass the timestamp into decoder.

Android P,Q share CL.

Verify:
u212

Change-Id: I79e3f1fa5be6456af024806dd46cdb8dfd3eba42
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/amvdec_ports/aml_vcodec_util.h
drivers/amvdec_ports/decoder/vdec_h264_if.c
drivers/amvdec_ports/decoder/vdec_hevc_if.c
drivers/amvdec_ports/decoder/vdec_mjpeg_if.c
drivers/amvdec_ports/decoder/vdec_mpeg12_if.c
drivers/amvdec_ports/decoder/vdec_mpeg4_if.c
drivers/amvdec_ports/decoder/vdec_vp9_if.c
drivers/amvdec_ports/vdec_drv_base.h
drivers/amvdec_ports/vdec_drv_if.c
drivers/amvdec_ports/vdec_drv_if.h