GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_media.git
22 months agoGuard for g12a, g12b and sm1 SOCs lineage-19.1 staging/lineage-20
Vitaliy Tomin [Fri, 27 May 2022 17:51:46 +0000 (01:51 +0800)]
Guard for g12a, g12b and sm1 SOCs

Change-Id: Ic900996019110fe5f05c9865efe04950eac8ae80

2 years agoAdd makefile to build modules inline
Aaron Kling [Thu, 24 Jun 2021 20:08:43 +0000 (15:08 -0500)]
Add makefile to build modules inline

Change-Id: Id1f6e907214b4077f2d7012c0e8ec3edad49b3ff

2 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

2 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

2 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>
2 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>
2 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>
2 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

2 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

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