FFmpeg
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

  Slice line width. More...
 
  horizontal chroma subsampling factor More...
 
  vertical chroma subsampling factor More...
 
  flag to identify if this slice is a ring buffer More...
 
  flag to identify if there are dynamic allocated lines More...
 
  planes pixel format More...
 
  color planes More...
 

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

Field Documentation

int SwsSlice::width

Slice line width.

Definition at line 916 of file swscale_internal.h.

Referenced by alloc_lines(), any_vscale(), chr_convert(), chr_h_scale(), chr_planar_vscale(), ff_init_slice_from_src(), gamma_convert(), lum_convert(), lum_h_scale(), lum_planar_vscale(), packed_vscale(), and swscale().

int SwsSlice::h_chr_sub_sample

horizontal chroma subsampling factor

Definition at line 917 of file swscale_internal.h.

Referenced by alloc_slice(), chr_convert(), chr_h_scale(), and chr_planar_vscale().

int SwsSlice::v_chr_sub_sample

vertical chroma subsampling factor

Definition at line 918 of file swscale_internal.h.

Referenced by alloc_slice(), any_vscale(), chr_convert(), chr_planar_vscale(), lum_convert(), and packed_vscale().

int SwsSlice::is_ring

flag to identify if this slice is a ring buffer

Definition at line 919 of file swscale_internal.h.

Referenced by alloc_lines(), alloc_slice(), and free_lines().

int SwsSlice::should_free_lines

flag to identify if there are dynamic allocated lines

Definition at line 920 of file swscale_internal.h.

Referenced by alloc_lines(), alloc_slice(), free_lines(), and free_slice().

enum AVPixelFormat SwsSlice::fmt

planes pixel format

Definition at line 921 of file swscale_internal.h.

Referenced by alloc_slice(), ff_init_desc_chscale(), ff_init_desc_fmt_convert(), and ff_init_desc_hscale().

SwsPlane SwsSlice::plane[MAX_SLICE_PLANES]

color planes

Definition at line 922 of file swscale_internal.h.

Referenced by alloc_lines(), alloc_slice(), any_vscale(), chr_convert(), chr_h_scale(), chr_planar_vscale(), ff_init_slice_from_src(), ff_rotate_slice(), fill_ones(), free_lines(), free_slice(), gamma_convert(), lum_convert(), lum_h_scale(), lum_planar_vscale(), no_chr_scale(), packed_vscale(), and swscale().


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

Generated on Fri Jan 12 2018 01:48:36 for FFmpeg by   doxygen 1.8.6

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