Commit Graph

139 Commits

Author SHA1 Message Date
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
Andy Hu d8e65c2d43 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-11-17 21:47:25 +08:00
andy.hu f146fb9672 Merge branch 'CR_2530_ISP_SDK_Kevin.xie' into 'jh7110-devel'
CR_2530_ISP_SDK : Start a daemon for stf_isp_ctrl during bootup

See merge request sdk/buildroot!83
2022-11-17 13:33:36 +00:00
andy.hu 80f3b26491 Merge branch 'CR_2604_FFmpeg_omxdec_Arvin.Zhu' into 'jh7110-mm-devel'
CR 2604 modify the range of width and height of scale for omx decoder

See merge request sdk/buildroot!86
2022-11-17 09:52:47 +00:00
andy.hu 9761e36931 Merge branch 'CR_2176_Add_Interlaced_judgment_Leo.Lu' into 'jh7110-mm-devel'
CR_2176_Add_Interlaced_judgment_Leo.Lu

See merge request sdk/buildroot!84
2022-11-17 09:52:38 +00: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 bef9acef54 Merge remote-tracking branch 'origin/jh7110-devel' into jh7110-mm-devel 2022-11-09 23:55:47 +08:00
mason.huo f6e892bda3 package: starfive: Add power management package
The package is for power management.
Currently adjust the cpufreq paramenters.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-11-09 18:15:20 +08:00
leo.lu 111d163b36 Add interlaced mode judgment for gstomxvideodec 2022-11-03 17:30:12 +08:00
Kevin.xie 5ec4da22b2 ispsdk: Start a daemon for stf_isp_ctrl during bootup
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-02 18:40:04 +08:00
andy.hu 5be55542fe Merge branch 'CR_2484_Add_default_param_for_kmssink_Leo.Lu' into 'jh7110-mm-devel'
CR_2484_Add_default_param_for_kmssink_Leo.Lu

See merge request sdk/buildroot!80
2022-11-02 10:08:17 +00: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
leo.lu 2a20df3edf add default param for kmssink 2022-10-31 18:09:25 +08:00
andy.hu 88225bcca4 Merge branch 'CR_2343_FFmpeg_omxdec_Arvin.Zhu' into 'jh7110-mm-devel'
CR 2343 FFmpeg:omxdec: add mirror rotation and crop options

See merge request sdk/buildroot!78
2022-10-28 22:14:43 +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
Som Qin bf940640f9 gstomx:modify omx dec components' name for using zero copy mode
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2022-10-28 22:14:43 +08:00
andy.hu adbbd698eb Merge branch 'CR_2321_FFmpeg_Arvin.Zhu' into 'jh7110-mm-devel'
CR 2321 FFmpeg:omx: add scale for omx

See merge request sdk/buildroot!76
2022-10-28 22:14:43 +08:00
leo.lu afb700c0cc support mirror rotation scale cut property for gstomxmjpegdec 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
leo.lu 5634544707 support mirror rotation scale for gstomxmjpegdec 2022-10-28 22:14:43 +08:00
andy.hu 83053d56e0 Merge branch 'CR_2053_Modify_gstomxvideodec_Leo.Lu' into 'jh7110-mm-devel'
CR_2053_Modify_gstomxvideodec_Leo.Lu

See merge request sdk/buildroot!69
2022-10-28 22:14:43 +08:00
leo.lu 47624c1a01 Modify gstomxmjpegdec format 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
Windsome Zeng b5a369fe36 [GST] [DRM] Reset DRM to initial state on each playing, using atomic API. 2022-10-28 22:14:43 +08:00
andy.hu a2907c268c Merge branch 'CR_1982_fix_show_previous_last_frame_Windsome.Zeng' into 'jh7110-mm-devel'
CR_1982_fix_show_previous_last_frame_Windsome.Zeng

See merge request sdk/buildroot!60
2022-10-28 22:14:43 +08:00
Windsome Zeng 0b276f308f [GST] [OMX] [DRM] Clear all framebuffer content. Set staging flag for gdb remote debug. 2022-10-28 22:14:42 +08:00
Andy Hu 1279cf3f36 libcamera-apps: change download url to https
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-10-28 22:14:42 +08:00
leo.lu b40d37b2fb Add NV21 for gstomxvideoenc class 2022-10-28 22:14:42 +08:00
leo.lu b24086356d Add nv21 for omxh254_5dec patch 2022-10-28 22:14:42 +08:00
arvin.zhu 09e00b9b6c busybox:add comm and timeout
add comm and timeout

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-10-28 22:14:42 +08:00
Kevin.xie 4a16076c7f libcamera & apps: Open drm device by module name 'starfive'
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-10-28 22:14:42 +08:00
Som Qin 8969fdd3a3 Modify sf component name to adapt omx
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2022-10-28 22:14:42 +08:00
Kevin.xie 6ffbcf70bd libcamera: Bind sensor config to static i2c number 6
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-10-28 22:14:42 +08:00
Kevin.xie 891e0d3ee0 libcamera: Starfive pipeline instance adaptation for jh7110
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-10-28 22:14:42 +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
andy.hu 9ee1ba882a Merge branch 'CR_745_FFMPEG_Arvin.zhu' into 'jh7110-mm-devel'
ffmpeg: add omx patch related encoding and decoding

See merge request sdk/buildroot!7
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
Windsome Zeng 3576db96f1 Combine SPS/PPS header to IDR frame.
(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/ed8e94ec351c61073a1408df54fb01b5c1deff2c)
2022-10-28 22:14:42 +08:00
sw.multimedia 13bb8c3e34 gst-omx: hanle some extra profile about avc.
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/39f08c81f5a05ad0b06a95c4a3599602641c07af)
2022-10-28 22:14:42 +08:00
sw.multimedia c53870e83b omxmjpegdec: add property 'framerate' for omxmjpegdec.
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/fe368e0af9c3bd485245b1fb37b2496300b91e67)
2022-10-28 22:14:42 +08:00
sw.multimedia 05ff20c2cb gst/libcamera-app: fix build warning
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/c7ff2afdc55ffdc98491bc15c617db871805906b)
2022-10-28 22:14:42 +08:00
sw.multimedia ce49ebc0ad omxmjpegdec: fix corresponding relations between gst-format
and omx-format for-NV21

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/8dd812d3d6873cab52e558e95d85499309378759)
2022-10-28 22:14:42 +08:00
sw.multimedia ee9db89b3c sf-gst-omx: add omxmjpegdec to support decoding mjpeg.
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/66e086938c0dee776b46c6ce6fee22316041a67c)
2022-10-28 22:14:42 +08:00