Commit Graph

72 Commits

Author SHA1 Message Date
hathach 34737f9c60
update uvc 2ch to stream0 use yuy2, stream1 use mpeg
this help reduce sram requirement for example, also provide different format (uncompressed & mpeg)
2024-04-05 00:55:48 +07:00
Ha Thach 7a92038bc4
Merge pull request #2428 from YixingShen/master
update video_capture
2024-01-30 10:00:26 +07:00
hathach 55950656cb
add freertos build support for video_capture example 2024-01-29 23:23:06 +07:00
hathach d52909ec5c
remove the use of descriptor template for video capture example 2024-01-29 18:02:57 +07:00
hathach 2da8f763d7
update example to work with iso streaming 2024-01-26 23:50:58 +07:00
hathach 0daf8ec51b
update example to work bulk mjpeg 2024-01-26 23:23:38 +07:00
hathach b5cd673330
rename and add more video descriptors
use struct to define uvc descriptor for video_capture since uvc is
rather too complicated to use macro templates
2024-01-26 22:55:55 +07:00
YixingShen 2f2d2bcf3e Merge branch 'master' of https://github.com/YixingShen/tinyusb 2024-01-26 09:09:44 +08:00
YixingShen 4c9f462423 add "set tx_busy 1" into video_capture's video_tas for "if (tx_busy) return" 2024-01-26 09:09:18 +08:00
hathach 0b8b8af83d
minor update to video capture example 2024-01-25 17:25:48 +07:00
hathach de1266699d
clean up video example for readability 2024-01-24 13:13:49 +07:00
YixingShen 1117880411 add high speed into examples\device\video_capture 2023-12-24 00:27:36 +08:00
YixingShen 3f4e77738b fixed device/video_capture/src/images.h,main.c CFG_EXAMPLE_VIDEO_DISABLE_MJPG to CFG_EXAMPLE_VIDEO_DISABLE_MJPEG 2023-12-18 00:40:29 +08:00
hathach 83840041a8
update esp32 to also be supported by hil test
test run locally well
2023-11-29 17:09:52 +07:00
hathach 26ca48e7a7
move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07:00
Ha Thach 92457ec99f
Merge pull request #2202 from Rocky04/patch-4
Invoke unmounted state on configuration reset
2023-08-09 20:48:26 +07:00
Rocky04 45af3d6a83 Update examples 2023-08-07 12:04:22 +00:00
hathach 9697c4df4e
update all examples to use unique ID as serial if avaialble 2023-08-04 10:28:24 +07:00
hathach ef5bd9ee6c
Merge branch 'master' into enhance-bsp 2023-08-04 00:31:12 +07:00
hathach cf91660cee
rename hw/bsp/board.h to board_api.h 2023-08-03 15:44:05 +07:00
hathach 3f788a4e5a
enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
hathach e43387abac
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example() 2023-06-27 15:45:38 +07:00
Ha Thach 433ffe2152
Merge pull request #1985 from kkitayam/uvc_bulk
Add the capability for video class to handle a bulk endpoint in the streaming interface.
2023-06-15 16:28:33 +07:00
hathach 6daa135201 update most examples cmake to build with imxrt 2023-04-21 18:23:40 +07:00
kkitayam 5ce60c5d20 Add MJPEG descriptor for bulk transfer 2023-03-26 21:22:52 +09:00
kkitayam 389babf20b Add descriptor for a bulk endpoint as a streaming endpoint 2023-03-25 21:25:13 +09:00
hathach bdfcd50b1b
Merge branch 'master' into portability 2023-03-17 23:53:38 +07:00
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach e62d1a03ac
integrate top.mk into make.mk 2023-03-06 13:25:56 +07:00
hathach 3fd075b48b fix warning 2023-01-20 15:29:23 +07:00
kkitayam 2c9b5ddff0 Rename descriptor macros for consistency 2022-10-12 20:07:22 +09:00
kkitayam aed8051f50 Add motion jpeg 2022-10-08 21:53:32 +09:00
kkitayam 3499aa2b21 Fix pointer 2022-10-06 21:10:27 +09:00
Ben Avison 65ba15c37d Remove unreachable code
IAR generates warning Pe111 'statement is unreachable'. In a couple of
cases, replace return statements with TU_ATTR_FALLTHROUGH; because some
compilers apparently can't figure out that the return statements are
unreachable but do whinge about an imagined fall-through without them!
2022-09-13 18:00:50 +01:00
kkitayam 1debf62707 Fix compile errors 2022-09-13 21:22:02 +09:00
kkitayam e80714740c Change images to MJPEG 2022-09-13 21:22:02 +09:00
Ahmed El-Sharnoby 8a537a0092
Remove Hardcoded interface numbers from video descriptors
Removing the Hardcoded interface numbers from the video descriptors allow the user to add other interfaces before or after the Video Control Interface and Video Streaming Interface
2022-08-23 17:18:32 +02:00
graham sanderson fc1a27b6c9 RP@040: rework CMake for compiler warnings 2022-07-12 12:58:30 -05:00
hathach 5a378703fb fix end symbol for samx7x and same5x 2022-06-29 15:05:09 +07:00
hathach b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach 9794a2b865 more example update 2022-06-06 22:41:04 +07:00
hathach 99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
hathach a8af609dfe auto detect max rhport speed based on mcu 2022-02-25 18:35:21 +07:00
kkitayam c5d825450a Fix dwFrameIntervalStep and dwMaxFrameInterval
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by
dwFrameIntervalStep.
2022-01-13 00:24:56 +09:00
Scott Shawcroft 7b27b8f498
Unify skip and only logic for build scripts
And switch to a single file that can include mcu, family or board.
2022-01-05 15:44:23 -08:00
hathach dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict 2021-10-25 17:04:03 +07:00
Ha Thach 311c05b401
Merge branch 'master' into fix-warnings 2021-10-23 21:23:56 +07:00
hathach a5f516893b more with -Wcast-qual 2021-10-17 16:36:53 +07:00
kkitayam 7325dd6335 Change input terminal type to camera 2021-10-16 12:06:13 +09:00
hathach 4d170614dc rename some video constants 2021-10-11 23:18:24 +07:00