FFmpeg  4.2.2
Data Fields
AVBufferRef Struct Reference

A reference to a data buffer. More...

#include <libavutil/buffer.h>

Data Fields

AVBufferbuffer
 
uint8_t * data
 The data buffer. More...
 
int size
 Size of data in bytes. More...
 

Detailed Description

A reference to a data buffer.

The size of this struct is not a part of the public ABI and it is not meant to be allocated directly.

Examples:
hw_decode.c.

Definition at line 81 of file buffer.h.

Field Documentation

◆ buffer

AVBuffer* AVBufferRef::buffer

Definition at line 82 of file buffer.h.

◆ data

uint8_t* AVBufferRef::data

The data buffer.

It is considered writable if and only if this is the only reference to the buffer, in which case av_buffer_is_writable() returns 1.

Definition at line 89 of file buffer.h.

◆ size

int AVBufferRef::size

Size of data in bytes.

Definition at line 93 of file buffer.h.


The documentation for this struct was generated from the following file: