- pp_context_t *pp_context; /* Never changes after init */
- pp_mode_t *pp_mode; /* Set to NULL if post processing is disabled */
+ /* Never changes after init */
+ pp_context_t *pp_context;
- bool b_had_matrix; /* Set to true if previous pic had a quant matrix (used to prevent spamming warning messages */
+ /* Set to NULL if post processing is disabled */
+ pp_mode_t *pp_mode;
- vlc_mutex_t lock; /* Lock when using or changing pp_mode */
+ /* Set to true if previous pic had a quant matrix
+ (used to prevent spamming warning messages) */
+ bool b_had_matrix;
+
+ /* Lock when using or changing pp_mode */
+ vlc_mutex_t lock;
};
};
@@ -139,26+147,28 @@ static int OpenPostproc( vlc_object_t *p_this )
switch( p_filter->fmt_in.video.i_chroma )
{
switch( p_filter->fmt_in.video.i_chroma )
{
- case VLC_FOURCC('I','4','4','4'):
- case VLC_FOURCC('J','4','4','4'):
- /* case VLC_FOURCC('Y','U','V','A'): FIXME Should work but alpha plane needs to be copied manually and I'm kind of feeling too lazy to write the code to do that ATM (i_pitch vs i_visible_pitch...). */
+ case VLC_CODEC_I444:
+ case VLC_CODEC_J444:
+ /* case VLC_CODEC_YUVA:
+ FIXME: Should work but alpha plane needs to be copied manually and
+ I'm kind of feeling too lazy to write the code to do that ATM
- var_Change( p_filter, FILTER_PREFIX "q", VLC_VAR_SETISCOMMAND, NULL, NULL ); /* For some obscure reason the VLC_VAR_ISCOMMAND isn't taken into account in during var_Create */