CoreVideo pixel buffer retained by an AV image wrapper.
More...
#include <src/platform/macos/av_img_t.h>
|
| | av_pixel_buf_t (CMSampleBufferRef sb) |
| | Lock the sample buffer's pixel buffer for read-only access.
|
| |
| uint8_t * | data () const |
| | Return the base address of the locked Core Video pixel buffer.
|
| |
|
|
CVPixelBufferRef | buf |
| | Pixel buffer extracted from the sample buffer.
|
| |
CoreVideo pixel buffer retained by an AV image wrapper.
◆ av_pixel_buf_t()
| platf::av_pixel_buf_t::av_pixel_buf_t |
( |
CMSampleBufferRef | sb | ) |
|
|
inlineexplicit |
Lock the sample buffer's pixel buffer for read-only access.
- Parameters
-
| sb | Sample buffer that owns the image data. |
◆ data()
| uint8_t * platf::av_pixel_buf_t::data |
( |
| ) |
const |
|
inlinenodiscard |
Return the base address of the locked Core Video pixel buffer.
- Returns
- Pointer to the first byte of image data in the pixel buffer.
The documentation for this struct was generated from the following file: