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 "libavutil/attributes.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)
 
av_cold SwsFunc ff_yuv2rgb_init_bfin (SwsContext *c)
 

Macro Definition Documentation

#define L1CODE

Definition at line 34 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 49 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 52 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 124 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_init_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 132 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_init_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 140 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_init_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 148 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_init_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 156 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_init_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 164 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_init_bfin().

av_cold SwsFunc ff_yuv2rgb_init_bfin ( SwsContext c)

Definition at line 172 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr().