Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
4c9f2398
Commit
4c9f2398
authored
Nov 27, 2002
by
Sam Hocevar
Browse files
* ./modules/codec/cinepak/cinepak.c: fixed V1-encoded blocks luma loading.
parent
e042941f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/cinepak/cinepak.c
View file @
4c9f2398
...
...
@@ -2,7 +2,7 @@
* cinepak.c: cinepak video decoder
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: cinepak.c,v 1.
7
2002/11/27 1
3
:1
7
:2
7 fenrir
Exp $
* $Id: cinepak.c,v 1.
8
2002/11/27 1
5
:1
8
:2
4 sam
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -392,13 +392,13 @@ void cinepak_Getv1( cinepak_context_t *p_context,
for
(
j
=
0
;
j
<
2
;
j
++
)
{
PIX_SET_Y
(
2
*
j
+
0
,
2
*
i
+
0
,
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
0
]
);
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
2
*
i
+
j
]
);
PIX_SET_Y
(
2
*
j
+
1
,
2
*
i
+
0
,
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
1
]
);
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
2
*
i
+
j
]
);
PIX_SET_Y
(
2
*
j
+
0
,
2
*
i
+
1
,
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
2
]
);
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
2
*
i
+
j
]
);
PIX_SET_Y
(
2
*
j
+
1
,
2
*
i
+
1
,
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
3
]
);
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_y
[
2
*
i
+
j
]
);
PIX_SET_UV
(
1
,
p_dst_u
,
j
,
i
,
p_context
->
codebook_v1
[
i_strip
][
i_index
].
i_u
);
...
...
Write
Preview
Supports
Markdown
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