From dc73b200db5b13138e9b8829d61b55c7db8f48b4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Jul 2013 13:42:57 +0200 Subject: mp_image: one utility function to set image parameters --- video/mp_image.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/mp_image.h') 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); -- cgit v1.2.3