GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_media.git
4 months agomedia: Remove Android makefile with old-style build rules
Bruno Martins [Sat, 16 Dec 2023 22:51:32 +0000 (22:51 +0000)]
media: Remove Android makefile with old-style build rules

These build rules are no longer needed, devices now build the modules
as real external kernel modules.

Change-Id: I11546f3dbfe40e8cbcf0653b0a7274a81a7ad328

7 months agoAllow g12b to opt-out of using this
Nolen Johnson [Tue, 23 Apr 2024 00:01:22 +0000 (20:01 -0400)]
Allow g12b to opt-out of using this

Change-Id: Iaceeaeece176c49f6a031e4f3217bed8bff72334

13 months agomedia: Strip modules using llvm-strip
Bruno Martins [Fri, 20 Oct 2023 23:22:47 +0000 (00:22 +0100)]
media: Strip modules using llvm-strip

With this, the GCC dependency is gone for good.

Change-Id: Ia15dfd29b5c71e6e02a2dda43fd897c59f7d6a9e

13 months agoframe_provider: decoder: h264: Fix bitwise-instead-of-logical error
Bruno Martins [Fri, 20 Oct 2023 14:19:42 +0000 (15:19 +0100)]
frame_provider: decoder: h264: Fix bitwise-instead-of-logical error

Change-Id: Ifd479eb8f12f40be5a6d64a25609129f68b0a4d3

21 months agoamlogic: Compile kernel modules with clang
Christian Hoffmann [Sat, 11 Feb 2023 10:56:22 +0000 (11:56 +0100)]
amlogic: Compile kernel modules with clang

Change-Id: I4eab30040035e189ce63a06b2445aa2b1780fc79

2 years agoGuard for g12a, g12b and sm1 SOCs
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 agoMerge "h265: CB2 change 265 HDR signal type. [1/1]" into android-tv-deadpool-4.9...
TreeHugger Robot [Wed, 22 Jun 2022 15:06:16 +0000 (15:06 +0000)]
Merge "h265: CB2 change 265 HDR signal type. [1/1]" into android-tv-deadpool-4.9-android12

2 years agoh265: CB2 change 265 HDR signal type. [1/1]
kuan.hu [Sat, 18 Jun 2022 09:04:46 +0000 (17:04 +0800)]
h265: CB2 change 265 HDR signal type. [1/1]

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: I188624329fb3493eb53800ab7914b41f4a30ab35

2 years agoMerge "decoder: Revert "decoder: CB2 hdr information is acquired abnormal [1/1]"...
Hongguang Chen [Sun, 19 Jun 2022 19:15:54 +0000 (19:15 +0000)]
Merge "decoder: Revert "decoder: CB2 hdr information is acquired abnormal [1/1]" into android-tv-deadpool-4.9-android12

2 years agodecoder: Revert "decoder: CB2 hdr information is acquired abnormal [1/1]
Lele Liu [Sat, 18 Jun 2022 03:41:35 +0000 (11:41 +0800)]
decoder: Revert "decoder: CB2 hdr information is acquired abnormal [1/1]

SWPL-83432
BUG=232905331

Problem:
regression issue.

Solution:
revert commit 91811f324c6f8988861246831420e09b763b4d62.

Verify:
adt3

Change-Id: I7b61fbb463acebde6eee75ae3cf78d511a4e7388

2 years agoMerge "decoder: CB2 hdr information is acquired abnormally. [1/1]" into android-tv...
TreeHugger Robot [Fri, 17 Jun 2022 14:37:59 +0000 (14:37 +0000)]
Merge "decoder: CB2 hdr information is acquired abnormally. [1/1]" into android-tv-deadpool-4.9-android12

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 agoFix private modules install path
Hongguang [Tue, 24 May 2022 02:21:03 +0000 (19:21 -0700)]
Fix private modules install path

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: I6d93347c1617a28e139cd4979ae0b09c960cf684

2 years agoPrivate modules should be installed into private
Hongguang [Mon, 23 May 2022 23:16:58 +0000 (16:16 -0700)]
Private modules should be installed into private

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: I870ef0ee9ba4a460734b5e2ead23d73f8db7c0f7

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