Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f5b3257c
Commit
f5b3257c
authored
Jan 27, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_eq: mark src as const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f8716d1e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
vf_eq.c
libavfilter/vf_eq.c
+2
-2
vf_eq.h
libavfilter/vf_eq.h
+2
-2
vf_eq.c
libavfilter/x86/vf_eq.c
+1
-1
No files found.
libavfilter/vf_eq.c
View file @
f5b3257c
...
...
@@ -65,7 +65,7 @@ static void create_lut(EQParameters *param)
}
static
void
apply_lut
(
EQParameters
*
param
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
const
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
{
int
x
,
y
;
...
...
@@ -80,7 +80,7 @@ static void apply_lut(EQParameters *param, uint8_t *dst, int dst_stride,
}
static
void
process_c
(
EQParameters
*
param
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
const
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
{
int
x
,
y
,
pel
;
...
...
libavfilter/vf_eq.h
View file @
f5b3257c
...
...
@@ -29,7 +29,7 @@
typedef
struct
EQParameters
{
void
(
*
adjust
)(
struct
EQParameters
*
eq
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
);
const
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
);
uint8_t
lut
[
256
];
...
...
@@ -51,7 +51,7 @@ typedef struct {
double
gamma_r
,
gamma_g
,
gamma_b
;
void
(
*
process
)(
struct
EQParameters
*
par
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
);
const
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
);
}
EQContext
;
...
...
libavfilter/x86/vf_eq.c
View file @
f5b3257c
...
...
@@ -27,7 +27,7 @@
#if HAVE_MMX_INLINE && HAVE_6REGS
static
void
process_MMX
(
EQParameters
*
param
,
uint8_t
*
dst
,
int
dst_stride
,
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
const
uint8_t
*
src
,
int
src_stride
,
int
w
,
int
h
)
{
int
i
;
int
pel
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment