mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 18:06:18 +00:00
b2958670a3
All of these const struct pointers got typedefs, clean up the code accordingly.
17 lines
402 B
C
17 lines
402 B
C
#pragma once
|
|
|
|
#include "video/out/gpu/ra.h"
|
|
#include <libplacebo/gpu.h>
|
|
|
|
struct ra *ra_create_pl(pl_gpu gpu, struct mp_log *log);
|
|
|
|
pl_gpu ra_pl_get(const struct ra *ra);
|
|
|
|
static inline pl_fmt ra_pl_fmt_get(const struct ra_format *format)
|
|
{
|
|
return format->priv;
|
|
}
|
|
|
|
// Wrap a pl_tex into a ra_tex struct, returns if successful
|
|
bool mppl_wrap_tex(struct ra *ra, pl_tex pltex, struct ra_tex *out_tex);
|