|
FFmpeg
|
Go to the source code of this file.
Functions | |
| int | ff_frame_get_video_buffer (AVFrame *frame, int align, AVBufferRef *(*alloc)(void *opaque, size_t size), void *opaque) |
| Allocate the buffer of a video frame like av_frame_get_buffer(). | |
| int ff_frame_get_video_buffer | ( | AVFrame * | frame, |
| int | align, | ||
| AVBufferRef *(* | alloc )(void *opaque, size_t size), | ||
| void * | opaque ) |
Allocate the buffer of a video frame like av_frame_get_buffer().
| alloc | allocates the buffer, av_buffer_alloc() is used if NULL |
| opaque | passed to alloc |
Definition at line 76 of file frame.c.
Referenced by av_frame_get_buffer(), and av_hwframe_get_transfer_buffer().