FFmpeg
Data Fields
SwsReadWriteOp Struct Reference

#include <ops.h>

Data Fields

uint8_t elems
 Examples: rgba = 4x u8 packed yuv444p = 3x u8 rgb565 = 1x u16 <- use SWS_OP_UNPACK to unpack monow = 1x u8 (frac 3) rgb4 = 1x u8 (frac 1) More...
 
uint8_t frac
 
bool packed
 
SwsOpType filter
 Filter kernel to apply to each plane while sampling. More...
 
SwsFilterWeightskernel
 

Detailed Description

Definition at line 109 of file ops.h.

Field Documentation

◆ elems

uint8_t SwsReadWriteOp::elems

Examples: rgba = 4x u8 packed yuv444p = 3x u8 rgb565 = 1x u16 <- use SWS_OP_UNPACK to unpack monow = 1x u8 (frac 3) rgb4 = 1x u8 (frac 1)

Definition at line 118 of file ops.h.

Referenced by compile(), ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ frac

uint8_t SwsReadWriteOp::frac

Definition at line 119 of file ops.h.

Referenced by ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ packed

bool SwsReadWriteOp::packed

Definition at line 120 of file ops.h.

Referenced by check_ops(), compile(), ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ filter

SwsOpType SwsReadWriteOp::filter

Filter kernel to apply to each plane while sampling.

Currently, only one shared filter kernel is supported for all planes. (Optional)

Note: As with SWS_OP_FILTER_*, if a filter kernel is in use, the read operation will always output floating point values.

Definition at line 129 of file ops.h.

Referenced by check_ops(), and ff_sws_op_list_optimize().

◆ kernel

SwsFilterWeights* SwsReadWriteOp::kernel

Definition at line 130 of file ops.h.

Referenced by check_ops(), ff_sws_op_list_optimize(), and setup_filter_v().


The documentation for this struct was generated from the following file: