Go to the documentation of this file.
21 #ifndef SWSCALE_OPS_DISPATCH_H
22 #define SWSCALE_OPS_DISPATCH_H
83 static_assert(
sizeof(
SwsOpExec) == 24 *
sizeof(
void *) +
85 16 *
sizeof(uint8_t) +
87 "SwsOpExec layout mismatch");
95 int bx_start,
int y_start,
int bx_end,
int y_end);
97 #define SWS_DECL_FUNC(NAME) \
98 void NAME(const SwsOpExec *, const void *, int, int, int, int)
static void comp(unsigned char *dst, ptrdiff_t dst_stride, unsigned char *src, ptrdiff_t src_stride, int add)
ptrdiff_t in_bump[4]
Pointer bump, difference between stride and processed line size.
bool opaque
If opaque is true, then func_opaque, priv and free are directly forwarded as SwsPass....
void(* SwsOpFunc)(const SwsOpExec *exec, const void *priv, int bx_start, int y_start, int bx_end, int y_end)
Process a given range of pixel blocks.
int32_t * in_bump_y
Line bump; determines how many additional lines to advance (after incrementing normally to the next l...
Copyright (C) 2026 Niklas Haas.
void ff_sws_compiled_op_unref(SwsCompiledOp *comp)
int32_t * in_offset_x
Pixel offset map; for horizontal scaling, in bytes.
void(* SwsPassFunc)(const SwsFrame *out, const SwsFrame *in, int y, int h, const SwsPass *pass)
Output h lines of filtered data.