FFmpeg
Data Fields
SwsReadWriteOp Struct Reference

#include <ops.h>

Data Fields

SwsReadWriteMode mode
 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 elems
 
uint8_t frac
 
struct {
   SwsOpType   op
 
   SwsFilterWeights *   kernel
 
   SwsPixelType   type
 
filter
 Filter kernel to apply to each plane while sampling. More...
 

Detailed Description

Definition at line 101 of file ops.h.

Field Documentation

◆ mode

SwsReadWriteMode SwsReadWriteOp::mode

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 110 of file ops.h.

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

◆ elems

uint8_t SwsReadWriteOp::elems

Definition at line 111 of file ops.h.

Referenced by ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ frac

uint8_t SwsReadWriteOp::frac

Definition at line 112 of file ops.h.

Referenced by ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ op

SwsOpType SwsReadWriteOp::op

Definition at line 122 of file ops.h.

Referenced by check_compiled(), and ff_sws_op_list_optimize().

◆ kernel

SwsFilterWeights* SwsReadWriteOp::kernel

Definition at line 123 of file ops.h.

Referenced by check_compiled(), and ff_sws_op_list_optimize().

◆ type

SwsPixelType SwsReadWriteOp::type

Definition at line 124 of file ops.h.

Referenced by ff_sws_op_list_optimize().

◆ filter

struct { ... } 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.

Referenced by check_compiled(), and ff_sws_op_list_optimize().


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