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
9780c33e
Commit
9780c33e
authored
Nov 12, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase Psygnosis YOP palette dynamics.
parent
ac0042f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
yop.c
libavcodec/yop.c
+2
-1
yop
tests/ref/fate/yop
+7
-7
No files found.
libavcodec/yop.c
View file @
9780c33e
...
@@ -221,7 +221,8 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
...
@@ -221,7 +221,8 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
palette
[
i
+
firstcolor
]
=
(
s
->
srcptr
[
0
]
<<
18
)
|
palette
[
i
+
firstcolor
]
=
(
s
->
srcptr
[
0
]
<<
18
)
|
(
s
->
srcptr
[
1
]
<<
10
)
|
(
s
->
srcptr
[
1
]
<<
10
)
|
(
s
->
srcptr
[
2
]
<<
2
);
(
s
->
srcptr
[
2
]
<<
2
);
palette
[
i
+
firstcolor
]
|=
0xFF
<<
24
;
palette
[
i
+
firstcolor
]
|=
0xFF
<<
24
|
(
palette
[
i
+
firstcolor
]
>>
6
)
&
0x30303
;
}
}
s
->
frame
.
palette_has_changed
=
1
;
s
->
frame
.
palette_has_changed
=
1
;
...
...
tests/ref/fate/yop
View file @
9780c33e
0, 0, 302760, 0x
78939253
0, 0, 302760, 0x
f24dfa37
0, 7500, 302760, 0x
534f5253
0, 7500, 302760, 0x
cedcbb6c
0, 15000, 302760, 0x
e991aa8
2
0, 15000, 302760, 0x
8c2d19a
2
0, 22500, 302760, 0x
c34b20bd
0, 22500, 302760, 0x
e0fc92da
0, 30000, 302760, 0x
461d29a1
0, 30000, 302760, 0x
d7699bb4
0, 37500, 302760, 0x
45abca02
0, 37500, 302760, 0x
26e93266
0, 45000, 302760, 0x
b05448b9
0, 45000, 302760, 0x
4cddb216
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