#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 L1CODE |
Definition at line 38 of file yuv2rgb_bfin.c.
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.
static void bfin_prepare_coefficients | ( | SwsContext * | c, | |
int | rgb, | |||
int | masks | |||
) | [static] |
static int bfin_yuv420_bgr24 | ( | SwsContext * | c, | |
uint8_t ** | in, | |||
int * | instrides, | |||
int | srcSliceY, | |||
int | srcSliceH, | |||
uint8_t ** | oplanes, | |||
int * | outstrides | |||
) | [static] |
static int bfin_yuv420_bgr555 | ( | SwsContext * | c, | |
uint8_t ** | in, | |||
int * | instrides, | |||
int | srcSliceY, | |||
int | srcSliceH, | |||
uint8_t ** | oplanes, | |||
int * | outstrides | |||
) | [static] |
static int bfin_yuv420_bgr565 | ( | SwsContext * | c, | |
uint8_t ** | in, | |||
int * | instrides, | |||
int | srcSliceY, | |||
int | srcSliceH, | |||
uint8_t ** | oplanes, | |||
int * | outstrides | |||
) | [static] |
static int bfin_yuv420_rgb24 | ( | SwsContext * | c, | |
uint8_t ** | in, | |||
int * | instrides, | |||
int | srcSliceY, | |||
int | srcSliceH, | |||
uint8_t ** | oplanes, | |||
int * | outstrides | |||
) | [static] |
static int bfin_yuv420_rgb555 | ( | SwsContext * | c, | |
uint8_t ** | in, | |||
int * | instrides, | |||
int | srcSliceY, | |||
int | srcSliceH, | |||
uint8_t ** | oplanes, | |||
int * | outstrides | |||
) | [static] |
static int bfin_yuv420_rgb565 | ( | SwsContext * | c, | |
uint8_t ** | in, | |||
int * | instrides, | |||
int | srcSliceY, | |||
int | srcSliceH, | |||
uint8_t ** | oplanes, | |||
int * | outstrides | |||
) | [static] |
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] |
Definition at line 91 of file yuv2rgb_bfin.c.
Referenced by bfin_yuv420_bgr24(), bfin_yuv420_bgr555(), bfin_yuv420_bgr565(), bfin_yuv420_rgb24(), bfin_yuv420_rgb555(), and bfin_yuv420_rgb565().
void ff_bfin_yuv2rgb24_line | ( | uint8_t * | Y, | |
uint8_t * | U, | |||
uint8_t * | V, | |||
uint8_t * | out, | |||
int | w, | |||
uint32_t * | coeffs | |||
) |
Referenced by bfin_yuv420_bgr24(), and bfin_yuv420_rgb24().
void ff_bfin_yuv2rgb555_line | ( | uint8_t * | Y, | |
uint8_t * | U, | |||
uint8_t * | V, | |||
uint8_t * | out, | |||
int | w, | |||
uint32_t * | coeffs | |||
) |
Referenced by bfin_yuv420_bgr555(), and bfin_yuv420_rgb555().
void ff_bfin_yuv2rgb565_line | ( | uint8_t * | Y, | |
uint8_t * | U, | |||
uint8_t * | V, | |||
uint8_t * | out, | |||
int | w, | |||
uint32_t * | coeffs | |||
) |
Referenced by bfin_yuv420_bgr565(), and bfin_yuv420_rgb565().
SwsFunc ff_yuv2rgb_get_func_ptr_bfin | ( | SwsContext * | c | ) |