diff options
author | wm4 <wm4@nowhere> | 2013-07-18 13:42:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-18 13:44:17 +0200 |
commit | dc73b200db5b13138e9b8829d61b55c7db8f48b4 (patch) | |
tree | f7969b82c977b9ebf788c42dc2d8902e962e98e4 /video/mp_image.h | |
parent | b81f5e2757f3c3270500a8dcfdafaab7d717dd2a (diff) | |
download | mpv-dc73b200db5b13138e9b8829d61b55c7db8f48b4.tar.bz2 mpv-dc73b200db5b13138e9b8829d61b55c7db8f48b4.tar.xz |
mp_image: one utility function to set image parameters
Diffstat (limited to 'video/mp_image.h')
-rw-r--r-- | video/mp_image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h index 7324423967..141483eedd 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -143,6 +143,9 @@ bool mp_image_params_equals(const struct mp_image_params *p1, void mp_image_params_from_image(struct mp_image_params *params, const struct mp_image *image); +void mp_image_set_params(struct mp_image *image, + const struct mp_image_params *params); + struct AVFrame; void mp_image_copy_fields_from_av_frame(struct mp_image *dst, struct AVFrame *src); |