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 (SwsInternal *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 (SwsInternal *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 (SwsInternal *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 (SwsInternal *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 (SwsInternal *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 (SwsInternal *c, int16_t *_dst, int dstW, const uint8_t *_src, const int16_t *filter, const int32_t *filterPos, int filterSize, int sh)
 
void lumRangeFromJpeg_lsx (int16_t *dst, int width)
 
void chrRangeFromJpeg_lsx (int16_t *dstU, int16_t *dstV, int width)
 
void lumRangeToJpeg_lsx (int16_t *dst, int width)
 
void chrRangeToJpeg_lsx (int16_t *dstU, int16_t *dstV, int width)
 
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 yuv2planeX_8_lsx (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset)
 
void yuv2plane1_8_lsx (const int16_t *src, uint8_t *dest, int dstW, const uint8_t *dither, int offset)
 
void yuy2ToUV_lsx (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
void yvy2ToUV_lsx (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
void uyvyToUV_lsx (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
void nv12ToUV_lsx (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
void nv21ToUV_lsx (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
void abgrToA_lsx (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
void rgbaToA_lsx (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
av_cold void ff_sws_init_input_lsx (SwsInternal *c)
 
av_cold void ff_sws_init_output_lsx (SwsInternal *c, yuv2planar1_fn *yuv2plane1, yuv2planarX_fn *yuv2planeX, yuv2interleavedX_fn *yuv2nv12cX, yuv2packed1_fn *yuv2packed1, yuv2packed2_fn *yuv2packed2, yuv2packedX_fn *yuv2packedX, yuv2anyX_fn *yuv2anyX)
 
int yuv420_rgb24_lsx (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
 
int yuv420_bgr24_lsx (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
 
int yuv420_rgba32_lsx (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
 
int yuv420_bgra32_lsx (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
 
int yuv420_argb32_lsx (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
 
int yuv420_abgr32_lsx (SwsInternal *c, const uint8_t *const src[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
 

Function Documentation

◆ ff_hscale_8_to_15_lsx()

void ff_hscale_8_to_15_lsx ( SwsInternal 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 ( SwsInternal 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 ( SwsInternal 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 ( SwsInternal 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 ( SwsInternal 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 ( SwsInternal 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().

◆ lumRangeFromJpeg_lsx()

void lumRangeFromJpeg_lsx ( int16_t *  dst,
int  width 
)

◆ chrRangeFromJpeg_lsx()

void chrRangeFromJpeg_lsx ( int16_t *  dstU,
int16_t *  dstV,
int  width 
)

◆ lumRangeToJpeg_lsx()

void lumRangeToJpeg_lsx ( int16_t *  dst,
int  width 
)

◆ chrRangeToJpeg_lsx()

void chrRangeToJpeg_lsx ( int16_t *  dstU,
int16_t *  dstV,
int  width 
)

◆ 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 
)

Referenced by ff_sws_init_input_lsx().

◆ 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 
)

◆ yuv2planeX_8_lsx()

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

Referenced by ff_sws_init_output_lsx().

◆ yuv2plane1_8_lsx()

void yuv2plane1_8_lsx ( const int16_t *  src,
uint8_t *  dest,
int  dstW,
const uint8_t *  dither,
int  offset 
)

Referenced by ff_sws_init_output_lsx().

◆ yuy2ToUV_lsx()

void yuy2ToUV_lsx ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ yvy2ToUV_lsx()

void yvy2ToUV_lsx ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ uyvyToUV_lsx()

void uyvyToUV_lsx ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ nv12ToUV_lsx()

void nv12ToUV_lsx ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ nv21ToUV_lsx()

void nv21ToUV_lsx ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ abgrToA_lsx()

void abgrToA_lsx ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ rgbaToA_lsx()

void rgbaToA_lsx ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)

Referenced by ff_sws_init_input_lsx().

◆ ff_sws_init_input_lsx()

av_cold void ff_sws_init_input_lsx ( SwsInternal c)

Definition at line 24 of file input_lsx.c.

Referenced by ff_sws_init_swscale_loongarch().

◆ ff_sws_init_output_lsx()

av_cold void ff_sws_init_output_lsx ( SwsInternal c,
yuv2planar1_fn yuv2plane1,
yuv2planarX_fn yuv2planeX,
yuv2interleavedX_fn yuv2nv12cX,
yuv2packed1_fn yuv2packed1,
yuv2packed2_fn yuv2packed2,
yuv2packedX_fn yuv2packedX,
yuv2anyX_fn yuv2anyX 
)

Definition at line 1627 of file output_lsx.c.

Referenced by ff_sws_init_swscale_loongarch().

◆ yuv420_rgb24_lsx()

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

◆ yuv420_bgr24_lsx()

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

◆ yuv420_rgba32_lsx()

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

◆ yuv420_bgra32_lsx()

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

◆ yuv420_argb32_lsx()

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

◆ yuv420_abgr32_lsx()

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