mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-04 01:36:07 +00:00
avcodec/lossless_videoencdsp: Constify src sub_left_predict
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
af43da3e4d
commit
dc3e25e4d3
@ -74,7 +74,7 @@ static void sub_median_pred_c(uint8_t *dst, const uint8_t *src1,
|
||||
*left_top = lt;
|
||||
}
|
||||
|
||||
static void sub_left_predict_c(uint8_t *dst, uint8_t *src,
|
||||
static void sub_left_predict_c(uint8_t *dst, const uint8_t *src,
|
||||
ptrdiff_t stride, ptrdiff_t width, int height)
|
||||
{
|
||||
int i, j;
|
||||
|
@ -35,7 +35,7 @@ typedef struct LLVidEncDSPContext {
|
||||
const uint8_t *src2, intptr_t w,
|
||||
int *left, int *left_top);
|
||||
|
||||
void (*sub_left_predict)(uint8_t *dst, uint8_t *src,
|
||||
void (*sub_left_predict)(uint8_t *dst, const uint8_t *src,
|
||||
ptrdiff_t stride, ptrdiff_t width, int height);
|
||||
} LLVidEncDSPContext;
|
||||
|
||||
|
@ -145,7 +145,7 @@ DIFF_BYTES_PROLOGUE
|
||||
|
||||
|
||||
;--------------------------------------------------------------------------------------------------
|
||||
;void sub_left_predict(uint8_t *dst, uint8_t *src, ptrdiff_t stride, ptrdiff_t width, int height)
|
||||
;void sub_left_predict(uint8_t *dst, const uint8_t *src, ptrdiff_t stride, ptrdiff_t width, int height)
|
||||
;--------------------------------------------------------------------------------------------------
|
||||
|
||||
INIT_XMM avx
|
||||
|
@ -34,7 +34,7 @@ void ff_diff_bytes_sse2(uint8_t *dst, const uint8_t *src1, const uint8_t *src2,
|
||||
void ff_diff_bytes_avx2(uint8_t *dst, const uint8_t *src1, const uint8_t *src2,
|
||||
intptr_t w);
|
||||
|
||||
void ff_sub_left_predict_avx(uint8_t *dst, uint8_t *src,
|
||||
void ff_sub_left_predict_avx(uint8_t *dst, const uint8_t *src,
|
||||
ptrdiff_t stride, ptrdiff_t width, int height);
|
||||
|
||||
#if HAVE_INLINE_ASM
|
||||
|
Loading…
Reference in New Issue
Block a user