PD#SWPL-5259
Problem:
Distinguish g12b ver b ver a.
Solution:
Distinguish g12b ver b ver a.
Verify:
g12a vera verb
Change-Id: I9ae2890384d245933fcccce6d574366714599b25
Signed-off-by: Conglin Guo <conglin.guo@amlogic.com>
PD#SWPL-5261
Problem:
bringup sm1.
Solution:
1. add cpu chipid sm1.
2. modify the operation of the DOS power on/off
to compatible with soc sm1.
3. ucode commit id:
6e4fda861bcf23d1bb01f4a8c2fe516219e818c7
Verify:
AC200
Change-Id: I386a324bae2d78e4d66f9adeeb23f898b4cccc61
Signed-off-by: Nanxin.Qin <nanxin.qin@amlogic.com>
PD#TV-2649
Problem:
There is no ppmgr in the path.
Solution:
add ppmgr in the path.
Verify:
on u212
Change-Id: If930b1ed868fe319b6baa8d285a605ef2c3ff075
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-5533
Problem:
system crashed in vpu resume
Solution:
Only vpu open_ref_count more than zero,do resume
Verify:
g12b_w400
Change-Id: I9c2cd6242482293499ffddfea5309e5072014eba
Signed-off-by: kunpeng.tang <kunpeng.tang@amlogic.com>
PD#SWPL-5826
Problem:
DVB vmh264 playback will appears video flicker when back to
start playback, it's dpb innoemal when stream error. output
poc is not in sequence.
Solution:
flush dpb first when dpb has error. avoid dpb error data inside
Verify:
X301
Change-Id: Ib8a56c6d4b269a4961e500786939ebc5ea92ed45
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#TV-3382
Problem:
mpeg4 unsupport resolution which bigger than 1080p.
Solution:
check and limit the resolution in probe.
Verify:
x301
Change-Id: I7b4ea8c707e4f488eb5f3a3886686de272894f37
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-4402
Problem:
play not smooth
Solution:
do not use P frame pts
Verify:
Verify on X301
Change-Id: I70b91506d1ecdc9baf8c66a27b706416a769bac6
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
PD#SWPL-5926
Problem:
In frame mode and frmbase_cont_bitlevel > 0 case. with some stream
driver will finish search start code until H264_SEARCH_BUFEMPTY. it
will cost 2+ vsync time. decoder will be blocked. actually, in frame mode
decoder don't need to wait for timeout. decoder should return with
H264_SEARCH_BUFEMPTY once bitlevel is very low.
Solution:
skip search start code vsync timeout wait in frame mode
ucode gerrit: 63873 63932
Verify:
X301
Change-Id: Id7a8f08aef41c16f00b56745ac8ffbced632e97e
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-5281
Problem:
test cts android.media.cts.DecodeAccuracyTest have failed cases
Solution:
disable mmu when using ionvideo
Verify:
verified on local
Change-Id: I41a0ec051810369a69f2a7dce29fb6a913593445
Signed-off-by: peter wang <peter.wang@amlogic.com>
PD#SWPL-4597
Problem:
1. Probabilistic full-screen display mosaic after seek 8K H265
2. the wrong of the write point caused to flush cache area is error.
Solution:
corrected the error of flush cache range.
Verify:
X301
Change-Id: I946a488329d02bc21f40546ac7185818e3f2f3ff
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-4956
Problem:
Need atrace to debug multimedia issue
Solution:
Add atrace prints
Verify:
P212
Change-Id: Idd414734dd88223c3640878be26a82991f44a880
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#SWPL-1885
Problem:
We need a function to statistics video fps.
Solution:
Add a function to statistics video fps
Verify:
Verified U212
Change-Id: I626af8dec92df3c4bc68de33e6db387137137660
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#SWPL-5358
Problem:
no DES decrypt code for dvb descrambler
Solution:
added DES mode to dvb descrambler driver
Verify:
Local build on R314
Change-Id: Ie534e1f50428af1ea4eed1c720257dc93be9bd96
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
PD#SWPL-5160
Problem:
not standard pts value which should be a 33bit value
Solution:
added bit32 exporting
Verify:
Local build on R314
Change-Id: I0776251894b604601e64faf81e68b40255d812f4
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
PD#OTT-1699
Problem:
not support multi-vdec user data read
Solution:
Add getting available user data vdec interface
Verify:
Verified U212
Change-Id: I10d22cd545bcc1421dd291866c9f039e38f61e44
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#SWPL-3593
Problem:
the memory data might be discordant.
Solution:
modified the way of flush mem which from lowmem or highmem.
Verify:
x301
Change-Id: Id5c21322a6cd4bf11639bc4981b6c2995a42f2dd
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-5014
Problem:
decoder crash or bus locked when h264 poor signal
Solution:
wait for hw stop nefore local reset
Verify:
X301
Change-Id: I7c4bfa29fdb52d8af83299cdd795f9394be7773e
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#OTT-1921
Problem:
Add control node, Distinguish between the current frame error and
the error caused by the reference frame.
Solution:
vmh264,h265 Multiple instances Add control node
Verify:
s905x2
Change-Id: Ie9c6264db018009082d12a08d75cce5b6e9aeff0
Signed-off-by: Conglin Guo <conglin.guo@amlogic.com>
PD#SWPL-4908
Problem:
frame rate policy end hint check fr_hint_status and reset flag
When releasing hinted vdec the reset flag is true. Then reset flag
is false, hinted vdec has release at first time. In this case
vdec could not call end hint.
Solution:
hint check reset flag, end hint check fr_hint_status.
Verify:
X301
Change-Id: I0403182910eabba2620eae9b512533ca90c91dcf
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
PD#TV-2461
Problem:
there is red and green clore line on screen sometimes with
h264 playback. never disapear untill codec reset
Solution:
enable buf2 sw reset for GXTVBB and later
ucode change id: I09cbe750a2bff2a2727e21879f7bee8b730113f7
Verify:
T962 or T968
Change-Id: I7af8ea54b9eb2c1c25d502e13cf69f5a76631bd7
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-4342
Problem:
crc32 code optimize.
Solution:
1. crash when check crc32 in single mode.
2. no clear frame_check when repeat play for debug mode;
3. block run ready when crc32 error for debug mode;
4. fix some bugs and optimize code.
Verify:
x301
Change-Id: Ie01860f70c74385540fa6022e99d2affcabfa19a
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-3708
Problem:
Playback avs video file by dtv alway report fatal
error, but the source video file is no problem.
Solution:
reset user data buffer address on local reset.
ucode change id: I3878c48e85fab1d42e0b840063cd8133cc7e28fc
ucode gerrit id: 59232
Verify:
Verified R311
Change-Id: I195cd71b8ea57166f24a9830d2b2d244bfd9b714
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#TV-2151
Problem:
no user mode clearing interface for audio and video pid
Solution:
add interface of clearing audio and video pid
Verify:
Verify android p at x301
Change-Id: Ie619e49bea9f3ef358dbf4154d9f1181bd99dc43
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
PD#SWPL-5118
Problem:
Compilation errors for Linux
Solution:
Fix compilation errors for Linux.
Verify:
verified by p212
Change-Id: If33cea2af81ee017d8c54c550e7d56fb5fc07a46
PD#SWPL-5118
Problem:
Unable to pass data stream through demo board and motherboard
Solution:
Add ko about ci and cimax-usb.
Verify:
verified by t962x_r314
Change-Id: Ic99376c2995ff710d98abd90c3e5b1bb26875213
PD#SWPL-4466
Problem:
video Loop play stop,dump decoder state, There is no bufspec
available, general sps_max_dec_pic_buffering_minus1_0 and
sps_num_reorder_pics_0 diff is 1,Some special h265 video,
sps_max_dec_pic_buffering_minus1_0 - sps_num_reorder_pics_0 >= 4,
video Loop play,no bufspec available.
Solution:
1.sps_max_dec_pic_buffering_minus1_0 - sps_num_reorder_pics_0 >=4,
add one decode buf.
Verify:
T962x2
Change-Id: I87c631da4c022fa0e59b939bea5750c5cb1ae227
Signed-off-by: Conglin Guo <conglin.guo@amlogic.com>
PD#SWPL-4719
Problem:
8k h264 crash
Solution:
we do not support 8k h264, no need to enlarge MAX_FRAME_4K_NUM to match 8K,
if cur_mmu_4k_number > MAX_FRAME_4K_NUM, return error
Verify:
Verified x301
Change-Id: I1fb1d19a472cc00b0052cbe347b0e7541c99adac
PD#SWPL-4349
Problem:
some stream with crop info. it cause decoding size is different
with display size. if using display size, timeout will be happened
in mmu hardware. it's root cause of cts fail
Solution:
use acurate decoding size to mmu hardware instead of display size
Verify:
X301
Change-Id: Ib93f061c50c7ccb941950c8eeb3591fe4e65e00c
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-85
Problem:
Need support two video layers feature
Solution:
Add the second video path
Verify:
u212
Change-Id: I19ea61678409d72ac272a4329dbe8a849ee5e002
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#IPTV-1129
Problem:
there is no i only support for avs2
Solution:
add I only support for avs2
ucode change-id
If18ca0a56f2a8f994c6e5fd86a5209bd9cadd9be
Verify:
X301
Change-Id: Ifc8511bd915c7a9f753d785eeefb5fcf57ca3c21
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-3926
Problem:
parse metadata error while playing some dovi files
Solution:
Whether the aux data is avaible or not should be checked
before reading it.
Verify:
Verified U212
Change-Id: I4be646ea1506497f7951ae6c0be1bb55c99d7e60
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#SWPL-4003
Problem:
switch to other format play from mvc will flash color lump;
Solution:
keep last frame for both view0 and view1;
Verify:
x301
Change-Id: Iad6ce80a8e33b67a7cd050971d5f349a4f00becf
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-4243
Problem:
If the interrupt flag is not cleared before
closing the device, this flag will affect the
initialization operation of the next encode.
Solution:
Clear interrupt flag before close device
Verify:
u212
Change-Id: Ie2e40c6441fd65fb02c6955ed0b7d12cae290bf5
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
PD#SWPL-4004
Problem:
Wrong uio info map data cause dcv lib crash.
Solution:
Fix the wrong uio info map.
Verify:
Local tested.
Change-Id: If6caf37c2b730275a98963c0a2d478a2bca5ecd3
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-3057
Problem:
We need to acquire statistics of the decoding time.
Solution:
Add a function to acquire statistics of the decoding time.
Verify:
Verified u212
Change-Id: Ibcd898b36944c5ae1f6ca3cbeecadd78e8578a9a
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#SWPL-3477
Problem:
when checkinpts, data len will be repeatedly
calculated,causing droping frame.
Solution:
after parsing date, update video_data_parsed and
task->buffered_data_size at the same time.
Verify:
P215 Linux
Change-Id: Ib07f434743e6b199a9961b3caa3e10bf6785b96c
Signed-off-by: baoguo.chen <baoguo.chen@amlogic.com>