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
7a8228c0
Commit
7a8228c0
authored
Jun 07, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sws: make dither_scale const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4ae28eb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
swscale.c
libswscale/swscale.c
+1
-1
swscale_internal.h
libswscale/swscale_internal.h
+1
-1
No files found.
libswscale/swscale.c
View file @
7a8228c0
...
...
@@ -271,7 +271,7 @@ DECLARE_ALIGNED(8, const uint8_t, dithers)[8][8][8]={
static
const
uint8_t
flat64
[
8
]
=
{
64
,
64
,
64
,
64
,
64
,
64
,
64
,
64
};
uint16_t
dither_scale
[
15
][
16
]
=
{
const
uint16_t
dither_scale
[
15
][
16
]
=
{
{
2
,
3
,
3
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,
5
,},
{
2
,
3
,
7
,
7
,
13
,
13
,
25
,
25
,
25
,
25
,
25
,
25
,
25
,
25
,
25
,
25
,},
{
3
,
3
,
4
,
15
,
15
,
29
,
57
,
57
,
57
,
113
,
113
,
113
,
113
,
113
,
113
,
113
,},
...
...
libswscale/swscale_internal.h
View file @
7a8228c0
...
...
@@ -498,7 +498,7 @@ const char *sws_format_name(enum PixelFormat format);
extern
const
uint64_t
ff_dither4
[
2
];
extern
const
uint64_t
ff_dither8
[
2
];
extern
const
uint8_t
dithers
[
8
][
8
][
8
];
extern
uint16_t
dither_scale
[
15
][
16
];
extern
const
uint16_t
dither_scale
[
15
][
16
];
extern
const
AVClass
sws_context_class
;
...
...
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