FFmpeg
Functions
swscale_loongarch.h File Reference
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "config.h"

Go to the source code of this file.

Functions

void ff_hscale_8_to_15_lsx (SwsContext *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize)
 
void ff_hscale_8_to_19_lsx (SwsContext *c, int16_t *_dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize)
 
void ff_hscale_16_to_15_lsx (SwsContext *c, int16_t *_dst, int dstW, const uint8_t *_src, const int16_t *filter, const int32_t *filterPos, int filterSize)
 
void ff_hscale_16_to_15_sub_lsx (SwsContext *c, int16_t *_dst, int dstW, const uint8_t *_src, const int16_t *filter, const int32_t *filterPos, int filterSize, int sh)
 
void ff_hscale_16_to_19_lsx (SwsContext *c, int16_t *_dst, int dstW, const uint8_t *_src, const int16_t *filter, const int32_t *filterPos, int filterSize)
 
void ff_hscale_16_to_19_sub_lsx (SwsContext *c, int16_t *_dst, int dstW, const uint8_t *_src, const int16_t *filter, const int32_t *filterPos, int filterSize, int sh)
 
void planar_rgb_to_uv_lsx (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opq)
 
void planar_rgb_to_y_lsx (uint8_t *_dst, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opq)
 
void ff_yuv2planeX_8_lsx (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset)
 
av_cold void ff_sws_init_output_lsx (SwsContext *c)
 
int yuv420_rgb24_lsx (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
int yuv420_bgr24_lsx (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
int yuv420_rgba32_lsx (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
int yuv420_bgra32_lsx (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
int yuv420_argb32_lsx (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 
int yuv420_abgr32_lsx (SwsContext *c, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
 

Function Documentation

◆ ff_hscale_8_to_15_lsx()

void ff_hscale_8_to_15_lsx ( SwsContext c,
int16_t *  dst,
int  dstW,
const uint8_t *  src,
const int16_t *  filter,
const int32_t filterPos,
int  filterSize 
)

◆ ff_hscale_8_to_19_lsx()

void ff_hscale_8_to_19_lsx ( SwsContext c,
int16_t *  _dst,
int  dstW,
const uint8_t *  src,
const int16_t *  filter,
const int32_t filterPos,
int  filterSize 
)

◆ ff_hscale_16_to_15_lsx()

void ff_hscale_16_to_15_lsx ( SwsContext c,
int16_t *  _dst,
int  dstW,
const uint8_t *  _src,
const int16_t *  filter,
const int32_t filterPos,
int  filterSize 
)

Definition at line 26 of file swscale_lsx.c.

Referenced by ff_sws_init_swscale_loongarch().

◆ ff_hscale_16_to_15_sub_lsx()

void ff_hscale_16_to_15_sub_lsx ( SwsContext c,
int16_t *  _dst,
int  dstW,
const uint8_t *  _src,
const int16_t *  filter,
const int32_t filterPos,
int  filterSize,
int  sh 
)

Referenced by ff_hscale_16_to_15_lsx().

◆ ff_hscale_16_to_19_lsx()

void ff_hscale_16_to_19_lsx ( SwsContext c,
int16_t *  _dst,
int  dstW,
const uint8_t *  _src,
const int16_t *  filter,
const int32_t filterPos,
int  filterSize 
)

Definition at line 42 of file swscale_lsx.c.

Referenced by ff_sws_init_swscale_loongarch().

◆ ff_hscale_16_to_19_sub_lsx()

void ff_hscale_16_to_19_sub_lsx ( SwsContext c,
int16_t *  _dst,
int  dstW,
const uint8_t *  _src,
const int16_t *  filter,
const int32_t filterPos,
int  filterSize,
int  sh 
)

Referenced by ff_hscale_16_to_19_lsx().

◆ planar_rgb_to_uv_lsx()

void planar_rgb_to_uv_lsx ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  src[4],
int  width,
int32_t rgb2yuv,
void *  opq 
)

◆ planar_rgb_to_y_lsx()

void planar_rgb_to_y_lsx ( uint8_t *  _dst,
const uint8_t *  src[4],
int  width,
int32_t rgb2yuv,
void *  opq 
)

◆ ff_yuv2planeX_8_lsx()

void ff_yuv2planeX_8_lsx ( const int16_t *  filter,
int  filterSize,
const int16_t **  src,
uint8_t *  dest,
int  dstW,
const uint8_t *  dither,
int  offset 
)

◆ ff_sws_init_output_lsx()

av_cold void ff_sws_init_output_lsx ( SwsContext c)

Definition at line 1627 of file output_lsx.c.

Referenced by ff_sws_init_swscale_loongarch().

◆ yuv420_rgb24_lsx()

int yuv420_rgb24_lsx ( SwsContext c,
const uint8_t *  src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t *  dst[],
int  dstStride[] 
)

◆ yuv420_bgr24_lsx()

int yuv420_bgr24_lsx ( SwsContext c,
const uint8_t *  src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t *  dst[],
int  dstStride[] 
)

◆ yuv420_rgba32_lsx()

int yuv420_rgba32_lsx ( SwsContext c,
const uint8_t *  src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t *  dst[],
int  dstStride[] 
)

◆ yuv420_bgra32_lsx()

int yuv420_bgra32_lsx ( SwsContext c,
const uint8_t *  src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t *  dst[],
int  dstStride[] 
)

◆ yuv420_argb32_lsx()

int yuv420_argb32_lsx ( SwsContext c,
const uint8_t *  src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t *  dst[],
int  dstStride[] 
)

◆ yuv420_abgr32_lsx()

int yuv420_abgr32_lsx ( SwsContext c,
const uint8_t *  src[],
int  srcStride[],
int  srcSliceY,
int  srcSliceH,
uint8_t *  dst[],
int  dstStride[] 
)