summaryrefslogtreecommitdiffstats
path: root/video/vt.h
blob: e488f29cf0ff5297635391de42026a0b3c22c3ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MPV_VT_H
#define MPV_VT_H

#include <stdint.h>

int mp_imgfmt_from_cvpixelformat(uint32_t cvpixfmt);
uint32_t mp_imgfmt_to_cvpixelformat(int mpfmt);

struct mp_image;
struct mp_image_pool;
struct mp_hwdec_ctx;
struct mp_image *mp_vt_download_image(struct mp_hwdec_ctx *ctx,
                                      struct mp_image *hw_image,
                                      struct mp_image_pool *swpool);

#endif