Open Broadcaster Software
Free, open source software for live streaming and recording
video-scaler.h File Reference

Go to the source code of this file.

Macros

#define VIDEO_SCALER_SUCCESS   0
 
#define VIDEO_SCALER_BAD_CONVERSION   -1
 
#define VIDEO_SCALER_FAILED   -2
 

Typedefs

typedef struct video_scaler video_scaler_t
 

Functions

EXPORT int video_scaler_create (video_scaler_t **scaler, const struct video_scale_info *dst, const struct video_scale_info *src, enum video_scale_type type)
 
EXPORT void video_scaler_destroy (video_scaler_t *scaler)
 
EXPORT bool video_scaler_scale (video_scaler_t *scaler, uint8_t *output[], const uint32_t out_linesize[], const uint8_t *const input[], const uint32_t in_linesize[])
 

Macro Definition Documentation

◆ VIDEO_SCALER_BAD_CONVERSION

#define VIDEO_SCALER_BAD_CONVERSION   -1

◆ VIDEO_SCALER_FAILED

#define VIDEO_SCALER_FAILED   -2

◆ VIDEO_SCALER_SUCCESS

#define VIDEO_SCALER_SUCCESS   0

Typedef Documentation

◆ video_scaler_t

typedef struct video_scaler video_scaler_t

Function Documentation

◆ video_scaler_create()

EXPORT int video_scaler_create ( video_scaler_t **  scaler,
const struct video_scale_info dst,
const struct video_scale_info src,
enum video_scale_type  type 
)

◆ video_scaler_destroy()

EXPORT void video_scaler_destroy ( video_scaler_t scaler)

◆ video_scaler_scale()

EXPORT bool video_scaler_scale ( video_scaler_t scaler,
uint8_t output[],
const uint32_t  out_linesize[],
const uint8_t *const  input[],
const uint32_t  in_linesize[] 
)