19#ifndef AVFILTER_AMF_COMMON_H
20#define AVFILTER_AMF_COMMON_H
24#include "AMF/core/Surface.h"
25#include "AMF/components/Component.h"
Main libavfilter public API header.
AVPixelFormat
Pixel format.
enum AVPixelFormat format
AVContentLightMetadata * light_meta
AVMasteringDisplayMetadata * master_display
AVBufferRef * hwframes_out_ref
AVBufferRef * amf_device_ref
AVAMFDeviceContext * amf_device_ctx
AVBufferRef * hwdevice_ref
AVBufferRef * hwframes_in_ref
int force_original_aspect_ratio
This struct is allocated as AVHWDeviceContext.hwctx.
A reference to a data buffer.
Describe the class of an AVClass context structure.
Content light level needed by to transmit HDR over HDMI (CTA-861.3).
A link between two filters.
This structure describes decoded (raw) audio or video data.
void amf_free_amfsurface(void *opaque, uint8_t *data)
AVFrame * amf_amfsurface_to_avframe(AVFilterContext *avctx, AMFSurface *pSurface)
int amf_copy_surface(AVFilterContext *avctx, const AVFrame *frame, AMFSurface *surface)
int amf_avframe_to_amfsurface(AVFilterContext *avctx, const AVFrame *frame, AMFSurface **ppSurface)
int amf_filter_init(AVFilterContext *avctx)
int amf_init_filter_config(AVFilterLink *outlink, enum AVPixelFormat *in_format)
int amf_filter_filter_frame(AVFilterLink *inlink, AVFrame *in)
int amf_setup_input_output_formats(AVFilterContext *avctx, const enum AVPixelFormat *input_pix_fmts, const enum AVPixelFormat *output_pix_fmts)
void amf_filter_uninit(AVFilterContext *avctx)