FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
yuv2rgb_bfin.c File Reference
#include "libavutil/pixdesc.h"
#include <stdint.h>
#include "config.h"
#include "libswscale/swscale_internal.h"

Go to the source code of this file.

Macros

#define L1CODE
 

Typedefs

typedef void(* ltransform )(const uint8_t *Y, const uint8_t *U, const uint8_t *V, uint8_t *out, int w, uint32_t *coeffs)
 

Functions

void ff_bfin_yuv2rgb555_line (const uint8_t *Y, const uint8_t *U, const uint8_t *V, uint8_t *out, int w, uint32_t *coeffs) L1CODE
 
void ff_bfin_yuv2rgb565_line (const uint8_t *Y, const uint8_t *U, const uint8_t *V, uint8_t *out, int w, uint32_t *coeffs) L1CODE
 
void ff_bfin_yuv2rgb24_line (const uint8_t *Y, const uint8_t *U, const uint8_t *V, uint8_t *out, int w, uint32_t *coeffs) L1CODE
 
static void bfin_prepare_coefficients (SwsContext *c, int rgb, int masks)
 
static int core_yuv420_rgb (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides, ltransform lcscf, int rgb, int masks)
 
static int bfin_yuv420_rgb555 (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
 
static int bfin_yuv420_bgr555 (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
 
static int bfin_yuv420_rgb24 (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
 
static int bfin_yuv420_bgr24 (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
 
static int bfin_yuv420_rgb565 (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
 
static int bfin_yuv420_bgr565 (SwsContext *c, const uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
 
SwsFunc ff_yuv2rgb_get_func_ptr_bfin (SwsContext *c)
 

Macro Definition Documentation

#define L1CODE

Definition at line 33 of file yuv2rgb_bfin.c.

Typedef Documentation

typedef void(* ltransform)(const uint8_t *Y, const uint8_t *U, const uint8_t *V, uint8_t *out, int w, uint32_t *coeffs)

Definition at line 48 of file yuv2rgb_bfin.c.

Function Documentation

void ff_bfin_yuv2rgb555_line ( const uint8_t Y,
const uint8_t U,
const uint8_t V,
uint8_t out,
int  w,
uint32_t *  coeffs 
)
void ff_bfin_yuv2rgb565_line ( const uint8_t Y,
const uint8_t U,
const uint8_t V,
uint8_t out,
int  w,
uint32_t *  coeffs 
)
void ff_bfin_yuv2rgb24_line ( const uint8_t Y,
const uint8_t U,
const uint8_t V,
uint8_t out,
int  w,
uint32_t *  coeffs 
)
static void bfin_prepare_coefficients ( SwsContext c,
int  rgb,
int  masks 
)
static

Definition at line 51 of file yuv2rgb_bfin.c.

Referenced by core_yuv420_rgb().

static int core_yuv420_rgb ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides,
ltransform  lcscf,
int  rgb,
int  masks 
)
static
static int bfin_yuv420_rgb555 ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
)
static

Definition at line 123 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

static int bfin_yuv420_bgr555 ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
)
static

Definition at line 131 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

static int bfin_yuv420_rgb24 ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
)
static

Definition at line 139 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

static int bfin_yuv420_bgr24 ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
)
static

Definition at line 147 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

static int bfin_yuv420_rgb565 ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
)
static

Definition at line 155 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

static int bfin_yuv420_bgr565 ( SwsContext c,
const uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
)
static

Definition at line 163 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

SwsFunc ff_yuv2rgb_get_func_ptr_bfin ( SwsContext c)

Definition at line 171 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr().