mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
media_module: h265: [1/1]
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>
This commit is contained in:
@@ -8243,6 +8243,8 @@ pic_done:
|
||||
- ii];
|
||||
}
|
||||
}
|
||||
if (hevc->param.p.sps_num_reorder_pics_0 == 0)
|
||||
hevc->param.p.sps_num_reorder_pics_0 = 7;
|
||||
#ifdef SEND_LMEM_WITH_RPM
|
||||
dma_sync_single_for_cpu(
|
||||
amports_get_dma_device(),
|
||||
@@ -8388,8 +8390,7 @@ pic_done:
|
||||
hevc->lcu_size_log2 = log2i(hevc->lcu_size);
|
||||
if (hevc->pic_w == 0 || hevc->pic_h == 0
|
||||
|| hevc->lcu_size == 0
|
||||
|| OVER_SIZE(hevc->pic_w, hevc->pic_h)
|
||||
|| (hevc->param.p.sps_num_reorder_pics_0 == 0)) {
|
||||
|| OVER_SIZE(hevc->pic_w, hevc->pic_h)) {
|
||||
/* skip search next start code */
|
||||
WRITE_VREG(HEVC_WAIT_FLAG, READ_VREG(HEVC_WAIT_FLAG)
|
||||
& (~0x2));
|
||||
|
||||
Reference in New Issue
Block a user