/src/mpv/video/out/placebo/ra_pl.h
Line | Count | Source |
1 | | #pragma once |
2 | | |
3 | | #include "video/out/gpu/ra.h" |
4 | | #include <libplacebo/gpu.h> |
5 | | |
6 | | struct ra *ra_create_pl(pl_gpu gpu, struct mp_log *log); |
7 | | |
8 | | pl_gpu ra_pl_get(const struct ra *ra); |
9 | | |
10 | | static inline pl_fmt ra_pl_fmt_get(const struct ra_format *format) |
11 | 0 | { |
12 | 0 | return format->priv; |
13 | 0 | } Unexecuted instantiation: vo_gpu_next.c:ra_pl_fmt_get Unexecuted instantiation: ra_pl.c:ra_pl_fmt_get |
14 | | |
15 | | // Wrap a pl_tex into a ra_tex struct, returns if successful |
16 | | bool mppl_wrap_tex(struct ra *ra, pl_tex pltex, struct ra_tex *out_tex); |