Commit Graph

29 Commits

Author SHA1 Message Date
Som Qin b081fb1e4e FFmpeg: Omxdec:Use strde and slice form decoder to calculate avframe buffer linesize
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-10-18 10:36:00 +08:00
Andy Hu d083b9bd87 Revert "Merge branch 'CR_6961_ffmpeg_Som.Qin' into 'jh7110-mm-devel'"
This reverts commit bc26efca96, reversing
changes made to 2641804e08.
2023-09-22 18:36:36 +08:00
Som Qin f9958449da FFmpeg: Omxdec:Use strde and slice form decoder to calculate avframe buffer linesize
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-09-21 16:12:06 +08:00
Som Qin 3a9cb1952c FFmpeg: Omxdec: fix jpg decode output is empty.
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-30 17:49:37 +08:00
Som Qin 3f1a7a4951 FFmpeg: Omxdec: fix decode process stuck in some hls cases.
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-30 17:48:13 +08:00
Som Qin 0ed0fe882c FFmpeg: Omxdec: optimize buffer method for mjpg decoder
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:31 +08:00
Som Qin a1956c4b71 FFmpeg: Omxdec: no longer send eos when processing zero size pkt
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:26 +08:00
Som Qin 49af7f57e6 FFmpeg: Omxdec: Remove the global variables in omxdec
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:23 +08:00
Som Qin a00db16d4e FFmpeg: Omxdec: Add flush callback of sf omx decoder
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:18 +08:00
Som Qin 1633a84ba8 FFmpeg: Omxdec: Fix mjpg_omx buffer err
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:15 +08:00
Som Qin 206fb55497 FFmpeg: Omxdec: Fix omx decoder fill frames pts incorrect
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:09 +08:00
Som Qin d7f3ff06a7 FFmpeg: omxdec : add output buffers release callback to reduce memcpy
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:32:04 +08:00
Som Qin ebd28b57f9 FFmpeg: omxdec: optimize with omx zero copy feature
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-04 14:31:57 +08:00
arvin.zhu a0e4638787 FFmpeg:omxdec: set pts of avframe and fix some compilation warnings
set pts of avframe from video container and fix some compilation warnings

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-11-23 15:21:34 +08:00
arvin.zhu 1071a44ee8 FFmpeg:omxdec: modify the range of width and height of scale
modify the range of width and height of scale for omx decoder

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-11-17 15:40:44 +08:00
andy.hu acacc6c7a9 Merge branch 'CR_2438_FFmpeg_Arvin.Zhu' into 'jh7110-mm-devel'
CR 2438 FFmpeg:omxdec: fix scale option bug of mjpeg_omx

See merge request sdk/buildroot!82
2022-11-02 10:08:06 +00:00
arvin.zhu 66dddc7d81 FFmpeg:omxdec: fix scale option bug of mjpeg_omx
fix scale option bug of mjpeg_omx

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-11-02 17:26:39 +08:00
arvin.zhu 566fd27650 FFmpeg:omx: gop parameter of hevc encoder
rapair gop parameter of hevc encoder do not take effect

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-11-02 12:45:24 +08:00
arvin.zhu 47cfc8cd38 FFmpeg:omxdec: add mirror rotation and crop options
add mirror rotation and crop options

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
arvin.zhu e3382dff68 FFmpeg:omx: add scale option for omx
add scale option for omx decoder

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
arvin.zhu a6dfaebf22 ffmpeg: remove delay
remove delay for decoding in omx.c file

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
arvin.zhu 7db77f4328 ffmpeg: add-pixel-foramt
add pixel format option for codecs of VPU

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
arvin.zhu de10ff115b ffmpeg: add omx_pix_fmt option for mjpeg_omx decoder
add omx_pix_fmt option for mjpeg_omx decoder and modify code foramt

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
andy.hu e8054e5704 Merge branch 'CR_1880_FFMPEG_omxdec_Arvin.Zhu' into 'jh7110-mm-devel'
CR 1880 ffmpeg omxdec: add delay for decoding

See merge request sdk/buildroot!67
2022-10-28 22:14:43 +08:00
arvin.zhu 7728f79619 ffmpeg omxdec: add delay for decoding
add delay for decoding

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
arvin.zhu 1238781b04 ffmpeg omx: support to set gop of hevc
support to set gop of hevc

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:43 +08:00
arvin.zhu 2dd50f0663 ffmpeg: enable omx
Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:42 +08:00
arvin.zhu 8a188054eb ffmpeg: add omx patch related encoding and decoding
Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:42 +08:00
Huan.Feng 7b6fc358fa initial buildroot for linux 5.15 2021-12-06 14:12:13 +08:00