Skip to content

Hardware decode: VideoToolbox backend (macOS/iOS, HEVC + AV1) #28

Description

@justin13888
  • HwStillDecoder impl over VTDecompressionSession (VideoToolbox/CoreMedia/CoreVideo system frameworks), cfg-gated target_os = "macos"/"ios".
  • HEVC: hvcC via CMVideoFormatDescription + length-prefixed samples directly (no Annex-B conversion).
  • AV1: av1C config; runtime hardware probe (M3+/A17 Pro+); absent hardware → available_codecs() omits Av1.
  • Map CVPixelBuffer output (NV12/P010, 8/10-bit 4:2:0) to DecodedFrame.
  • Document the objc/core-foundation binding choice; macOS CI smoke test with fixture.
  • Depends on: Create rawshift-hwdec (HEVC+AV1); HEIC on gamut-heic; drop libheif-rs #27.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions