FFmpeg
|
Struct which defines a slice of an image to be scaled or an output for a scaled slice. More...
#include <swscale_internal.h>
Data Fields | |
int | width |
Slice line width. More... | |
int | h_chr_sub_sample |
horizontal chroma subsampling factor More... | |
int | v_chr_sub_sample |
vertical chroma subsampling factor More... | |
int | is_ring |
flag to identify if this slice is a ring buffer More... | |
int | should_free_lines |
flag to identify if there are dynamic allocated lines More... | |
enum AVPixelFormat | fmt |
planes pixel format More... | |
SwsPlane | plane [MAX_SLICE_PLANES] |
color planes More... | |
Struct which defines a slice of an image to be scaled or an output for a scaled slice.
A slice can also be used as intermediate ring buffer for scaling steps.
Definition at line 1070 of file swscale_internal.h.
int SwsSlice::width |
int SwsSlice::h_chr_sub_sample |
horizontal chroma subsampling factor
Definition at line 1073 of file swscale_internal.h.
int SwsSlice::v_chr_sub_sample |
vertical chroma subsampling factor
Definition at line 1074 of file swscale_internal.h.
int SwsSlice::is_ring |
flag to identify if this slice is a ring buffer
Definition at line 1075 of file swscale_internal.h.
int SwsSlice::should_free_lines |
flag to identify if there are dynamic allocated lines
Definition at line 1076 of file swscale_internal.h.
enum AVPixelFormat SwsSlice::fmt |
planes pixel format
Definition at line 1077 of file swscale_internal.h.
Referenced by ff_init_desc_chscale(), ff_init_desc_fmt_convert(), and ff_init_desc_hscale().
SwsPlane SwsSlice::plane[MAX_SLICE_PLANES] |