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>
PD#SWPL-4203
Problem:
in h264 mmu mode, some 264 4k stream playback failed in stream mode.
(frame mode is ok)
Solution:
1) add extif sw reset in mmu mode for each run
2) remove some vdec can debug printk (no related with 264 mmu)
Verify:
U212
Change-Id: Ic030f23f1b5c2fa1329dced5a7bf64dd9a16c5ae
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#TV-2151
Problem:
the ts stream cannot be played after
switch channel
Solution:
setting parser source according to
stb_source and demux id
Verify:
Verify android p at x301
Change-Id: I63438acdcbee37eb5825b0b5c7eb506894fe0526
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
PD#SWPL-4049
Problem:
image stuck for 10 seconds before exiting movieplayer
Solution:
do not set single mode last_vdec in vdec init
Verify:
u212
Change-Id: I0aeeb13f1a1db8ea239b125f1d49fee214c7f5b5
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-2682
Problem:
there is issue in fast output handle
Solution:
optimaztion vmh264 dpb manangement to always output first decode I frame asap.
all frames that poc less than the I will be discard. it is helpful for KPI
of projects
Verify:
U212
Change-Id: Ib9732602ec9c3947ef52d37ef3b5e69ba15593b4
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-1738
Problem:
buildroot build failed
Solution:
modify print point value force to ulong from u32
Verify:
p212
Change-Id: I574fd6e8a080af02ae998c26a20d87986e7b08e7
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-3780
Problem:
cast youtube drm video,the video play is very not smooth
Solution:
fixed the issue of the pts to set fail with drm mode.
Verify:
p212
Change-Id: I556e3f2cdbc9b90cb90224ffdb3728ec96724ff6
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-1738
Problem:
support frame crc32 check and dump yuv.
Solution:
1.do crc32 check for frames output from decoder, trigger
yuv dump if it is not match with preset crc32 file;
2.trigger yuv dump before play or playing.
Verify:
u212
Change-Id: I5b2374d248698c4d6a4e67bc4dc18907d50ce2ea
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-2372
Problem:
phy addr 0 - 0x100000 is reserved before. once it is released for system use.
it will be polluted by video decoder (avs2 & vp9).
Solution:
init hw addr (not 0) in decoder to avoid 0 address polluted
Verify:
local verified on U212.
Change-Id: I1e54d0aaefe8d4c513ea32d02c2a5867bb2f9197
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-1478
Problem:
vdec and hevc need be decoded in parallel
in order to speed up
the decoding efficiency.
Solution:
Modify the decoding scheduling code
to achieve parallel decoding.
Verify:
Verified u200.
Change-Id: Icfa689e848adda1f76a2733c278c9bf41fb27978
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#SWPL-3789
Problem:
local play 4k h265 black/green screen or
crash after press home key quit from netfix.
Solution:
add a vfm_map_id for vfm map in tunnel mode
Verify:
ampere
Change-Id: Ief3f87d9700a5a491827bc4dbbe8366f55987375
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-3625
Problem:
h265 encoder need alloc 64M from codec_mm CMA, and need to get virt address.
For 32bit kernel, it is easily fail to vmap due to CMA is PageHighMem.
Solution:
Dont use virt address, just use phy addr to manage the little buffers from 64M.
Verify:
Verified U212.
Change-Id: I0cf983dea1c3ebb91ea82b4ab45a98afbacd7652
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
PD#SWPL-3564
Problem:
Black screen occured when playing 2160x3840 4K video.
Solution:
fixed the issue of the mb size checking.
Verify:
u212
Change-Id: Ief18170dc8a8e41ce4d558794f1b07a78f77de04
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-2206
Problem:
decoding thread was blocked to wait scatter memory to be cached done. it
may take 30+ ms and lead to cts/vts fail
Solution:
not to wait scatter cached done. it save timing of system
Verify:
Verified U212
Change-Id: I1811c9796a93452342f91a66d984cf48561903d3
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-3033
Problem:
video flickering after avs seek on s805x, s905x no this issue.
Solution:
init vdec clock down to 333M when avs(original clk is 500M). it's enough
performance for avs decoding up to 1080p60.
Verify:
Verified s805x
Change-Id: Iffb8c74adb5a7ec0bfaa66dfa96ef56006a4e275
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-1174
Problem:
The screen is frozen when play the source in Longevity_Tests
Solution:
add condition to check if first ready to run in vh265 stream mode
Verify:
Verified u212
Change-Id: I994710733e593a257d6f9b38c9044012f0941e09
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-3375
Problem:
In random seek test. sometimes bus lock hangup happend
Solution:
remove core_reset handle which may cause this issue
Verify:
Verified X301
Change-Id: I859a1de71cb31d4495439c348d8f88aef5ddd2af
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-1923
Problem:
1. update build script.
2. can not play rv40 of the real
Solution:
1. support commitId and changeId;
2. add txlx_real_v8.bin & txlx_real_v9.bin;
ucode change-id
Iec4a5edd4db601ed7978b92274c5590872a5c311
Verify:
U212
Change-Id: Ifa75a8875059d334a1031200a350c55d0c4fe0fc
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#OTT-100
Problem:
there are two h265 hdr stream playback issue in frame mode. decoder reports
error, and display masoic
Solution:
app write inregular frame to decoder,csd at end of frame, which cause these
data will be miss when end of decoding frame. we add a frmbase_cont_bitlevel
check at picdec_done to avoid data missing
Verify:
P212
Change-Id: I64200c7c2ff0525fdc1ce907f15850b998b5e21b
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-2599
Problem:
maybe the deadlock risk in the asyncfifo
Solution:
remove the spin lock in disable_irq
Verify:
Verify android p at x301
Change-Id: I3b61de07efa09837b6bfbd7c52f9dc6a867ae912
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
PD#SWPL-2971
Problem:
1. some vp9 8k video display abnormal.
2. avs2 consume mem excessive and mosaic and crash
when play avs2 8192x4608 bitdepth 10 bitstream.
Solution:
1. NorthernItaly8k.mkv is 7968x3984, need set
blkmod 64x32(mem_map_mode 2) for 64 aligned;
2. a special 8192x4608 bitstream which tile_x
less than 15 need work around;
3. make avs2 mem consume fit with resolution and
fixed crash when max resolution with 10bit.
ucode gerrit id: 57342
Verify:
verify on x301.
Change-Id: I9da01e691e96d93bc6a120ed2fde0aa6dac52021
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-1081
Problem:
integer cast to pointer error
Solution:
use unsigned log to cast to pointer
Verify:
P212 Android(32/64) buildroot(32/64)
Change-Id: I5d8230e4bb71a62eccfb2846e6c48acca64a0468
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#SWPL-1081
Problem:
omx need get profile to know whether kernel support drm framemode
Solution:
add drm_framemode in codec profile
Verify:
P212
Change-Id: I9e817d01714296646f150680ca1e7a301de9b341
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#IPTV-347
Problem:
output frame latancy when run videophonetest.
Solution:
sps_max_dec_pic_buffering_minus1_0 to
get buf num when sps_num_reorder_pics_0 is 0.
ucode gerrit id: 56487
Verify:
need verify by u212 iptv code
Change-Id: I199c45ee48ba4c535d0303347af27f9a572ed2c8
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#IPTV-311
Problem:
decode a 4K mbaff video file will produce many random
mosaic frame
Solution:
1. Add mbaff macro decode timing support for multi-instance
for 4.9 Kernel
2. ucode gerrit id:55144
3. We commited a uncorrect version of ucode bin in commit
dfa0cc3e, and reverted it in commit 8ab874f. Now, we
recommit this correctly ucode bin version.
Verify:
Verified ampere
Change-Id: Ie9db7e1b11d230a3c3f1a60804607e4661976da2
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>