Commit 0b6a959
committed
feat: add ToAVHWFramesContext for hardware frame context conversion
Adds a new utility function that converts an unsafe.Pointer (typically from
AVBufferRef.Data()) to an AVHWFramesContext wrapper. This functionality is
essential for configuring hardware frames contexts returned by
AVHWFrameCtxAlloc().1 parent 70da1b7 commit 0b6a959
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
0 commit comments