FFmpeg
|
#include <stddef.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/x86/asm.h"
Go to the source code of this file.
Macros | |
#define | PREFETCH " # nop" |
#define | EMMS "emms" |
#define | MOVNTQ "movq" |
#define | SFENCE " # nop" |
#define | STORE_BGR24_MMX |
#define | PACK_RGB32 |
Functions | |
static void | rgb24tobgr32_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb32tobgr24_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb15to16_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb16to15_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb32to16_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb32tobgr16_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb32to15_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb32tobgr15_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb24tobgr16_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb24to16_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb24tobgr15_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb24to15_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb15tobgr24_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb16tobgr24_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb15to32_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb16to32_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | rgb24tobgr24_TMPL (const uint8_t *src, uint8_t *dst, int src_size) |
static void | yuvPlanartoyuy2_TMPL (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride, int vertLumPerChroma) |
static void | yv12toyuy2_TMPL (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) |
Height should be a multiple of 2 and width should be a multiple of 16. More... | |
static void | yuvPlanartouyvy_TMPL (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride, int vertLumPerChroma) |
static void | yv12touyvy_TMPL (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) |
Height should be a multiple of 2 and width should be a multiple of 16 (If this is a problem for anyone then tell me, and I will fix it.) More... | |
static void | yuv422ptouyvy_TMPL (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) |
Width should be a multiple of 16. More... | |
static void | yuv422ptoyuy2_TMPL (const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) |
Width should be a multiple of 16. More... | |
static void | yuy2toyv12_TMPL (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride) |
Height should be a multiple of 2 and width should be a multiple of 16. More... | |
static void | uyvytoyv12_TMPL (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride) |
Height should be a multiple of 2 and width should be a multiple of 16. More... | |
static void | interleaveBytes_TMPL (const uint8_t *src1, const uint8_t *src2, uint8_t *dest, int width, int height, int src1Stride, int src2Stride, int dstStride) |
Height should be a multiple of 2 and width should be a multiple of 2. More... | |
static void | vu9_to_vu12_TMPL (const uint8_t *src1, const uint8_t *src2, uint8_t *dst1, uint8_t *dst2, int width, int height, int srcStride1, int srcStride2, int dstStride1, int dstStride2) |
static void | yvu9_to_yuy2_TMPL (const uint8_t *src1, const uint8_t *src2, const uint8_t *src3, uint8_t *dst, int width, int height, int srcStride1, int srcStride2, int srcStride3, int dstStride) |
static void | extract_even_TMPL (const uint8_t *src, uint8_t *dst, x86_reg count) |
static void | extract_odd_TMPL (const uint8_t *src, uint8_t *dst, x86_reg count) |
static void | extract_even2_TMPL (const uint8_t *src, uint8_t *dst0, uint8_t *dst1, x86_reg count) |
static void | extract_even2avg_TMPL (const uint8_t *src0, const uint8_t *src1, uint8_t *dst0, uint8_t *dst1, x86_reg count) |
static void | extract_odd2_TMPL (const uint8_t *src, uint8_t *dst0, uint8_t *dst1, x86_reg count) |
static void | extract_odd2avg_TMPL (const uint8_t *src0, const uint8_t *src1, uint8_t *dst0, uint8_t *dst1, x86_reg count) |
static void | yuyvtoyuv420_TMPL (uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) |
static void | yuyvtoyuv422_TMPL (uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) |
static void | uyvytoyuv420_TMPL (uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) |
static void | uyvytoyuv422_TMPL (uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) |
static av_cold void | rgb2rgb_init_TMPL (void) |
#define PREFETCH " # nop" |
Definition at line 46 of file rgb2rgb_template.c.
#define EMMS "emms" |
Definition at line 53 of file rgb2rgb_template.c.
#define MOVNTQ "movq" |
Definition at line 60 of file rgb2rgb_template.c.
#define SFENCE " # nop" |
Definition at line 61 of file rgb2rgb_template.c.
#define STORE_BGR24_MMX |
Definition at line 112 of file rgb2rgb_template.c.
#define PACK_RGB32 |
Definition at line 938 of file rgb2rgb_template.c.
Definition at line 68 of file rgb2rgb_template.c.
Definition at line 146 of file rgb2rgb_template.c.
Definition at line 189 of file rgb2rgb_template.c.
Definition at line 232 of file rgb2rgb_template.c.
Definition at line 280 of file rgb2rgb_template.c.
Definition at line 330 of file rgb2rgb_template.c.
Definition at line 385 of file rgb2rgb_template.c.
Definition at line 435 of file rgb2rgb_template.c.
Definition at line 490 of file rgb2rgb_template.c.
Definition at line 547 of file rgb2rgb_template.c.
Definition at line 604 of file rgb2rgb_template.c.
Definition at line 661 of file rgb2rgb_template.c.
Definition at line 718 of file rgb2rgb_template.c.
Definition at line 824 of file rgb2rgb_template.c.
Definition at line 950 of file rgb2rgb_template.c.
Definition at line 993 of file rgb2rgb_template.c.
Definition at line 1037 of file rgb2rgb_template.c.
|
inlinestatic |
Definition at line 1105 of file rgb2rgb_template.c.
|
inlinestatic |
Height should be a multiple of 2 and width should be a multiple of 16.
(If this is a problem for anyone then tell me, and I will fix it.)
Definition at line 1162 of file rgb2rgb_template.c.
|
inlinestatic |
Definition at line 1170 of file rgb2rgb_template.c.
|
inlinestatic |
Height should be a multiple of 2 and width should be a multiple of 16 (If this is a problem for anyone then tell me, and I will fix it.)
Definition at line 1227 of file rgb2rgb_template.c.
|
inlinestatic |
Width should be a multiple of 16.
Definition at line 1238 of file rgb2rgb_template.c.
|
inlinestatic |
Width should be a multiple of 16.
Definition at line 1248 of file rgb2rgb_template.c.
|
inlinestatic |
Height should be a multiple of 2 and width should be a multiple of 16.
(If this is a problem for anyone then tell me, and I will fix it.)
Definition at line 1259 of file rgb2rgb_template.c.
|
inlinestatic |
Height should be a multiple of 2 and width should be a multiple of 16.
(If this is a problem for anyone then tell me, and I will fix it.) Chrominance data is only taken from every second line, others are ignored. FIXME: Write HQ version.
Definition at line 1465 of file rgb2rgb_template.c.
|
static |
Height should be a multiple of 2 and width should be a multiple of 2.
(If this is a problem for anyone then tell me, and I will fix it.) Chrominance data is only taken from every second line, others are ignored in the C version. FIXME: Write HQ version.
Definition at line 1826 of file rgb2rgb_template.c.
|
inlinestatic |
Definition at line 1934 of file rgb2rgb_template.c.
|
inlinestatic |
Definition at line 2026 of file rgb2rgb_template.c.
Definition at line 2113 of file rgb2rgb_template.c.
Definition at line 2150 of file rgb2rgb_template.c.
|
static |
Definition at line 2189 of file rgb2rgb_template.c.
|
static |
Definition at line 2236 of file rgb2rgb_template.c.
|
static |
Definition at line 2290 of file rgb2rgb_template.c.
|
static |
Definition at line 2338 of file rgb2rgb_template.c.
|
static |
Definition at line 2393 of file rgb2rgb_template.c.
|
static |
Definition at line 2419 of file rgb2rgb_template.c.
|
static |
Definition at line 2443 of file rgb2rgb_template.c.
|
static |
Definition at line 2469 of file rgb2rgb_template.c.
|
static |
Definition at line 2494 of file rgb2rgb_template.c.