decoder: no parser stream mode interface improve . [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Tue, 17 Nov 2020 08:15:47 +0000 (16:15 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 20 Nov 2020 03:24:13 +0000 (19:24 -0800)
commit4c48dedea988d145698e4ad1ade4b181d73fcbd6
treebe7523b9002a744926bdc20f2e8becb389862b93
parent56a94a3cd0c7bda0b9cc3ad635e0d88afd70b1b4
decoder: no parser stream mode interface improve . [1/1]

PD#SWPL-37019

Problem:
demux first packet data is not start from
stream buf start addr;
tsplayer do not need 2nd filed offset.

Solution:
1.correct decode start wp rp at first packet;
2.set 2nd field offset invalid for tsplayer pts lookup.

Verify:
ah212

Change-Id: Ib9abc1066252da76d5951144af29eb83947c81ba
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/frame_provider/decoder/avs_multi/avs_multi.c
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c
drivers/frame_provider/decoder/utils/vdec.c
drivers/stream_input/amports/stream_buffer_base.c