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.
|
||||
*/
|
||||
|
||||
#if 0 /* LEGACY BIT SLICER */
|
||||
/*
|
||||
* Bit Slicer
|
||||
*/
|
||||
|
@ -475,6 +476,8 @@ vbi_bit_slicer_init (vbi_bit_slicer * slicer,
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @example examples/wss.c
|
||||
* WSS capture example.
|
||||
|
|
|
@ -233,6 +233,7 @@ typedef enum {
|
|||
VBI_MODULATION_BIPHASE_MSB
|
||||
} vbi_modulation;
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* @ingroup Rawdec
|
||||
* @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);
|
||||
}
|
||||
/** @} */
|
||||
|
||||
#endif
|
||||
/**
|
||||
* @ingroup Rawdec
|
||||
* @brief Raw vbi decoder context.
|
||||
|
@ -372,14 +373,18 @@ typedef struct vbi_raw_decoder {
|
|||
pthread_mutex_t mutex;
|
||||
|
||||
unsigned int services;
|
||||
#if 0 /* DISABLED LEGACY DECODER */
|
||||
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 {
|
||||
unsigned int id;
|
||||
int offset;
|
||||
vbi_bit_slicer slicer;
|
||||
} jobs[8];
|
||||
#endif
|
||||
} vbi_raw_decoder;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue