libswscale/bfin/yuv2rgb_bfin.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>
#include "config.h"
#include <unistd.h>
#include "libswscale/rgb2rgb.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"

Go to the source code of this file.

Defines

#define L1CODE

Typedefs

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

Functions

void ff_bfin_yuv2rgb555_line (uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out, int w, uint32_t *coeffs) L1CODE
void ff_bfin_yuv2rgb565_line (uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out, int w, uint32_t *coeffs) L1CODE
void ff_bfin_yuv2rgb24_line (uint8_t *Y, uint8_t *U, 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, 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, uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
static int bfin_yuv420_bgr555 (SwsContext *c, uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
static int bfin_yuv420_rgb24 (SwsContext *c, uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
static int bfin_yuv420_bgr24 (SwsContext *c, uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
static int bfin_yuv420_rgb565 (SwsContext *c, uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
static int bfin_yuv420_bgr565 (SwsContext *c, uint8_t **in, int *instrides, int srcSliceY, int srcSliceH, uint8_t **oplanes, int *outstrides)
SwsFunc ff_yuv2rgb_get_func_ptr_bfin (SwsContext *c)


Define Documentation

#define L1CODE

Definition at line 38 of file yuv2rgb_bfin.c.


Typedef Documentation

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

Definition at line 50 of file yuv2rgb_bfin.c.


Function Documentation

static void bfin_prepare_coefficients ( SwsContext c,
int  rgb,
int  masks 
) [static]

Definition at line 54 of file yuv2rgb_bfin.c.

Referenced by core_yuv420_rgb().

static int bfin_yuv420_bgr24 ( SwsContext c,
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_get_func_ptr_bfin().

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

Definition at line 138 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

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

Definition at line 174 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

static int bfin_yuv420_rgb24 ( SwsContext c,
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_rgb555 ( SwsContext c,
uint8_t **  in,
int *  instrides,
int  srcSliceY,
int  srcSliceH,
uint8_t **  oplanes,
int *  outstrides 
) [static]

Definition at line 129 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

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

Definition at line 165 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr_bfin().

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

void ff_bfin_yuv2rgb24_line ( uint8_t *  Y,
uint8_t *  U,
uint8_t *  V,
uint8_t *  out,
int  w,
uint32_t *  coeffs 
)

void ff_bfin_yuv2rgb555_line ( uint8_t *  Y,
uint8_t *  U,
uint8_t *  V,
uint8_t *  out,
int  w,
uint32_t *  coeffs 
)

void ff_bfin_yuv2rgb565_line ( uint8_t *  Y,
uint8_t *  U,
uint8_t *  V,
uint8_t *  out,
int  w,
uint32_t *  coeffs 
)

SwsFunc ff_yuv2rgb_get_func_ptr_bfin ( SwsContext c  ) 

Definition at line 184 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr().


Generated on Fri Oct 26 02:36:55 2012 for FFmpeg by  doxygen 1.5.8