50 Commits

Author SHA1 Message Date
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
hathach
b3bfce2cb7 update the descriptor endpoint ISO for nrf5x 2021-10-11 16:07:34 +07:00
kkitayam
b6d09ca761 Add compile option to allocate video data into flash in video_capture example 2021-10-09 23:02:18 +09:00
kkitayam
a3a18c9ed3 Change the video image to scrolling color bars. 2021-10-09 19:51:51 +09:00
kkitayam
2800a6a583 Add a file to skip bluepill 2021-09-30 21:46:16 +09:00
kkitayam
98e6a93a78 Add a list file for rp2040 2021-09-30 21:38:27 +09:00
kkitayam
889e4103d9 Add files to skip building for small ROM 2021-09-30 21:27:09 +09:00
kkitayam
9a7795464e Add cast operations to unused parameters 2021-09-30 21:08:57 +09:00
kkitayam
831443a2dc Move frame settings to usb_descriptors.h 2021-09-30 01:13:33 +09:00
kkitayam
9bcab53c2c Implement frame rate settings 2021-09-29 22:53:26 +09:00
kkitayam
0c89292a8d Fix transfer failure when reconnecting 2021-09-29 21:23:19 +09:00
kkitayam
319db9573c Change video frames to project logo 2021-09-29 21:23:18 +09:00
kkitayam
f7bbdea0b8 Refactor application API parameters 2021-09-29 21:23:17 +09:00
kkitayam
0d6496886c Change frame buffer management 2021-09-29 21:23:17 +09:00
kkitayam
d88cc23ca5 Refactor packet handling 2021-09-29 21:23:17 +09:00
kkitayam
a978828c3a Add green plain 2021-09-29 21:23:16 +09:00
kkitayam
3cb4bb391d Separate a handling resource into controller and streaming 2021-09-29 21:23:16 +09:00
kkitayam
2b4e02f192 Implement some mandatory requests on streaming interface 2021-09-29 21:23:16 +09:00
kkitayam
4995d9cbd2 Fix handling for set_interface 2021-09-29 21:23:15 +09:00
kkitayam
20572a6ed2 Fix regarding standard video stream request 2021-09-29 21:23:15 +09:00
kkitayam
c52cf9c8a5 fix: endpoint descriptor has incorrectly settings 2021-09-29 21:23:15 +09:00
kkitayam
d026f17457 fix: configuration descriptor has incorrectly sizes
update some descriptors
2021-09-29 21:23:15 +09:00
kkitayam
019c1ab09e add tentative example 2021-09-29 21:23:14 +09:00