VLC 4.0.0-dev
Loading...
Searching...
No Matches

Chroma conversion result structure. More...

#include <vlc_chroma_probe.h>

Data Fields

vlc_fourcc_t chain [(2+1)]
 Array of chromas used to achieve the conversion.
 
size_t chain_count
 Number of chromas in the chain.
 
unsigned cost
 Cost of the full conversion, lower is better.
 
unsigned quality
 Quality of the conversion, higher is better.
 

Detailed Description

Chroma conversion result structure.

Field Documentation

◆ chain

vlc_fourcc_t vlc_chroma_conv_result::chain[(2+ 1)]

Array of chromas used to achieve the conversion.

'chain[0]' is always equals to the 'in' argument of the vlc_chroma_conv_Probe() function.

if the out argument of the vlc_chroma_conv_Probe() is valid, chain[chain_count - 1] is equals to 'out'

Referenced by GetFallback(), vlc_chroma_conv_result_Equals(), vlc_chroma_conv_result_FromNode(), and vlc_chroma_conv_result_ToString().

◆ chain_count

size_t vlc_chroma_conv_result::chain_count

◆ cost

unsigned vlc_chroma_conv_result::cost

Cost of the full conversion, lower is better.

Referenced by SortResults(), vlc_chroma_conv_Probe(), vlc_chroma_conv_result_FromNode(), and vlc_chroma_conv_result_ToString().

◆ quality

unsigned vlc_chroma_conv_result::quality

Quality of the conversion, higher is better.

A quality of 100 means there are no quality loss: same color size and same vlc_chroma_subtype (or same YUV subsampling for video).

Referenced by SortResults(), vlc_chroma_conv_result_Equals(), vlc_chroma_conv_result_FromNode(), and vlc_chroma_conv_result_ToString().


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