rendering: turn DecodedFrame into a struct#1230
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe PR refactors Changes
Sequence DiagramsequenceDiagram
participant Decoder
participant FrameProcessor
participant Consumer
rect rgb(200, 230, 255)
Note over Decoder,Consumer: New Frame Processing Flow
Decoder->>FrameProcessor: Decode frame with width/height
FrameProcessor->>FrameProcessor: Create DecodedFrame { data, width, height }
FrameProcessor->>Consumer: Send DecodedFrame
Consumer->>Consumer: Call .data() for bytes<br/>.width() for metadata<br/>.height() for metadata
Consumer->>Consumer: Upload to GPU with dimensions
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes The changes involve consistent, mechanical updates across multiple decoder and consumer files. Logic is straightforward—dimension tracking and struct field access—but the scope spans five files with interrelated changes requiring verification that all code paths correctly populate and consume the new fields. Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
In preparation to use the frame-specific width/height to calculate texture bounds
Summary by CodeRabbit
Refactor
Chores