mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avcodec/vp6dsp: Constify source in vp6_filter_diag4
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -30,7 +30,7 @@ typedef struct VP5DSPContext {
|
||||
} VP5DSPContext;
|
||||
|
||||
typedef struct VP6DSPContext {
|
||||
void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
||||
void (*vp6_filter_diag4)(uint8_t *dst, const uint8_t *src, ptrdiff_t stride,
|
||||
const int16_t *h_weights,const int16_t *v_weights);
|
||||
} VP6DSPContext;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "vp56dsp.h"
|
||||
|
||||
|
||||
static void vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
||||
static void vp6_filter_diag4_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride,
|
||||
const int16_t *h_weights, const int16_t *v_weights)
|
||||
{
|
||||
int x, y;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "libavutil/x86/cpu.h"
|
||||
#include "libavcodec/vp56dsp.h"
|
||||
|
||||
void ff_vp6_filter_diag4_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
||||
void ff_vp6_filter_diag4_sse2(uint8_t *dst, const uint8_t *src, ptrdiff_t stride,
|
||||
const int16_t *h_weights,const int16_t *v_weights);
|
||||
|
||||
av_cold void ff_vp6dsp_init_x86(VP6DSPContext *c)
|
||||
|
||||
Reference in New Issue
Block a user