Commit Graph

28 Commits

Author SHA1 Message Date
yuna.liu 0501d1a071 decoder: CF2 decoder identify and report dv. [2/2]
PD#SWPL-206598

Problem:
support report dv flag.

Solution:
decoder support report dv fla.

Verify:
ohm

Change-Id: I9ce5abaff597d964299e0f3404c255f5473d80be
Signed-off-by: yuna.liu <yuna.liu@amlogic.com>
2025-04-24 05:05:18 -07:00
Peng Yixin 8d92b08f12 media_module: CF1 Setting eos state [1/2]
PD#SWPL-197453

Problem:
It is not clear whether es data has
been all consumed, and EOS state need
be set

Solution:
Set eos state for user space
to read

Verify:
OHM

Change-Id: I7aeb977f8162a3420505f701ec5fbb4f54b9a6a7
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2025-02-18 02:13:07 -08:00
gan.zhang afdceb26b1 decoder: CB2 Pass the under input information to the upper layer. [1/3]
PD#SWPL-179486

Problem:
In stream mode, when the decoder cannot decode the data, it
needs to pass the under input information to the upper layer.

Solution:
Pass the under input information to the upper layer.

Verify:
Ohm

Change-Id: I55530bcd0085c87dfa752ca831ee76b070c1bce4
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
(cherry picked from commit a47ac8298b)
2024-11-04 23:34:24 -07:00
zehong.luo 125b7fea95 decoder: CF2 add vdec unsupport format status [1/2]
PD#SWPL-141096

Problem:
add vdec unsupport format status use by media_hal

Solution:
add vdec unsupport format status use by media_hal

Verify:
txhd2

Change-Id: I2ecf78ac8e91ca912f331dc8a8ed8a6494610dd5
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
(cherry picked from commit e6a13e09e4)
2024-06-27 12:10:30 +00:00
Wanwei Jiang c73f5afdef module: disable module_param [1/1]
PD#SWPL-151470

Problem:
many of module parameters are no longer in use, but have not been deleted,
which affects memory and performance. all module parameters are now
disabled and can only be used after the application is approved.

Solution:
disabled all module parameters

Verify:
a4 a5

Test:
none

Change-Id: I27ee98a0437542d7b8a3da437c1525e0afded6b1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-09 19:58:31 +08:00
lele xiang 79835ce49e decoder: CF1 decoder transfer fcc flag to DI. [1/2]
PD#SWPL-144474

Problem:
For fcc,don't need keep di_multi memory

Solution:
Decoder transfer fcc flag to DI.

Verify:
ohm

Change-Id: I37d1da0dc5c99dd086ee1291d403525a009bc64b
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-11-13 00:02:52 -07:00
dehong.chen 58fc45535f decoder: CF2 add use tsync flag [2/9]
PD#SWPL-130171

Problem:
add use tsync flag for 5.15

Solution:
add use tsync flag for 5.15

Verify:
t5d

Change-Id: Ia2a4cc742a9213c5b40b16ce5a46502f9a857374
Signed-off-by: dehong.chen <dehong.chen@amlogic.com>
2023-09-21 02:09:48 -07:00
xing.xu 0541849d33 decoder: CF1 Provide UAPI headers for AMSTREAM (DECODER) module [1/1]
PD#SWPL-130933

Problem:
Provide UAPI headers for AMSTREAM (DECODER) module

Solution:
Provide UAPI headers for AMSTREAM (DECODER) module

Verify:
ohm

Change-Id: I943967d8abeba8d88ed2c5a76961b6ddbb227d9b
Signed-off-by: xing.xu <xing.xu@amlogic.com>
2023-08-02 03:32:21 -07:00
yuhua.lin 67a433c8c6 video: provide UAPI headers for video module [1/1]
PD#SWPL-129892

Problem:
provide UAPI headers for video module

Solution:
provide UAPI headers for video module

Verify:
T3

Change-Id: I62453993dfc5c9a57abd9e5e5276156001ae48ac
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-07-09 15:08:54 -07:00
yunmin.chen 99977112c9 mediasync: CB2 low-memory platform video pipeline optimize [1/2]
PD#SWPL-117032

Problem:
Add mediasync to the amvideo pipeline

Solution:
Add mediasync to the amvideo pipeline

Verify:
SC2

Change-Id: Ie2afd7ea67adacfc1a8515c38589c5370a39fe0c
Signed-off-by: yunmin.chen <yunmin.chen@amlogic.com>
2023-06-01 06:43:14 -07:00
zhipeng.he ea2660a4d9 vdec: CF2 add dtv_amlvideo_amvideo pipeline [1/1]
PD#SWPL-109640

Problem:
no dtv_amlvideo_amvideo pipeline

Solution:
add dtv_amlvideo_amvideo pipeline

Verify:
AQ2432

Change-Id: If27dd75107bd5507d47a5f2a465d6cec30058772
Signed-off-by: zhipeng.he <zhipeng.he@amlogic.com>
2023-04-05 22:13:19 -07:00
junwei.ma 69cacc04bf ISP: G12B & SM1 Bringup - Kernel - Display - mipi camera of SM1 [1/1]
PD#SWPL-108141

Problem:
5. 15 no camera driver

Solution:
porting camera driver to kernel-5.15

Verify:
ok

Change-Id: I92789c946a8f2456f6bb68adc52ece77cd730f81
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:16 +08:00
zehong.luo 2e2da8e1c9 media: s5 bringup decoder drivers. [1/1]
PD#SWPL-106566

Problem:
s5 media_modules 5.4 code porting to media_modules 5.15
- Kernel - Media driver

Solution:
add AVS3 format define

Verify:
s928x

Change-Id: Ib92699fafe1e4c7ef29275f7449a2e2166a89c43
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2023-02-15 06:09:55 -08:00
jialong.jiang b70f6e94c6 hdr: Kernel5.15 S5 hdr. [1/1]
PD#SWPL-109811

Problem:
Kernel5.15 S5 hdr.

Solution:
Kernel5.15 S5 hdr

Verify:
sc2.

Change-Id: I60d70b18410bb9b26d21d4de53134ee116d1996f
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-02-12 23:41:21 -08:00
Hanjie Lin caa8b668c5 debug: gki optimize [2/4]
PD#SWPL-99365

Problem:
gki optimize

Solution:
1, code optimize
2, watchdog_hld to ko

Verify:
sc2_ah212

Change-Id: Ibb1b16bd61d794defb39d53f17ad86179ba4a661
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2022-12-27 04:32:55 -08:00
Hao Shi cca4855785 media: CF2 t5d support multi instance. [1/1]
PD#SWPL-105093

Problem:
t5d not support multi instance

Solution:
t5d support multi instance

Verify:
t5d

Signed-off-by: zhipeng.he <zhipeng.he@amlogic.com>
Change-Id: I0ff974f3b63a867eeb0ed2720cdfe82d1571a6cc
2022-12-17 06:10:36 -08:00
yuhua.lin 5682731907 media: type check issue [1/1]
PD#SWPL-103512

Problem:
fix typo problem

Solution:
fix typo problem

Verify:
null

Change-Id: I2f203535f2fefaca1fd4a018e08e670be36bc8b5
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2022-12-07 02:12:37 -07:00
jian zhou 8f2992fd87 audio: fix alsa driver typo [1/1]
PD#SWPL-103472

Problem:
alsa driver typo

Solution:
fix alsa driver typo

Verify:
T7C

Change-Id: I3c21521203d73cc0d658913662301ffa42a5bd18
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-12-01 22:51:22 -07:00
yuna.liu c4da0cd780 media_modules: CB2 tsplayer supports DV playback [1/1]
PD#SWPL-100780

Problem:
Requirement:modify the DV link when tsplayer plays.

Solution:
When tsplayer plays, amvideo in the DV link is changed to v4lvideo.*.

Verify:
ohm

Change-Id: I84dbe550308aceff8bd39c1dd331274439599153
Signed-off-by: yuna.liu <yuna.liu@amlogic.com>
2022-12-01 20:36:32 -07:00
zhentao.guo b23734648a media_module: Support SAR information offerring via interface [1/3]
PD#SWPL-93858

Problem:
According to mpeg spec,aspect ratio can be described as SAR or DAR.
Now decoder only offer DAR for mpeg2

Solution:
Offer DAR and SAR to the application, and tell which kind of aspect
ratio is offerred at the moment

Verify:
ohm

Change-Id: I5aca911eefac01017b16840f038ca5270a5e5a59
Signed-off-by: zhentao.guo <zhentao.guo@amlogic.com>
2022-11-17 21:17:32 -07:00
Bin.Wang2 424de41130 amvecm: t7c sync code for bring up [1/1]
PD#SWPL-94196

Problem:
sync code from kernel 5.4 to 5.15 for t7c bring up

Solution:
sync code

Verify:
t7/t7c

Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
Change-Id: Ib3cd0c53058c9115dc4b06bbdbce6fc139a2b51f
2022-09-20 22:53:26 -07:00
lele xiang 06f71d68f9 decoder: CF1 The driver supports es input using dmabuf mode. [1/2]
PD#SWPL-92321

Problem:
driver supports dmabuf es input.

Solution:
driver supports dmabuf es input.

Verify:
ah212

Signed-off-by: lele xiang <lele.xiang@amlogic.com>
Change-Id: Ie64f3a948dad3aff0a54fedfefa6abda1f1f76ac
2022-09-08 14:01:44 -07:00
pengzhao.liu b946ffb848 typo: clear typo problem [1/1]
PD#SWPL-89627

Problem:
clear typo problem

Solution:
clear typo problem

Verify:
s4d

Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
Change-Id: I9121c9d4b54df9b9a7c244182693e0fd616f5a9e
2022-09-07 20:06:45 +08:00
hao.shi 04b1f3a147 register: dos_regiters managemant debug. [1/1]
PD#SWPL-78946

Problem:
Dosbus registers new management

Solution:
Dosbus registers new management

Verify:
s4

Signed-off-by: hao.shi <hao.shi@amlogic.com>
Change-Id: Id729a804b336c008cf378303b79f55bb3e245388
2022-05-29 19:10:18 -07:00
wanwei.jiang af26eeaf9d media: enable the same config as kernel 5.4 [1/1]
PD#SWPL-77521

Problem:
enable the same config as kernel 5.4

Solution:
enable the same config as kernel 5.4

Verify:
s4d

Change-Id: I73f6eb8a896956337503477f32c218fe465cddda
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-04-11 20:57:12 +08:00
hao.shi f34460cb00 codec_mm: CF2 codec_mm & vfm [1/1]
PD#SWPL-72686

Problem:
add codec_mm & vfm

Solution:
add codec_mm & vfm

Verify:
s4d

Change-Id: Icecc654eaa7468a17da97d0513adae849651d456
Signed-off-by: hao.shi <hao.shi@amlogic.com>
2022-03-25 01:01:07 -07:00
jian zhou 16215b0bf8 audio: porting amaudio audiodsp audioinfo [1/1]
PD#SWPL-74329

Problem:
porting amaudio audiodsp audioinfo for 5.15

Solution:
porting amaudio audiodsp audioinfo from kernel 5.4

Verify:
s4d and C2 AF400

Change-Id: I2e68d726437802e42dd2da879387955ea471a31c
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-03-11 00:18:11 -07:00
yuhua.lin 3dba0c8c3c codec_io: add codec_io support [1/1]
PD#SWPL-72033

Problem:
add codec_io support

Solution:
add this support

Verify:
C2

Change-Id: I3addeef06e249f6c4cfa4ef026826e6368ec801f
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2022-02-27 19:50:59 -07:00