PD#SWPL-949
Problem:
1) with some 264 4k stream, mmu doesn't work in stream mode
2) there is no secure access right in 4k mmu
Solution:
1) fixed access rights issue in uboot in 264 mmu mode
2) disable 264 4k mmu mode
Verify:
Verified u212
Change-Id: I7b610581d96e017101a1b0a3ff7745e1b1c51b4c
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-895
Problem:
optimization for vdec schedule debug and fw load
Solution:
1) change vdec_core_thread priority
2) add reload flag in vdec to check if reload fw at every run
3) add mc_type to check if fw need reload at every run
Verify:
Verified p212
Change-Id: Ic14f14831bf59d913450228ba07e0f94dde5347e
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-869
Problem:
Notified HDR10+ message to receiver
Solution:
1. parse sei data to check hdr10+ data header
and then change transfer_characteristic to
0x30 in signal_type for each picture.
2. add video_signal_type debug infomation
Verify:
Verified U212
Change-Id: Ibcc65e624c2c82304fbda1b0ab02a603e975bd27
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#OTT-71
Problem:
google cast display green lump when seek.
bufmgr reset after seek opration.
Solution:
keep the normal pic before reset and free buffer;
Verify:
U212, Atom
Change-Id: I0b1d21fb73ed8e7b2bf9815b53e0832444f1e41a
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-971
Problem:
youtube play 4k60 vp9 video file, Serious
frame loss
Solution:
entend decode buffer number to 12
Verify:
Verified Ampere
Change-Id: I876c16e3b45eebda2640260ceab84c093463abfe
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD#174425
Problem:
Support AVS2 on G12A and GXLX2 for multi-instance
Solution:
1. ucode support AVS2 HDR information push ucode
gerrit id:47825
2. AVS2 C Driver support multi-instance
3. fix buffer leakage issue due to multi-task reentry
4. add stream buf empty check
Verify:
Verified U212
Change-Id: I28998ac9f7a66fa8738afdbc812bcc1ca7436b24
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
PD# SWPL-479
Problem:
dvr function will cause crash
Solution:
open async_fifo init function
Verify:
verify by u200 at android p.
Change-Id: I97812b2241d5857646e19230232805fa4b39849f
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
PD#172483: if reserved mem is not maped;
must check the memory before used.
Change-Id: Ie6955059c73858e071c6d3b13e0698d659e6891a
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>
PD#174220
Problem:
After analyzing SPS, we found the value of sps_num_reorder_pics_0 is 0.
it is an error value, cause video play block.
Solution:
if it value is 0, we will set 7 for pass cts test.
Verify:
Verified S905X2
Change-Id: Iff03ec4448f687d4fca2de2dbf3210cb65a90568
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#173436 PD#SWPL-349
Problem:
not enought codec mm for cts decoder test which
running in both none-nativewindow and nativewindow mode
Solution:
reduce omx output buffer and decoder buffer for gsi
Verify:
QA verified
Change-Id: I7cf120722c42db2ed75cc09e25a3fbb34cdf9598
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
PD#174220:
After analyzing SPS, we found the value of sps_num_reorder_pics_0 is 0, it is an error value, which also caused the video play block.
Change-Id: I6e6d9bccf1284977f64fed9805fd329749fe020c
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#173030: vmh264: parse vui info max_dec_frame_buffering to
calc reorder_pic_num when bitstream_restriction_flag is enabled.
Change-Id: Ib14e54be3f5149cf4150ac63fe66d88171c14c2b
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#170885
1. support the h264 decoding with multi-instance.
2. the reference count of clk mux has't clean was fixed.
3. replace capture worker to thread process.
4. optimize the machine status of the vcodec.
5. remover some locks unnecessary to promote efficiency.
6. the picture infos used to vda that was fixed.
Change-Id: I061ebdc088c8c7e14eab73032308715da5f4aafb
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#172137:
the first I frame output when decoder statu is HEVC_DECPIC_DATA_DONE.
Change-Id: Ib6625b670268b8d9c251c05e261a137199677f6c
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
mpeg12 fw tee load will be fail without name, must pass
a name.
Change-Id: I5bf12ce9158237687c93acc0c54d4c29460cecea
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#170744: decoder:
1. fix mh264 mosaic when play mjpeg at sametime in frame mode;
2. sync the mjpeg multi play code;
3. add the mpeg2&mpeg4 multi play code;
4. force exit when load ucode fail;
5. set time out for vdec_disconnet wait_for_completion;
6. reset core when active vdec to disconnect list and before run;
7. fix some coverity error;
8. remove ucode load when mmu enable in vmh264 init.
Change-Id: Ic8f296526ddac5b3904a323ce2850b1d9178a284
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#169710: vh265: output the correct sei information for dv
Change-Id: I60368cdfa04e76d4b5b5bad5c2c066a50a878431
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
PD#172077
the value of dynamic_buf_num_margin was not set before, it causes the allocation of memory fail when config 1G DDR, so modify the code to set its value in driver.
Change-Id: I86d1f1dac5936bad693f6643826ee35596fb0bac
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#172068
needs to use VIDEO_DEC_H263 on the firmware loading.
Change-Id: Ia55c47046a848bb300947e5f3b79a73ae2203c05
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#167539
max_frame_num value exceeds the maximum value in the specification, and that cause block.
judge the validity of max_frame_num value to solve this issue.
Change-Id: Ic08e3f419e18d823cee4d0309b940dffa2058249
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#171042:
1. removed the way which used cpu type to choice fw.
2. removed redundant code.
ucode gitid
45b7330fd00f96d2e9859ac1ec91d1e46f70a1b2
Change-Id: Ie737701e682244223e437b2d6c5eb02420e10fbb
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#170460:
vmh264: decoder get ip only flag from application and
enable ip only fast output in dpb.
Change-Id: I15a160c65bd0e23324a356c5f78957884395e8d2
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>