FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVBufferRef Struct Reference

A reference to a data buffer. More...

#include <buffer.h>

Data Fields

AVBufferbuffer
 
uint8_tdata
 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:
qsvdec.c.

Definition at line 81 of file buffer.h.

Field Documentation

AVBuffer* AVBufferRef::buffer
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.

Referenced by alloc_frame(), alloc_frame_buffer(), alloc_picture(), asf_parse_packet(), audio_get_buffer(), av_buffer_allocz(), av_buffer_create(), av_buffer_make_writable(), av_buffer_realloc(), av_frame_get_plane_buffer(), av_frame_get_qp_table(), av_frame_new_side_data(), av_frame_set_qp_table(), av_grow_packet(), av_new_packet(), av_packet_merge_side_data(), av_packet_ref(), avcodec_encode_audio2(), avcodec_encode_video2(), buffer_needs_copy(), copy_packet_data(), decode(), decode_mb_row_no_filter(), decode_pic_timing(), export_stream_params(), ff_alloc_picture(), ff_er_frame_end(), ff_flac_parse_picture(), ff_h264_ref_picture(), ff_hevc_decode_nal_pps(), ff_hevc_decode_nal_sps(), ff_hevc_decode_nal_vps(), ff_id3v2_parse_apic(), ff_mjpeg_decode_frame(), ff_mpeg_ref_picture(), ff_mpv_export_qp_table(), ff_thread_await_progress(), ff_thread_report_progress(), ffmmal_add_packet(), filter_frame(), frame_copy_props(), generate_missing_ref(), get_audio_buffer(), get_buffer(), get_lowest_part_y(), get_video_buffer(), hevc_decode_extradata(), hevc_parse_slice_header(), hevc_ref_frame(), hls_slice_header(), id3_has_changed_values(), init_slice_rpl(), mpegts_push_data(), new_pes_packet(), raw_decode(), raw_init_decoder(), read_apic(), remove_pps(), remove_sps(), remove_vps(), set_sps(), thread_get_buffer_internal(), video_get_buffer(), vp78_decode_mv_mb_modes(), and vp9_alloc_frame().

int AVBufferRef::size

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