FFmpeg
Loading...
Searching...
No Matches
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) pal8 = 4x u8 (palette)
 
uint8_t elems
 
uint8_t frac
 
struct { 
 
   SwsOpType   op 
 
   SwsFilterWeights *   kernel 
 
   SwsPixelType   type 
 
filter 
 Filter kernel to apply to each plane while sampling.
 

Detailed Description

Definition at line 112 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) pal8 = 4x u8 (palette)

Definition at line 122 of file ops.h.

Referenced by ff_sws_op_list_is_noop(), ff_sws_op_list_optimize(), ff_sws_op_list_split_planes(), and op_list_get_plane_copy().

◆ elems

uint8_t SwsReadWriteOp::elems

◆ frac

uint8_t SwsReadWriteOp::frac

Definition at line 124 of file ops.h.

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

◆ op

SwsOpType SwsReadWriteOp::op

Definition at line 134 of file ops.h.

Referenced by ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().

◆ kernel

SwsFilterWeights* SwsReadWriteOp::kernel

Definition at line 135 of file ops.h.

Referenced by ff_sws_op_list_optimize().

◆ type

SwsPixelType SwsReadWriteOp::type

Definition at line 136 of file ops.h.

Referenced by ff_sws_op_list_optimize().

◆ [struct]

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 ff_sws_op_list_is_noop(), and ff_sws_op_list_optimize().


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