Commit Graph

264 Commits

Author SHA1 Message Date
zejian.su a35ad1b77c Modify the IPA' framework.
1. Move the files of 'ipa/starfive/helper' to 'ipa/starfive'.
    2. Add a folder named 'openAlgo' to supply the interface of 'algorithms',
            but it does nothing. It will generate the starfive_isp_algorithms.so.
    3. Let the ipa_starfive.so invoke the functions from starfive_isp_algorithms.so.
    4. Add the starfive_isp_algorithms.so.x.x.x to folder 'starfive_post_script'.
            It's the full IPA algorithms library. Use it to substitute starfive_isp_algorithms.so
            generated by the building to get the full functions of the IPA.
    5. Remove the ipa_starfive.so.x.x.x from folder 'starfive_post_script'.
    6. Modify the ls starfive_post_script/replace_and_sign_ipa_starfive_lib.sh to
            starfive_post_script/replace_algorithm_lib.sh for it just need to replace the so
            file. And the sign file is not need to create.

    Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-23 17:03:22 +08:00
Andy Hu 59bd9f64fe package/libcamera: update new version
Add color space configuration in the pipeline

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-16 16:48:21 +08:00
zejian.su 79a633c38a Fix the libcamera-still bug at low resolution (redmine #8306).
Set the raw stream's resolution too.

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-16 10:15:29 +08:00
zejian.su 4c4ac467c9 Make the qt preview work in SDK/VF2/DEVDIT.
1. Fill the NV12 data into the QT buffer.
2. For the low performance of QWidget, reduce the FPS to 15.
3. Remove the EGL preview option because its code can't work well.

The qt supported patch has been verified on the VF2 with qt5 (linuxfb plugin).

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-16 10:11:47 +08:00
zejian.su f671a1a5e9 Let-the-option-width-height-work-again
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-09 12:55:42 +08:00
zejian.su 5b3def098d Fix the bug in libcamera-vid.
It prompt: failed to open v4l2 H264 encoder.
The reason is loss if encoder options and definement.

Sign-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-09 12:54:42 +08:00
Andy Hu 5643edd94d package/libcamera: do fix-rpath before ipa library sign
add host-patchelf to dependencies

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-04 15:50:43 +08:00
Andy Hu 0d676d1cac package/libcamera: sync with v0.0.5 libcamera in upstream libcamera
fix issue:
package/libcamera/Config.in:7:error: recursive dependency detected!

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-02 17:08:19 +08:00
Andy Hu e83e130692 package/libcamera: update version from starfive github repo
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-11-02 11:47:22 +08:00
zejian.su e50c6c1b2b Make 5 libcamera-apps work. They are libcamera-hello, libcamera-jpeg, libcamera-still, libcamera-raw, libcamera-vid
Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-01 17:58:58 +08:00
zejian.su 53780ad297 1. Update the libcamera to tag: 0.0.5.
2. Add IPA to the libcamera.

Signed-off-by: zejian.su <zejian.su@starfivetech.com>
2023-11-01 17:57:13 +08:00
Andy Hu 149bf80967 Merge tag 'JH7110_515_SDK_v5.8.1' into jh7110-mm-devel 2023-10-18 19:32:00 +08:00
Som Qin 51cb20e8bf gstreamer: kms: Gets environment variables "SF_OMX_SLICE" to support special cases
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-10-18 10:49:07 +08:00
Som Qin 5ac204f16b gst-omx: Set a env "SF_OMX_SLICE" when nSliceHeight > nFrameHeight.
Env variables are set to bypass the negotiation mechanism to direct display
with drm(kmssink).

Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-10-18 10:46:58 +08:00
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
shanlong.li 4d710a485c gpu📦 update gpu package hash
update gpu package hash

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-10-16 20:05:17 -07:00
Andy Hu 44968ea608 Merge tag 'JH7110_515_SDK_v5.8.0' into jh7110-mm-devel 2023-10-11 18:20:18 +08:00
andy.hu 88cd951a4c Merge branch 'CR_7821_busybox_add_command_for_ltpddt_Andy.Hu' into 'jh7110-devel'
CR_7821: busybox: add some command for ltp-ddt

See merge request sdk/buildroot!135
2023-10-11 08:33:23 +00:00
Andy Hu f78ad160c9 busybox: add some command for ltp-ddt
add command: stat, comm, timeout

Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-10-11 09:16:00 +08:00
Andy Hu 298d72c54f v4l2test: add option to specify the frame number
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2023-10-10 19:45:32 +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
leo.lu 1083175dc0 gstv4l2object : support vuya format 2023-09-15 16:31:19 +08:00
Andy Hu 95a1694928 Merge tag 'JH7110_515_SDK_v5.7.2' into jh7110-mm-devel 2023-09-07 11:16:52 +08:00
leo.lu 0d26f30d43 weston: set 1080P default resolution for HDMI 2023-09-04 17:48:25 +08:00
leo.lu 7f9012190e gstv4l2object : support bt709 colorimetry variant 2023-09-04 16:22:06 +08:00
Andy Hu 3822bf3de1 Merge tag 'JH7110_515_SDK_v5.7.0' into jh7110-mm-devel 2023-08-30 21:11:05 +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
leo.lu 11af9add8c Weston: Calibrate coordinate for touch event 2023-08-29 17:26:48 +08:00
Andy Hu c100194c3d Merge tag 'JH7110_515_SDK_v5.6.1' into jh7110-mm-devel 2023-08-22 18:46:29 +08:00
leo.lu 4efd5c7c21 Weston: ignore LIBINPUT_EVENT_POINTER_SCROLL_WHEEL libinput event 2023-08-22 17:40:14 +08:00
Andy Hu 5da7bbe6a4 Merge tag 'JH7110_515_SDK_v5.5.0' into jh7110-mm-devel 2023-08-07 16:22:18 +08:00
Som Qin a8e5dbd9bf v4l2_dec_test: Fix build warning
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 15:33:04 +08:00
Som Qin 797394c3c3 busybox:add wave5 v4l2 driver module to modprobe blacklist
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:27:22 +08:00
Som Qin 05175cad82 v4l2_dec_test: add docode speed test
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:27:15 +08:00
Som Qin 82d661fa4b v4l2_dec_test: distinguish video frame from stream
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:27:09 +08:00
Som Qin 1fedb481ca v4l2_dec_test: add v4l2_dec_test for wave511 v4l2 decoder
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07 14:26:59 +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
Andy Hu 2a87341226 Merge tag 'JH7110_515_SDK_v5.4.2' into jh7110-mm-devel 2023-07-26 21:06:13 +08:00
joyce.ooi 5934bb92f4 img-gpu-powervr: update binary package after fixing Vulkan CTS hang
issue

Signed-off-by: joyce.ooi <joyce.ooi@starfivetech.com>
2023-07-24 11:20:33 +08:00
leo.lu 2f074528e2 gstomx: modify omxmjpegdec rank and default framerate 2023-07-12 17:51:53 +08:00
leo.lu c8023eeb1e gstreamer: gst1-plugins-bad: Add gstjpegparse plugin to decodebin 2023-07-12 17:49:18 +08:00