HWACCEL_NONE = 0,
HWACCEL_AUTO,
HWACCEL_VDPAU,
+ HWACCEL_DXVA2,
+ HWACCEL_VDA,
};
typedef struct HWAccel {
double ts_scale;
int saw_first_ts;
int showed_multi_packet_warning;
- AVDictionary *opts;
+ AVDictionary *decoder_opts;
AVRational framerate; /* framerate forced with -r */
int top_field_first;
int guess_layout_max;
char *filters_script; ///< filtergraph script associated to the -filter_script option
int64_t sws_flags;
- AVDictionary *opts;
+ AVDictionary *encoder_opts;
AVDictionary *swr_opts;
AVDictionary *resample_opts;
char *apad;
int ffmpeg_parse_options(int argc, char **argv);
int vdpau_init(AVCodecContext *s);
+int dxva2_init(AVCodecContext *s);
+int vda_init(AVCodecContext *s);
#endif /* FFMPEG_H */