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 "libavutil/pixdesc.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 39 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 51 of file yuv2rgb_bfin.c.


Function Documentation

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

Definition at line 55 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 157 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 139 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 175 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 148 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 130 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 166 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 185 of file yuv2rgb_bfin.c.

Referenced by ff_yuv2rgb_get_func_ptr().


Generated on Fri Oct 26 02:39:50 2012 for FFmpeg by  doxygen 1.5.8