FFmpeg
Functions
ops_impl_conv.c File Reference
#include "libavutil/error.h"
#include "libavutil/rational.h"
#include "libswscale/ops.h"
#include "ops_impl.h"

Go to the source code of this file.

Functions

static void swizzle_emit (SwsAArch64OpImplParams *out, uint8_t dst, uint8_t src)
 NOTE: This file is #include'd directly by both the NEON backend and the sws_ops_aarch64 tool. More...
 
static void convert_swizzle_to_moves (const SwsOp *op, SwsAArch64OpImplParams *out)
 
static int convert_to_aarch64_impl (SwsContext *ctx, const SwsOpList *ops, int n, int block_size, SwsAArch64OpImplParams *out)
 Convert SwsOp to a SwsAArch64OpImplParams. More...
 

Function Documentation

◆ swizzle_emit()

static void swizzle_emit ( SwsAArch64OpImplParams out,
uint8_t  dst,
uint8_t  src 
)
static

NOTE: This file is #include'd directly by both the NEON backend and the sws_ops_aarch64 tool.

Definition at line 32 of file ops_impl_conv.c.

Referenced by convert_swizzle_to_moves().

◆ convert_swizzle_to_moves()

static void convert_swizzle_to_moves ( const SwsOp op,
SwsAArch64OpImplParams out 
)
static

Definition at line 39 of file ops_impl_conv.c.

Referenced by convert_to_aarch64_impl().

◆ convert_to_aarch64_impl()

static int convert_to_aarch64_impl ( SwsContext ctx,
const SwsOpList ops,
int  n,
int  block_size,
SwsAArch64OpImplParams out 
)
static

Convert SwsOp to a SwsAArch64OpImplParams.

Read the comments regarding SwsAArch64OpImplParams in ops_impl.h for more information.

Most SwsOp work on fields described by SWS_OP_NEEDED(). The few that don't will override this field later.

The different types of read operations have been split into their own SwsUOpType to simplify the implementation.

The different types of write operations have been split into their own SwsUOpType to simplify the implementation.

Detect whether copies are needed or if a simple permute is enough.

Definition at line 98 of file ops_impl_conv.c.

Referenced by aarch64_compile(), and collect_ops_compile().