mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
video: remove mp_image_params.hw_flags field
This was speculatively added 2 years ago in preparation for something that apparently never happened. The D3D code was added as an "example", but this too was never used/finished. No reason to keep this.
This commit is contained in:
@@ -75,12 +75,6 @@ struct hwcontext_create_dev_params {
|
||||
// All entries are strictly optional.
|
||||
struct hwcontext_fns {
|
||||
int av_hwdevice_type;
|
||||
// Set any mp_image fields that require hwcontext specific code, such as
|
||||
// fields or flags not present in AVFrame or AVHWFramesContext in a
|
||||
// portable way. This is called directly after img is converted from an
|
||||
// AVFrame, with all other fields already set. img.hwctx will be set, and
|
||||
// use the correct AV_HWDEVICE_TYPE_.
|
||||
void (*complete_image_params)(struct mp_image *img);
|
||||
// Fill in special format-specific requirements.
|
||||
void (*refine_hwframes)(struct AVBufferRef *hw_frames_ctx);
|
||||
// Returns a AVHWDeviceContext*. Used for copy hwdecs.
|
||||
|
||||
Reference in New Issue
Block a user