FFmpeg
Loading...
Searching...
No Matches
Data Fields
SwsSlice Struct Reference

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.
 
  horizontal chroma subsampling factor
 
  vertical chroma subsampling factor
 
int  is_ring
  flag to identify if this slice is a ring buffer
 
  flag to identify if there are dynamic allocated lines
 
  planes pixel format
 
  color planes
 

Detailed Description

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 1120 of file swscale_internal.h.

Field Documentation

◆  width

int SwsSlice::width

Slice line width.

Definition at line 1122 of file swscale_internal.h.

Referenced by ff_swscale().

◆  h_chr_sub_sample

int SwsSlice::h_chr_sub_sample

horizontal chroma subsampling factor

Definition at line 1123 of file swscale_internal.h.

◆  v_chr_sub_sample

int SwsSlice::v_chr_sub_sample

vertical chroma subsampling factor

Definition at line 1124 of file swscale_internal.h.

◆  is_ring

int SwsSlice::is_ring

flag to identify if this slice is a ring buffer

Definition at line 1125 of file swscale_internal.h.

◆  should_free_lines

int SwsSlice::should_free_lines

flag to identify if there are dynamic allocated lines

Definition at line 1126 of file swscale_internal.h.

◆  fmt

enum AVPixelFormat SwsSlice::fmt

planes pixel format

Definition at line 1127 of file swscale_internal.h.

◆  plane

SwsPlane SwsSlice::plane[MAX_SLICE_PLANES]

color planes

Definition at line 1128 of file swscale_internal.h.

Referenced by ff_swscale().


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

Generated on Sun Sep 6 2026 19:21:29 for FFmpeg by doxygen 1.13.2

AltStyle によって変換されたページ (->オリジナル) /