#include <stdint.h>
#include <retro_common_api.h>
#include <retro_inline.h>
#include <gfx/scaler/scaler.h>
#include <libretro.h>
Go to the source code of this file.
|
static INLINE void | video_frame_convert_rgb16_to_rgb32 (struct scaler_ctx *scaler, void *output, const void *input, int width, int height, int in_pitch) |
|
static INLINE void | video_frame_scale (struct scaler_ctx *scaler, void *output, const void *input, enum scaler_pix_fmt format, unsigned scaler_width, unsigned scaler_height, unsigned scaler_pitch, unsigned width, unsigned height, unsigned pitch) |
|
static INLINE void | video_frame_record_scale (struct scaler_ctx *scaler, void *output, const void *input, unsigned scaler_width, unsigned scaler_height, unsigned scaler_pitch, unsigned width, unsigned height, unsigned pitch, bool bilinear) |
|
static INLINE void | video_frame_convert_argb8888_to_abgr8888 (struct scaler_ctx *scaler, void *output, const void *input, int width, int height, int in_pitch) |
|
static INLINE void | video_frame_convert_to_bgr24 (struct scaler_ctx *scaler, void *output, const void *input, int width, int height, int in_pitch) |
|
static INLINE void | video_frame_convert_rgba_to_bgr (const void *src_data, void *dst_data, unsigned width) |
|
static INLINE bool | video_pixel_frame_scale (struct scaler_ctx *scaler, void *output, const void *data, unsigned width, unsigned height, size_t pitch) |
|
◆ scaler_ctx_scale_direct
Value:{ \
if (
ctx &&
ctx->unscaled &&
ctx->direct_pixconv) \
\
ctx->out_width,
ctx->out_height, \
ctx->out_stride,
ctx->in_stride);
\ }
GLenum GLenum GLenum input
Definition: glext.h:9938
AVFormatContext * ctx
Definition: record_ffmpeg.c:247
std::string output
Definition: Config.FromFile.cpp:44
void scaler_ctx_scale(struct scaler_ctx *ctx, void *output, const void *input)
Definition: scaler.c:307
◆ video_frame_convert_argb8888_to_abgr8888()
◆ video_frame_convert_rgb16_to_rgb32()
◆ video_frame_convert_rgba_to_bgr()
◆ video_frame_convert_to_bgr24()
◆ video_frame_record_scale()
static INLINE void video_frame_record_scale |
( |
struct scaler_ctx * |
scaler, |
|
|
void * |
output, |
|
|
const void * |
input, |
|
|
unsigned |
scaler_width, |
|
|
unsigned |
scaler_height, |
|
|
unsigned |
scaler_pitch, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
unsigned |
pitch, |
|
|
bool |
bilinear |
|
) |
| |
|
static |
◆ video_frame_scale()
static INLINE void video_frame_scale |
( |
struct scaler_ctx * |
scaler, |
|
|
void * |
output, |
|
|
const void * |
input, |
|
|
enum scaler_pix_fmt |
format, |
|
|
unsigned |
scaler_width, |
|
|
unsigned |
scaler_height, |
|
|
unsigned |
scaler_pitch, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
unsigned |
pitch |
|
) |
| |
|
static |
◆ video_pixel_frame_scale()