19 #ifndef AVUTIL_HWCONTEXT_INTERNAL_H 20 #define AVUTIL_HWCONTEXT_INTERNAL_H 25 #include "hwcontext.h" 30 enum AVHWDeviceType type;
84 enum AVHWFrameTransferDirection dir,
153 int ff_hwframe_map_create(
AVBufferRef *hwframe_ref,
This struct aggregates all the (hardware/vendor-specific) "high-level" state, i.e.
Definition: hwcontext.h:60
This structure describes decoded (raw) audio or video data.
Definition: frame.h:218
size_t device_priv_size
size of the private data, i.e.
Definition: hwcontext_internal.h:48
size_t frames_priv_size
size of the private data, i.e.
Definition: hwcontext_internal.h:65
size_t device_hwctx_size
size of the public hardware-specific context, i.e.
Definition: hwcontext_internal.h:43
void(* unmap)(AVHWFramesContext *ctx, struct HWMapDescriptor *hwmap)
Unmap function.
Definition: hwcontext_internal.h:145
size_t frames_hwctx_size
size of the public frame pool hardware-specific context, i.e.
Definition: hwcontext_internal.h:60
Definition: buffer_internal.h:76
AVBufferRef * source_frames
For a derived context, a reference to the original frames context it was derived from.
Definition: hwcontext_internal.h:123
reference-counted frame API
AVFrame * source
A reference to the original source of the mapping.
Definition: hwcontext_internal.h:135
enum AVPixelFormat * pix_fmts
An array of pixel formats supported by the AVHWFramesContext instances Terminated by AV_PIX_FMT_NONE...
Definition: hwcontext_internal.h:37
size_t device_hwconfig_size
Size of the hardware-specific device configuration.
Definition: hwcontext_internal.h:54
Definition: hwcontext_internal.h:131
Definition: hwcontext_internal.h:102
void * priv
Hardware-specific private data associated with the mapping.
Definition: hwcontext_internal.h:150
This struct describes the constraints on hardware frames attached to a given device with a hardware-s...
Definition: hwcontext.h:432
int source_allocation_map_flags
Flags to apply to the mapping from the source to the derived frame context when trying to allocate in...
Definition: hwcontext_internal.h:128
This struct describes a set or pool of "hardware" frames (i.e.
Definition: hwcontext.h:123
Definition: hwcontext_internal.h:113
refcounted data buffer API
AVBufferRef * hw_frames_ctx
A reference to the hardware frames context in which this mapping was made.
Definition: hwcontext_internal.h:141
A reference to a data buffer.
Definition: buffer.h:81
AVBufferRef * source_device
For a derived device, a reference to the original device context it was derived from.
Definition: hwcontext_internal.h:110
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60
Definition: hwcontext_internal.h:29