GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_media.git
2 years agodecoder: CB2 hdr information is acquired abnormally. [1/1]
kuan.hu [Mon, 6 Jun 2022 12:44:07 +0000 (20:44 +0800)]
decoder: CB2 hdr information is acquired abnormally. [1/1]

PD#SWPL-83432
BUG=232905331

Problem:
The HDR parameter is read when the
color_description_present_flag is not recognized,
resulting in the wrong parameter being transmitted
when the color_description_present_flag is 0.

Solution:
According to the HDR protocol, adjust
the read logic of related parameters.

Verify:
adt3

Signed-off-by: kuan.hu <kuan.hu@amlogic.com>
Change-Id: I5694100d826afc32674074f1e5508ab05f7dadb0

2 years agomedia_modules: CB1 VP9 fix secure stream blurred screen [2/2]
Xiaohang Cui [Sun, 1 May 2022 13:45:35 +0000 (21:45 +0800)]
media_modules: CB1 VP9 fix secure stream blurred screen [2/2]

PD#SWPL-80006
b/229652967

Problem:
VP9 secure stream blurred screen, because prob has been moved
to tee.

Solution:
1.add vp9 prob interfaces, move vp9 prob process to Tee
2.modify debug flow for secure avoid crash.

refer to:
https://scgit.amlogic.com/#/c/165922/

Change-Id: I1e88722b8653ea74b38da96711d7861bbb4f2b0f
Signed-off-by: Xiaohang Cui <xiaohang.cui@amlogic.com>
3 years agomedia_module: CB1 vp9 and av1 pts adjustment incorrect. [1/1]
kuan.hu [Fri, 10 Sep 2021 06:06:23 +0000 (14:06 +0800)]
media_module: CB1 vp9 and av1 pts adjustment incorrect. [1/1]

PD#SWPL-59072

Problem:
The logic of adjusting pts is wrong.

Solution:
Modify the logic of adjusting pts.

Verify:
ADT3

Signed-off-by: kuan.hu <kuan.hu@amlogic.com>
Change-Id: Ia5302afc6e309088e0576276545eadf5bd9f0d7e

3 years agomedia_module: CB1 mpeg4 and vp9 resolution switching anomaly. [1/1]
kuan.hu [Thu, 9 Sep 2021 07:20:53 +0000 (15:20 +0800)]
media_module: CB1 mpeg4 and vp9 resolution switching anomaly. [1/1]

PD#SWPL-59072

Problem:
1.mpeg4:The set resolution was used when
outputting the frame, not the actual resolution.
2.vp9,av1:Since pts has entered the error correction
process,the normal pts information has been modified.

Solution:
1.mpeg4:output the actual decoding resolution.
2.vp9,av1:optimize PTS error detection logic.

Verify:
ADT3

Signed-off-by: kuan.hu <kuan.hu@amlogic.com>
Change-Id: Idb9988e99cfebb7a145c48f871ec7a52b38fe11b

3 years agodecoder: CB1 fix some crash in peek. [1/1]
gan.zhang [Thu, 26 Aug 2021 12:04:14 +0000 (20:04 +0800)]
decoder: CB1 fix some crash in peek. [1/1]

PD#SWPL-58570

Problem:
When fifo is abnormal, the back-end peek to the wrong data crash.

Solution:
Check whether the fifo is abnormal and return empty when abnormal.

Verify:
adt3

Change-Id: Ie84d4bae905094790af13271ad7bdee9f94ff254
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
3 years agompeg12: CB2 fix output pts error in AndroidS CTS Test. [1/1]
gan.zhang [Wed, 21 Jul 2021 08:36:13 +0000 (16:36 +0800)]
mpeg12: CB2 fix output pts error in AndroidS CTS Test. [1/1]

PD#SWPL-54626
BUG=199275310

Problem:
The pts information of the decoded B frame is 0, The backend will
calculate the pts of the B frame according to the duration, so that the
calculated pts information will be incorrect and cause the test to fail.

Solution:
The decoded output pts information uses the one provided by
the upper layer.

Verify:
Franklin

Change-Id: I8c273abc3e43b6777fc1bdab81208a769d52b2e5
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
3 years agommpeg4: CB1 mpeg4 crc check fail. [1/2]
gan.zhang [Tue, 10 Aug 2021 13:30:22 +0000 (21:30 +0800)]
mmpeg4: CB1 mpeg4 crc check fail. [1/2]

PD#SWPL-56277

Problem:
The mPEG4 decoder working buffer is not initialized
before decoding and it may cause the CRC check
to be affected by dirty data.

Solution:
Clear decoder internal working buffer before decoding.

Verify:
ADT3

Change-Id: I5ae0f1951705e332263e17720237936d523cab52
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
3 years agoh265: CB0 fix some h265 playback issue [1/1]
Hui Zhang [Mon, 14 Jun 2021 09:17:40 +0000 (17:17 +0800)]
h265: CB0 fix some  h265 playback issue [1/1]

PD#SWPL-51883

Problem:
some h265 stream playback issue

Solution:
increase dblk_data2 buf size

Verify:
u212

Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
Change-Id: I808dc9a5b7dc4171a0596e580a0783dbf5edaed7

3 years agoadt3-S media_modules source code [1/1]
Liang Ji [Tue, 15 Jun 2021 04:52:27 +0000 (12:52 +0800)]
adt3-S media_modules source code [1/1]

internal tot CL:
h265: Revert fix special long ref issue [1/1]

SWPL-49771

Problem:
some file playback unsmooth.

Solution:
Revert commit 915cf6061ec37e7f937b6c73d7db10ec1b8db335

Verify:
A311D-W400

Change-Id(I38171dd2c8b5bbc1aafe07185d9c9dfaf6bb88ce)
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: Id514584bd7ee4de8bda95c75d9e25adf635b8ccc

5 years agoInitial empty repository
Inna Palant [Fri, 21 Jun 2019 20:48:05 +0000 (13:48 -0700)]
Initial empty repository