Loading...
Searching...
No Matches
Go to the documentation of this file.
20#ifndef AVUTIL_HWCONTEXT_AMF_INTERNAL_H
21#define AVUTIL_HWCONTEXT_AMF_INTERNAL_H
22#include <AMF/core/Factory.h>
23#include <AMF/core/Context.h>
28#define AMF_RETURN_IF_FALSE(avctx, exp, ret_value, ...) \
30 av_log(avctx, AV_LOG_ERROR, __VA_ARGS__); \
34#define AMF_GOTO_FAIL_IF_FALSE(avctx, exp, ret_value, ...) \
36 av_log(avctx, AV_LOG_ERROR, __VA_ARGS__); \
41#define AMF_TIME_BASE_Q (AVRational){1, AMF_SECOND}
43#define AMF_IFACE_CALL(this, function, ...) ((this)->pVtbl->function((this), ##__VA_ARGS__))