HWACCEL_VDPAU,
HWACCEL_DXVA2,
HWACCEL_VDA,
+ HWACCEL_VIDEOTOOLBOX,
};
typedef struct HWAccel {
/* input/output options */
int64_t start_time;
+ int64_t start_time_eof;
int seek_timestamp;
const char *format;
// number of frames/samples sent to the encoder
uint64_t frames_encoded;
uint64_t samples_encoded;
+
+ /* packet quality factor */
+ int quality;
+
+ /* packet picture type */
+ int pict_type;
+
+ /* frame encode sum of squared error values */
+ int64_t error[4];
} OutputStream;
typedef struct OutputFile {
extern AVIOContext *progress_avio;
extern float max_error_rate;
extern int vdpau_api_ver;
+extern char *videotoolbox_pixfmt;
extern const AVIOInterruptCB int_cb;
int vdpau_init(AVCodecContext *s);
int dxva2_init(AVCodecContext *s);
int vda_init(AVCodecContext *s);
+int videotoolbox_init(AVCodecContext *s);
#endif /* FFMPEG_H */