Changelog

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.9] - 2026-08-16

### Fixed

- 修复 `KSDIY_UVC_MJPEG_PASSTHROUGH=1`(如 camera_webserver)下 `s_slot_is_mjpeg` / `s_mjpeg_staging_len` 未声明导致编译失败

## [1.0.8] - 2026-08-13

### Fixed

- MJPEG 解码移至 `esp_camera_fb_get()`,避免在 UVC 收帧回调中硬解阻塞帧归还,修复长时间预览后 USB 假断开
- 复用持久 `jpeg_decoder_handle_t`,`ESP_ERR_INVALID_STATE` 后自动重建解码引擎
- MJPEG SOI/EOI 校验与 16 字节对齐 bitstream,减少 HW JPEG `DE_FRAME_EOF_ERR`
- 解码失败时回退上一帧成功 RGB565,预览不闪屏

### Changed

- 默认 UVC 参数与 `ksdiy_usb_uvc_qr` 1.0.3 对齐(帧缓冲 5、URB 4×12 KB、队列 8)
- 依赖 `kevincoooool/ksdiy_usb_uvc_qr` ^1.0.3

## [1.0.7] - 2026-07-01

### Changed

- 调整 UVC 内存默认值,适配 P4 PSRAM USB DMA 配置

## [1.0.1] - 2026-03-01

### Added

- ESP32-P4 上 USB UVC 桥接 `esp_camera_*` API
- 硬件 JPEG 解码输出 RGB565

## [1.0.0] - 2026-01-01

### Added

- 初始版本