mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/rangecoder: Move ff_rac_check_termination to tests/rangecoder.c
It is only used there. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
f729dee615
commit
bce9c5e276
3 changed files with 27 additions and 29 deletions
|
|
@ -57,15 +57,6 @@ void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size);
|
|||
*/
|
||||
int ff_rac_terminate(RangeCoder *c, int version);
|
||||
|
||||
/**
|
||||
* Check if at the current position there is a valid looking termination
|
||||
* @param version version 0 requires the decoder to know the data size in bytes
|
||||
* version 1 needs about 1 bit more space but does not need to
|
||||
* carry the size from encoder to decoder
|
||||
* @returns negative AVERROR code on error or non negative.
|
||||
*/
|
||||
int ff_rac_check_termination(RangeCoder *c, int version);
|
||||
|
||||
void ff_build_rac_states(RangeCoder *c, int factor, int max_p);
|
||||
|
||||
static inline void renorm_encoder(RangeCoder *c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue