Commit e9ca85e7 authored by Martin Storsjö's avatar Martin Storsjö

lagarith: Add ff_ prefix to lag_rac_init

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent c8e1b2fb
...@@ -382,7 +382,7 @@ static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst, ...@@ -382,7 +382,7 @@ static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst,
if (lag_read_prob_header(&rac, &gb) < 0) if (lag_read_prob_header(&rac, &gb) < 0)
return -1; return -1;
lag_rac_init(&rac, &gb, length - stride); ff_lag_rac_init(&rac, &gb, length - stride);
for (i = 0; i < height; i++) for (i = 0; i < height; i++)
read += lag_decode_line(l, &rac, dst + (i * stride), width, read += lag_decode_line(l, &rac, dst + (i * stride), width,
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "get_bits.h" #include "get_bits.h"
#include "lagarithrac.h" #include "lagarithrac.h"
void lag_rac_init(lag_rac *l, GetBitContext *gb, int length) void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
{ {
int i, j; int i, j;
......
...@@ -51,7 +51,7 @@ typedef struct lag_rac { ...@@ -51,7 +51,7 @@ typedef struct lag_rac {
uint8_t range_hash[256]; /**< Hash table mapping upper byte to approximate symbol. */ uint8_t range_hash[256]; /**< Hash table mapping upper byte to approximate symbol. */
} lag_rac; } lag_rac;
void lag_rac_init(lag_rac *l, GetBitContext *gb, int length); void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length);
/* TODO: Optimize */ /* TODO: Optimize */
static inline void lag_rac_refill(lag_rac *l) static inline void lag_rac_refill(lag_rac *l)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment