mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
WebP/Lossy: Add const
annotations to functions in Tables.h
No behavior change.
This commit is contained in:
parent
24aa302e88
commit
13daa29d81
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/13daa29d81 Pull-request: https://github.com/SerenityOS/serenity/pull/19201
@ -633,9 +633,9 @@ static int constexpr ac_qlookup[] = {
|
||||
// clang-format on
|
||||
|
||||
// https://datatracker.ietf.org/doc/html/rfc6386#section-14.3 "Implementation of the WHT Inversion"
|
||||
inline void vp8_short_inv_walsh4x4_c(i16* input, i16* output)
|
||||
inline void vp8_short_inv_walsh4x4_c(i16 const* input, i16* output)
|
||||
{
|
||||
i16* ip = input;
|
||||
i16 const* ip = input;
|
||||
i16* op = output;
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
@ -675,12 +675,12 @@ inline void vp8_short_inv_walsh4x4_c(i16* input, i16* output)
|
||||
}
|
||||
|
||||
// https://datatracker.ietf.org/doc/html/rfc6386#section-14.4 "Implementation of the DCT Inversion"
|
||||
inline void short_idct4x4llm_c(i16* input, i16* output, int pitch)
|
||||
inline void short_idct4x4llm_c(i16 const* input, i16* output, int pitch)
|
||||
{
|
||||
static constexpr int cospi8sqrt2minus1 = 20091;
|
||||
static constexpr int sinpi8sqrt2 = 35468;
|
||||
|
||||
i16* ip = input;
|
||||
i16 const* ip = input;
|
||||
i16* op = output;
|
||||
int shortpitch = pitch >> 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user