mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
checkasm/vp9dsp: add const to suppress "discards const qualifier" warnings
Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
af990d72b7
commit
4e03f0ab08
@ -107,8 +107,8 @@ static void check_ipred(void)
|
|||||||
#define setdx(a,b,c,d) setpx(a,b,c-(d)+(rnd()%((d)*2+1)))
|
#define setdx(a,b,c,d) setpx(a,b,c-(d)+(rnd()%((d)*2+1)))
|
||||||
#define setsx(a,b,c,d) setdx(a,b,c,(d) << (bit_depth - 8))
|
#define setsx(a,b,c,d) setdx(a,b,c,(d) << (bit_depth - 8))
|
||||||
static void randomize_loopfilter_buffers(int bidx, int lineoff, int str,
|
static void randomize_loopfilter_buffers(int bidx, int lineoff, int str,
|
||||||
int bit_depth, int dir,
|
int bit_depth, int dir, const int *E,
|
||||||
int* E, int* F, int* H, int* I,
|
const int *F, const int *H, const int *I,
|
||||||
uint8_t *buf0, uint8_t *buf1)
|
uint8_t *buf0, uint8_t *buf1)
|
||||||
{
|
{
|
||||||
uint32_t mask = (1 << bit_depth) - 1;
|
uint32_t mask = (1 << bit_depth) - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user