mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
closedcaption: zvbi: Disable unused legacy bit slicer
The code only uses the new 'optimized' bit slicer
This commit is contained in:
parent
61334a38a3
commit
af9e9d613a
2 changed files with 10 additions and 2 deletions
|
@ -48,6 +48,7 @@
|
||||||
* these lower level functions.
|
* these lower level functions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if 0 /* LEGACY BIT SLICER */
|
||||||
/*
|
/*
|
||||||
* Bit Slicer
|
* Bit Slicer
|
||||||
*/
|
*/
|
||||||
|
@ -475,6 +476,8 @@ vbi_bit_slicer_init (vbi_bit_slicer * slicer,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @example examples/wss.c
|
* @example examples/wss.c
|
||||||
* WSS capture example.
|
* WSS capture example.
|
||||||
|
|
|
@ -233,6 +233,7 @@ typedef enum {
|
||||||
VBI_MODULATION_BIPHASE_MSB
|
VBI_MODULATION_BIPHASE_MSB
|
||||||
} vbi_modulation;
|
} vbi_modulation;
|
||||||
|
|
||||||
|
#if 0
|
||||||
/**
|
/**
|
||||||
* @ingroup Rawdec
|
* @ingroup Rawdec
|
||||||
* @brief Bit slicer context.
|
* @brief Bit slicer context.
|
||||||
|
@ -296,7 +297,7 @@ vbi_bit_slice(vbi_bit_slicer *slicer, uint8_t *raw, uint8_t *buf)
|
||||||
return slicer->func(slicer, raw, buf);
|
return slicer->func(slicer, raw, buf);
|
||||||
}
|
}
|
||||||
/** @} */
|
/** @} */
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* @ingroup Rawdec
|
* @ingroup Rawdec
|
||||||
* @brief Raw vbi decoder context.
|
* @brief Raw vbi decoder context.
|
||||||
|
@ -372,14 +373,18 @@ typedef struct vbi_raw_decoder {
|
||||||
pthread_mutex_t mutex;
|
pthread_mutex_t mutex;
|
||||||
|
|
||||||
unsigned int services;
|
unsigned int services;
|
||||||
|
#if 0 /* DISABLED LEGACY DECODER */
|
||||||
int num_jobs;
|
int num_jobs;
|
||||||
|
#endif
|
||||||
|
|
||||||
int8_t * pattern;
|
int8_t * pattern; /* The real vbi3_raw_decoder */
|
||||||
|
#if 0 /* DISABLED LEGACY DECODER */
|
||||||
struct _vbi_raw_decoder_job {
|
struct _vbi_raw_decoder_job {
|
||||||
unsigned int id;
|
unsigned int id;
|
||||||
int offset;
|
int offset;
|
||||||
vbi_bit_slicer slicer;
|
vbi_bit_slicer slicer;
|
||||||
} jobs[8];
|
} jobs[8];
|
||||||
|
#endif
|
||||||
} vbi_raw_decoder;
|
} vbi_raw_decoder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue