FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
yuv2rgb_vis.c File Reference
#include <inttypes.h>
#include <stdlib.h>
#include "libavutil/attributes.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"

Go to the source code of this file.

Macros

#define YUV2RGB_INIT
 
#define YUV2RGB_KERNEL
 

Functions

static int vis_420P_ARGB32 (SwsContext *c, uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
static int vis_422P_ARGB32 (SwsContext *c, uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
av_cold SwsFunc ff_yuv2rgb_init_vis (SwsContext *c)
 

Macro Definition Documentation

#define YUV2RGB_INIT
Value:
"wr %%g0, 0x10, %%gsr \n\t" \
"ldd [%5], %%f32 \n\t" \
"ldd [%5 + 8], %%f34 \n\t" \
"ldd [%5 + 16], %%f36 \n\t" \
"ldd [%5 + 24], %%f38 \n\t" \
"ldd [%5 + 32], %%f40 \n\t" \
"ldd [%5 + 40], %%f42 \n\t" \
"ldd [%5 + 48], %%f44 \n\t" \
"ldd [%5 + 56], %%f46 \n\t" \
"ldd [%5 + 64], %%f48 \n\t" \
"ldd [%5 + 72], %%f50 \n\t"

Definition at line 29 of file yuv2rgb_vis.c.

Referenced by vis_420P_ARGB32(), and vis_422P_ARGB32().

#define YUV2RGB_KERNEL

Definition at line 42 of file yuv2rgb_vis.c.

Referenced by vis_420P_ARGB32(), and vis_422P_ARGB32().

Function Documentation

static int vis_420P_ARGB32 ( SwsContext c,
uint8_t src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t dst[],
int  dstStride[] 
)
static

Definition at line 83 of file yuv2rgb_vis.c.

Referenced by ff_yuv2rgb_init_vis().

static int vis_422P_ARGB32 ( SwsContext c,
uint8_t src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t dst[],
int  dstStride[] 
)
static

Definition at line 136 of file yuv2rgb_vis.c.

Referenced by ff_yuv2rgb_init_vis().

av_cold SwsFunc ff_yuv2rgb_init_vis ( SwsContext c)

Definition at line 188 of file yuv2rgb_vis.c.

Referenced by ff_yuv2rgb_get_func_ptr().