|
VLC
2.1.0-git
|

Data Structures | |
| struct | staticentry_t |
| struct | entry_t |
Functions | |
| static vlc_fourcc_t | CreateFourcc (const char *psz_fourcc) |
| static entry_t | Lookup (const staticentry_t p_list[], vlc_fourcc_t i_fourcc) |
| static entry_t | Find (int i_cat, vlc_fourcc_t i_fourcc) |
| vlc_fourcc_t | vlc_fourcc_GetCodec (int i_cat, vlc_fourcc_t i_fourcc) |
| It returns the codec associated to a fourcc within a ES category. | |
| vlc_fourcc_t | vlc_fourcc_GetCodecFromString (int i_cat, const char *psz_fourcc) |
| It returns the codec associated to a fourcc store in a zero terminated string. | |
| vlc_fourcc_t | vlc_fourcc_GetCodecAudio (vlc_fourcc_t i_fourcc, int i_bits) |
| It convert the gives fourcc to an audio codec when possible. | |
| const char * | vlc_fourcc_GetDescription (int i_cat, vlc_fourcc_t i_fourcc) |
| It returns the description of the given fourcc or NULL if not found. | |
| static const vlc_fourcc_t * | GetFallback (vlc_fourcc_t i_fourcc, const vlc_fourcc_t *pp_fallback[], const vlc_fourcc_t p_list[]) |
| const vlc_fourcc_t * | vlc_fourcc_GetYUVFallback (vlc_fourcc_t i_fourcc) |
| It returns a list (terminated with the value 0) of YUV fourccs in decreasing priority order for the given chroma. | |
| const vlc_fourcc_t * | vlc_fourcc_GetRGBFallback (vlc_fourcc_t i_fourcc) |
| It returns a list (terminated with the value 0) of RGB fourccs in decreasing priority order for the given chroma. | |
| bool | vlc_fourcc_AreUVPlanesSwapped (vlc_fourcc_t a, vlc_fourcc_t b) |
| It returns true if the two fourccs are equivalent if their U&V planes are swapped. | |
| bool | vlc_fourcc_IsYUV (vlc_fourcc_t fcc) |
| It returns true if the given fourcc is YUV and false otherwise. | |
| const vlc_chroma_description_t * | vlc_fourcc_GetChromaDescription (vlc_fourcc_t i_fourcc) |
| It returns a vlc_chroma_description_t describing the request fourcc or NULL if not found. | |
Referenced by md5_final(), and transform().
Referenced by Lookup(), md5_final(), and transform().
| #define FCC2STR | ( | f | ) | { ((f)>>0)&0xff, ((f)>>8)&0xff, ((f)>>16)&0xff, ((f)>>24)&0xff } |
| #define NULL4 "\x00\x00\x00\x00" |
| #define PACKED_FMT | ( | size, | |
| bits | |||
| ) |
| #define PLANAR | ( | n, | |
| w_den, | |||
| h_den, | |||
| size, | |||
| bits | |||
| ) |
| #define PLANAR_16 | ( | n, | |
| w_den, | |||
| h_den, | |||
| bits | |||
| ) | PLANAR(n, w_den, h_den, 2, bits) |
| #define PLANAR_8 | ( | n, | |
| w_den, | |||
| h_den | |||
| ) | PLANAR(n, w_den, h_den, 1, 8) |
| #define VLC_CODEC_FALLBACK_420 |
| #define VLC_CODEC_FALLBACK_420_16 VLC_CODEC_I420, VLC_CODEC_YV12, VLC_CODEC_J420, VLC_CODEC_FALLBACK_420 |
| #define VLC_CODEC_FALLBACK_422 |
| #define VLC_CODEC_FALLBACK_422_16 VLC_CODEC_I422, VLC_CODEC_J422, VLC_CODEC_FALLBACK_422 |
| #define VLC_CODEC_FALLBACK_444 |
| #define VLC_CODEC_FALLBACK_444_16 VLC_CODEC_I444, VLC_CODEC_J444, VLC_CODEC_FALLBACK_444 |
| #define VLC_CODEC_FALLBACK_PACKED |
| #define VLC_CODEC_YUV_PACKED |
| #define VLC_CODEC_YUV_PLANAR_410 VLC_CODEC_I410, VLC_CODEC_YV9 |
| #define VLC_CODEC_YUV_PLANAR_420 VLC_CODEC_I420, VLC_CODEC_YV12, VLC_CODEC_J420 |
| #define VLC_CODEC_YUV_PLANAR_420_16 VLC_CODEC_I420_10L, VLC_CODEC_I420_10B, VLC_CODEC_I420_9L, VLC_CODEC_I420_9B |
| #define VLC_CODEC_YUV_PLANAR_422 VLC_CODEC_I422, VLC_CODEC_J422 |
| #define VLC_CODEC_YUV_PLANAR_422_16 VLC_CODEC_I422_10L, VLC_CODEC_I422_10B, VLC_CODEC_I422_9L, VLC_CODEC_I422_9B |
| #define VLC_CODEC_YUV_PLANAR_440 VLC_CODEC_I440, VLC_CODEC_J440 |
| #define VLC_CODEC_YUV_PLANAR_444 VLC_CODEC_I444, VLC_CODEC_J444 |
| #define VLC_CODEC_YUV_PLANAR_444_16 VLC_CODEC_I444_10L, VLC_CODEC_I444_10B, VLC_CODEC_I444_9L, VLC_CODEC_I444_9B |
| #define VLC_CODEC_YUV_SEMIPLANAR_420 VLC_CODEC_NV12, VLC_CODEC_NV21 |
|
inlinestatic |
References VLC_FOURCC.
Referenced by Find(), Lookup(), and vlc_fourcc_GetCodec().
|
static |
References AUDIO_ES, CreateFourcc(), Lookup(), entry_t::p_class, SPU_ES, and VIDEO_ES.
Referenced by vlc_fourcc_GetCodec(), and vlc_fourcc_GetDescription().
|
static |
Referenced by vlc_fourcc_GetRGBFallback(), and vlc_fourcc_GetYUVFallback().
|
static |
References B, CreateFourcc(), staticentry_t::p_class, entry_t::p_class, staticentry_t::p_fourcc, entry_t::p_fourcc, staticentry_t::psz_description, and entry_t::psz_description.
Referenced by Find().
| bool vlc_fourcc_AreUVPlanesSwapped | ( | vlc_fourcc_t | a, |
| vlc_fourcc_t | b | ||
| ) |
It returns true if the two fourccs are equivalent if their U&V planes are swapped.
References VLC_CODEC_I410, VLC_CODEC_I420, VLC_CODEC_J420, VLC_CODEC_YV12, and VLC_CODEC_YV9.
| const vlc_chroma_description_t* vlc_fourcc_GetChromaDescription | ( | vlc_fourcc_t | i_fourcc | ) |
It returns a vlc_chroma_description_t describing the request fourcc or NULL if not found.
References p_fourcc, and p_list_chroma_description.
Referenced by picture_Setup(), and vout_new_buffer().
| vlc_fourcc_t vlc_fourcc_GetCodec | ( | int | i_cat, |
| vlc_fourcc_t | i_fourcc | ||
| ) |
It returns the codec associated to a fourcc within a ES category.
If not found, it will return the given fourcc. If found, it will always be one of the VLC_CODEC_ defined above.
You may use UNKNOWN_ES for the ES category if you don't have the information.
References CreateFourcc(), Find(), i_fourcc, and entry_t::p_class.
Referenced by aout_BitsPerSample(), es_format_IsSimilar(), EsOutAdd(), video_format_Setup(), vlc_fourcc_GetCodecAudio(), vlc_fourcc_GetCodecFromString(), and VoutValidateFormat().
| vlc_fourcc_t vlc_fourcc_GetCodecAudio | ( | vlc_fourcc_t | i_fourcc, |
| int | i_bits | ||
| ) |
It convert the gives fourcc to an audio codec when possible.
The fourcc converted are aflt, araw/pcm , twos, sowt. When an incompatible i_bits is detected, 0 is returned. The other fourcc goes through vlc_fourcc_GetCodec and i_bits is not checked.
References AUDIO_ES, VLC_CODEC_FL32, VLC_CODEC_FL64, VLC_CODEC_S16B, VLC_CODEC_S16L, VLC_CODEC_S24B, VLC_CODEC_S24L, VLC_CODEC_S32B, VLC_CODEC_S32L, VLC_CODEC_S8, VLC_CODEC_U8, VLC_FOURCC, and vlc_fourcc_GetCodec().
Referenced by EsOutAdd().
| vlc_fourcc_t vlc_fourcc_GetCodecFromString | ( | int | i_cat, |
| const char * | |||
| ) |
It returns the codec associated to a fourcc store in a zero terminated string.
If the string is NULL or does not have exactly 4 charateres, it will return 0, otherwise it behaves like vlc_fourcc_GetCodec.
Provided for convenience.
References VLC_FOURCC, and vlc_fourcc_GetCodec().
| const char* vlc_fourcc_GetDescription | ( | int | i_cat, |
| vlc_fourcc_t | i_fourcc | ||
| ) |
It returns the description of the given fourcc or NULL if not found.
You may use UNKNOWN_ES for the ES category if you don't have the information.
References Find(), and entry_t::psz_description.
Referenced by EsOutUpdateInfo().
| const vlc_fourcc_t* vlc_fourcc_GetRGBFallback | ( | vlc_fourcc_t | ) |
It returns a list (terminated with the value 0) of RGB fourccs in decreasing priority order for the given chroma.
It will always return a non NULL pointer that must not be freed.
References GetFallback(), p_RGB32_fallback, and pp_RGB_fallback.
| const vlc_fourcc_t* vlc_fourcc_GetYUVFallback | ( | vlc_fourcc_t | ) |
It returns a list (terminated with the value 0) of YUV fourccs in decreasing priority order for the given chroma.
It will always return a non NULL pointer that must not be freed.
References GetFallback(), p_list_YUV, and pp_YUV_fallback.
| bool vlc_fourcc_IsYUV | ( | vlc_fourcc_t | fcc | ) |
It returns true if the given fourcc is YUV and false otherwise.
References p_list_YUV.
Referenced by spu_Render(), and vout_new_buffer().
| vlc_chroma_description_t description |
Referenced by Usage(), and vlc_sdp_Start().
| vlc_fourcc_t p_fourcc[6] |
Referenced by vlc_fourcc_GetChromaDescription().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct { ... } p_list_chroma_description[] |
Referenced by vlc_fourcc_GetChromaDescription().
|
static |
|
static |
|
static |
Referenced by vlc_fourcc_GetYUVFallback(), and vlc_fourcc_IsYUV().
|
static |
|
static |
|
static |
|
static |
Referenced by vlc_fourcc_GetRGBFallback().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Referenced by vlc_fourcc_GetRGBFallback().
|
static |
Referenced by vlc_fourcc_GetYUVFallback().
1.8.1.2