|
FFmpeg 8.0.1
|
Main external API structure. More...
#include <libswscale/swscale.h>
Data Fields | |
| const AVClass * | av_class |
| void * | opaque |
| Private data of the user, can be used to carry app specific stuff. | |
| unsigned | flags |
| Bitmask of SWS_*. | |
| double | scaler_params [2] |
| Extra parameters for fine-tuning certain scalers. | |
| int | threads |
| How many threads to use for processing, or 0 for automatic selection. | |
| SwsDither | dither |
| Dither mode. | |
| SwsAlphaBlend | alpha_blend |
| Alpha blending mode. | |
| int | gamma_flag |
| Use gamma correct scaling. | |
| int | src_w |
| Deprecated frame property overrides, for the legacy API only. | |
| int | src_h |
| Width and height of the source frame. | |
| int | dst_w |
| int | dst_h |
| Width and height of the destination frame. | |
| int | src_format |
| Source pixel format. | |
| int | dst_format |
| Destination pixel format. | |
| int | src_range |
| Source is full range. | |
| int | dst_range |
| Destination is full range. | |
| int | src_v_chr_pos |
| Source vertical chroma position in luma grid / 256. | |
| int | src_h_chr_pos |
| Source horizontal chroma position. | |
| int | dst_v_chr_pos |
| Destination vertical chroma position. | |
| int | dst_h_chr_pos |
| Destination horizontal chroma position. | |
| int | intent |
| Desired ICC intent for color space conversions. | |
Main external API structure.
New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(SwsContext) is not part of the ABI.
| void* SwsContext::opaque |
| unsigned SwsContext::flags |
| double SwsContext::scaler_params[2] |
| int SwsContext::threads |
| SwsAlphaBlend SwsContext::alpha_blend |
| int SwsContext::src_w |
Deprecated frame property overrides, for the legacy API only.
Ignored by sws_scale_frame() when used in dynamic mode, in which case all properties are instead taken from the frame directly.
Definition at line 226 of file swscale.h.
Referenced by main().
| int SwsContext::src_h |
Width and height of the source frame.
Definition at line 226 of file swscale.h.
Referenced by main().
| int SwsContext::dst_w |
| int SwsContext::dst_h |
Width and height of the destination frame.
Definition at line 227 of file swscale.h.
Referenced by main().
| int SwsContext::src_v_chr_pos |
| int SwsContext::src_h_chr_pos |
| int SwsContext::dst_v_chr_pos |
| int SwsContext::dst_h_chr_pos |
| int SwsContext::intent |