summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-29 03:44:34 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-02 23:53:30 +0100
commit8c01eb0a315fec8f09ba6210ce8b0296de6cc784 (patch)
tree3b87510689bfe15c739436f0dce01f59c36e40af /libavcodec/cabac.c
parent455d3a768477bf1578ae85d8e6322bec898590f5 (diff)
avcodec/cabac: Move encoder related stuff to libavcodec/tests/cabac.c
(This is actually the second time the encoder stuff is removed; the first was in 8b4119187b62d6932e07aded11d33d3b24e1b42f.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r--libavcodec/cabac.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 3bbecf50dd..6649feebeb 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -159,18 +159,6 @@ DECLARE_ASM_ALIGNED(1, const uint8_t, ff_h264_cabac_tables)[512 + 4*2*64 + 4*64
};
/**
- * @param buf_size size of buf in bits
- */
-void ff_init_cabac_encoder(CABACContext *c, uint8_t *buf, int buf_size){
- init_put_bits(&c->pb, buf, buf_size);
-
- c->low= 0;
- c->range= 0x1FE;
- c->outstanding_count= 0;
- c->pb.bit_left++; //avoids firstBitFlag
-}
-
-/**
*
* @param buf_size size of buf in bits
*/