21#ifndef SWSCALE_OPS_INTERNAL_H
22#define SWSCALE_OPS_INTERNAL_H
29#define Q(N) ((AVRational64) { N, 1 })
34 for (
int i = 0;
i < 4;
i++)
36 for (
int i = 0;
i < 4;
i++) {
37 const int bits =
op->pack.pattern[
i];
#define i(width, name, range_min, range_max)
static const uint8_t bits[8]
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
static int shift(int a, int b)
static const struct @257111027162314367033347246032313251342043035002 planes[]
static const uint16_t mask[17]
int ff_sws_op_list_split_at(SwsOpList *ops1, SwsOpList **ops2, int index)
Split an op list into two at the given index.
static void ff_sws_pack_op_decode(const SwsOp *op, uint64_t mask[4], int shift[4])
int ff_sws_op_list_split_planes(SwsOpList *ops1, SwsOpList **ops2, SwsCompMask planes)
Reduce an op list into a reduced subset that operates only on a given subset of planes.
Helper struct for representing a list of operations.
uint8_t SwsCompMask
Bit-mask of components.