Commit Graph

58 Commits

Author SHA1 Message Date
leo.lu afb700c0cc support mirror rotation scale cut property for gstomxmjpegdec 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
leo.lu 47624c1a01 Modify gstomxmjpegdec format 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
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
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
Andy Hu e8ea49860c gstreamer: fix build warning
Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/9d20c03dc2f5d4f108d05d4d8d1e37c59356efe0)
2022-10-28 22:14:42 +08:00
Andy Hu 20fdec1b0e sf-gst-omx: update to fix issue for gst-play
1. recorrect the queue index for patches name
2. USE_BUFFER is only available for dma buffer.
   If not dma buffer, don't come into it.

sw.multimedia <sw.multimedia@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/5249d14e587639c534b8084a541ec84bc1e953f0)
2022-10-28 22:14:42 +08:00
andy.hu a2efe48b31 sf-gst-omx: add support for wave521 encode
1. Modify package config name to BR2_PACKAGE_SF_GST_OMX
2. Support wave521 264/265 encode in gst-omx

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
2022-10-28 22:14:42 +08:00
sw.multimedia 4cf0377617 Add Multimedia Feature:
1. add starfive private packages: v4l2_test, pp_test, sf-gst-omx, sf-omx-il, stfisp_setfile, wave511, wave521
  v4l2_test: used to test v4l2 device
  pp_test: used to switch format and resolution for framebuffer framework
  sf-gst-omx: from gst-omx and compatible with the omx-il library
  sf-omx-il: starfive openmax il library for VPU hardware decode
  stfisp_setfile: this is the host build package, used to generate the isp registrer setting bin for v4l2 framework
  wave511: this is chip&media decode hardware wave511 vendor code building
  wave521: this is chip&media encode hardware wave521 vendor code building

2. Add the following gstreamer patch:
  add patch to support gstreamer plugin fbdevsink NV12 format
  add patch to support gst-play take priority to decoding h264/h265 with gst-omx plugin

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
Signed-off-by: andy.hu <andy.hu@starfivetech.com>
Signed-off-by: michael.yan <michael.yan@starfivetech.com>
Signed-off-by: david.li <david.li@starfivetech.com>
Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>
Signed-off-by: keithzhao <keith.zhao@starfivetech.com>

(cherry picked from http://192.168.110.45/jh7100/buildroot/-/commit/fce6b25d98f81388fa4372739631c49222bf8eea)
2022-10-28 22:14:41 +08:00
mason.huo c0584b271e packge: stafive: Add libcamera-apps package
Sync the latest libcamera-apps from JH7100.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28 22:14:41 +08:00
mason.huo 37d7b064ea package: Move v4l2test to starfive package
1.Create starfive package, and move v4l2test into it.
2.Sync the latest v4l2test package from JH7100.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28 22:14:41 +08:00
Andy Hu a1c0a0708e vpu/jpu: support automatic building and loading VPU/JPU ko driver
install the vdec.ko, venc.ko, jpu.ko to /lib/modules/5.15.0/extra/
and remove the loading script, support insmod,modprobe,rmmod

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-10-25 10:19:38 +08:00
Andy Hu 5ca8180f8b ispsdk: add ispsdk v2.0.0 package to buildroot
the ispsdk apps will install to /root/ISP/

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-08-30 10:07:05 +08:00
andy.hu 960b8da68d Merge branch 'CR_1932_v4l2test_jianlong' into 'jh7110-devel'
CR_1932 package: starfive: v4l2test: Fix stuck without -C

See merge request sdk/buildroot!56
2022-08-26 02:29:30 +00:00
andy.hu fcc51bb16e Merge branch 'CR_1853_buildroot_drm_test_shengyang.chen' into 'jh7110-devel'
CR_1853_riscv:buildroot:drm-test

See merge request sdk/buildroot!54
2022-08-26 02:09:54 +00:00
Jianlong Huang d0565a1a48 package: starfive: v4l2test: Fix stuck without -C
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-08-23 13:36:59 +08:00
shengyang.chen 40ab08a0e8 riscv:buildroot:drm-test
fix modeset-single-buffer noise

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-08-19 17:40:13 +08:00
andy.hu e3b074fd1b Merge branch 'CR_1867_V4L2_mason.huo' into 'jh7110-devel'
CR_1867 package: v4l2_test: Add ss0 & ss1 in pipeline script

See merge request sdk/buildroot!48
2022-08-19 07:43:24 +00:00
andy.hu f1e797a077 Merge branch 'CR_1799_v4l2test_Kevin.xie' into 'jh7110-devel'
CR_1799 v4l2test: Solve blurred screen problem in 45 or 60 fps.

See merge request sdk/buildroot!44
2022-08-19 07:07:58 +00:00
andy.hu 7b57253399 Merge branch 'CR_1603_V4L2v4l2test_jianlong' into 'jh7110-devel'
CR_1603 starfive: v4l2test: Support select connector to display for drm

See merge request sdk/buildroot!45
2022-08-19 07:03:06 +00:00
Windsome Zeng 4d78fbf8e8 [GPU] Update OpenGL ES library which is compiled in Linux 5.10 2022-08-17 20:42:49 +08:00
Windsome Zeng b3059a93d5 [GPU] Upgrade OpenGL ES library to DDK 1.17. 2022-08-17 14:10:04 +08:00
mason.huo 02e6028d21 package: v4l2_test: Add ss0 & ss1 in pipeline script
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-08-16 15:22:05 +08:00
Jianlong Huang 8d7bb3e204 starfive: v4l2test: Support select connector to display for drm
Add -C param to select connector
0---inno hdmi
1---rgb hdmi or mipi dsi

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-08-15 10:30:21 +08:00
Kevin.xie a2d183cea1 v4l2test: Solve blurred screen problem in 45 or 60 fps.
1. Fix the error buffer count for v4l2 when using pingpong buffer.
2. Add readable flag for pingpong buffers exchange to avoid overproduction.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-08-11 16:49:02 +08:00
arvin.zhu 4691306abf drm_test: Add drm_test package
Add drm_test

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-08-11 10:36:51 +08:00
Jason Zhou 6b8cb8042a Merge branch 'CR_1286_linux5.10.y_integrate_wayland_with_gpu_support_Windsome.Zeng' into 'jh7110-devel'
CR_1286_1793: GPU binaries integrated to SDK

See merge request sdk/buildroot!42
2022-08-05 10:08:19 +00:00
Andy Hu 59f08cf179 img-gpu-powervr: update to install img-gpu-powervr-bin.tar.gz
update starfive package img-gpu-powervr to install the binary to
buildroot filesystem

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-08-05 11:36:51 +08:00
Jason Zhou 68203debae Merge branch 'CR_1766_v4l2test_Kevin.xie' into 'jh7110-devel'
CR_1766 v4l2test: Fix the freezing frame from the first running on dmabuf mode

See merge request sdk/buildroot!37
2022-08-05 02:57:51 +00:00
mason.huo 5c3b022a79 package: v4l2test: Fix zero size file for rawdata format 2022-08-03 16:08:21 +08:00
Kevin.xie dc859873a6 v4l2test: Fix the freezing frame from the first running on dmabuf mode
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-08-02 10:04:50 +08:00
Windsome Zeng c50e5ba7a5 Add Wayland with GPU support.
Cherry-pick from http://192.168.110.45/sdk/buildroot/-/commit/ed70e2b79cbc7a504792899e2cd3577777fd54bd
2022-08-01 11:38:55 +08:00
Jason Zhou 9234eab162 Merge branch 'CR_1751_v4l2test_Kevin.xie' into 'jh7110-devel'
CR_1751: v4l2test: Fix the 'not support error' on null-display with mmap io_method.

See merge request sdk/buildroot!35
2022-07-30 09:36:37 +00:00
arvin.zhu 4feacade91 v4l2_test:modify open drm function
Modify the interface that opens the DRM

Signed-off-by: arvin.zhu <arvin.zhu@starfivetech.com>
2022-07-29 19:02:21 +08:00
Kevin.xie 70d68d9a99 v4l2test: Fix the 'not support error' on null-display with mmap io_method.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-29 16:09:28 +08:00
Andy Hu b5864c2cbe package: add mailbox and e24 packages to buildroot
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-07-26 22:27:25 +08:00
Kevin.xie 29d0679078 v4l2test: Do not show the remains frame from last DRM display process
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-26 14:51:50 +08:00
Kevin.xie 520be2db62 v4l2test: Add pingpong buffer to solve blurred screen problem
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-26 14:51:24 +08:00
Kevin.xie 6eb860e00e v4l2test: Use formal pagefilp calling sequence to increase display fps.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-26 14:50:50 +08:00