<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/class/video, branch claude/adoring-pasteur-kbaFa</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/class/video?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/class/video?h=claude%2Fadoring-pasteur-kbaFa'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-06-11T23:34:30Z</updated>
<entry>
<title>clean up PVS-Studio static-analysis findings for raspberry_pi_pico</title>
<updated>2026-06-11T23:34:30Z</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-06-11T23:34:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=72f4d52aafaf582a29428863a72c454a9ae5e916'/>
<id>urn:sha1:72f4d52aafaf582a29428863a72c454a9ae5e916</id>
<content type='text'>
Resolves all TinyUSB-owned alerts reported by the CI PVS-Studio job
(static_analysis.yml, run with --security-related-issues) on the
raspberry_pi_pico board: 0 remaining in src/ and examples/.

Genuine fixes:
- ncm_device: validate wNdpIndex against sizeof(nth16_t), not the pointer
  size sizeof(nth16) (4 bytes) — the latter under-checks the NTB header
  (V568).
- tusb: drop the redundant `ff_buf != NULL &amp;&amp; ff_bufsize &gt; 0` guard in
  tu_edpt_stream_init(); the early return already guarantees it (V560).
- midi_host: bounds-check idx in tuh_midi_itf_get_info() instead of the
  always-true `&amp;_midi_host[idx]` pointer (V560).
- examples: fully initialize resolutions_per_format / frame_num /
  interval_ms arrays instead of leaving trailing elements implicitly zero
  (V1009).

False positives suppressed at the cause:
- usbd/usbh: hide the weak dcd_deinit()/hcd_deinit() stubs from the
  analyzer with #ifndef PVS_STUDIO. PVS analyzes one TU at a time and
  binds the call to the always-false weak stub (it cannot model the
  linker selecting the port's strong definition), then reports the
  cleanup loop after TU_ASSERT(...deinit()) as unreachable (V779).

False positives suppressed locally (inline //-V or .pvsconfig):
- .pvsconfig: V501 (HID descriptor macros), V763 (rhport override),
  V785 (audio function-index switch), V1044 (hardware poll loops).
- inline //-V for config-dependent or intentional constructs: V512,
  V514-style contiguous clears, V547, V557, V560, V614, V619, V641,
  V1008, V1037, V1048, V1086.

Verified: all examples build for raspberry_pi_pico; ceedling test:all
passes (60/60); re-run of the CI-exact PVS invocation reports zero
TinyUSB-owned findings.
</content>
</entry>
<entry>
<title>revert _end_of_control_descriptor to Revision: 0a45308a296251e4376815b21f89f0038c75a60e</title>
<updated>2026-03-09T14:13:59Z</updated>
<author>
<name>YixingShen</name>
<email>kkman3651878@hotmail.com</email>
</author>
<published>2026-03-09T14:13:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ce305af6534e098ee98ab2d8bc2229e2300dc2f0'/>
<id>urn:sha1:ce305af6534e098ee98ab2d8bc2229e2300dc2f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extend video control parsing to include class-specific VC endpoint descriptor</title>
<updated>2026-03-09T03:49:37Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-09T03:49:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=3e22de0a4782d6062959aec27e5304f1b4d4a557'/>
<id>urn:sha1:3e22de0a4782d6062959aec27e5304f1b4d4a557</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed _end_of_control_descriptor logic. wTotalLength does not include Standard Endpoint Descriptor and Class-specific VC Interrupt Endpoint Descriptor,</title>
<updated>2026-03-07T14:56:28Z</updated>
<author>
<name>YixingShen</name>
<email>kkman3651878@hotmail.com</email>
</author>
<published>2026-03-07T14:56:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=2a0802c6a56dc3849fe21d376908aff07131a111'/>
<id>urn:sha1:2a0802c6a56dc3849fe21d376908aff07131a111</id>
<content type='text'>
so fix that _end_of_control_descriptor include Standard Endpoint Descriptor and Class-specific VC Interrupt Endpoint Descriptor. It will also fix _close_vc_itf, _open_vc_itf. _find_desc_entity parsing.
</content>
</entry>
<entry>
<title>Update src/class/video/video_device.c</title>
<updated>2026-03-07T02:46:38Z</updated>
<author>
<name>沈玴興</name>
<email>kkman3651878@hotmail.com</email>
</author>
<published>2026-03-07T02:46:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=0a45308a296251e4376815b21f89f0038c75a60e'/>
<id>urn:sha1:0a45308a296251e4376815b21f89f0038c75a60e</id>
<content type='text'>
Co-authored-by: Copilot &lt;175728472+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>cleanup</title>
<updated>2026-03-06T18:05:12Z</updated>
<author>
<name>YixingShen</name>
<email>kkman3651878@hotmail.com</email>
</author>
<published>2026-03-06T18:05:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=e4a55152be9ae5fb8efebbb5ef197a2d3097b6cc'/>
<id>urn:sha1:e4a55152be9ae5fb8efebbb5ef197a2d3097b6cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed _open_vc_itf parsing</title>
<updated>2026-03-06T18:03:50Z</updated>
<author>
<name>YixingShen</name>
<email>kkman3651878@hotmail.com</email>
</author>
<published>2026-03-06T18:03:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=fe26e45e64dc0c356ddba3470343244c7544b3ac'/>
<id>urn:sha1:fe26e45e64dc0c356ddba3470343244c7544b3ac</id>
<content type='text'>
 Standard Interface Descriptor (Video Control)
 Video Control Header Descriptor
 Video Control Camera Terminal Descriptor
 Video Control Output Terminal Descriptor
 Standard Endpoint Descriptor
 Class-Specific VC Interrupt Endpoint Descriptor

 Video Control Header Descriptor's wTotalLength
    = Header Descriptor + Camera Terminal Descriptor + Output Terminal Descriptor

 _end_of_control_descriptor is Output Terminal Descriptor End
 the "end" should +7 for _find_desc searchig Standard Endpoint Descriptor
</content>
</entry>
<entry>
<title>minor update</title>
<updated>2026-02-07T11:01:23Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-02-07T11:01:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=25de49f8f6e8590eb548d4016e030d19166b9fb3'/>
<id>urn:sha1:25de49f8f6e8590eb548d4016e030d19166b9fb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue</title>
<updated>2025-11-19T21:05:07Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-11-19T21:05:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=85adf694e659bde41b34e2f585cb2db552279064'/>
<id>urn:sha1:85adf694e659bde41b34e2f585cb2db552279064</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'tinyusb/master' into embedded-ideas/master</title>
<updated>2025-11-14T14:10:11Z</updated>
<author>
<name>Mengsk</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-11-14T14:10:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ac903db1cee942232bcf7548a04ae6f9b952f08b'/>
<id>urn:sha1:ac903db1cee942232bcf7548a04ae6f9b952f08b</id>
<content type='text'>
Signed-off-by: Mengsk &lt;admin@hifiphile.com&gt;
</content>
</entry>
</feed>
