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
c776531a
Commit
c776531a
authored
Apr 23, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vqavideo: change x/y loop counters to the usual pattern
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
4f150068
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
vqavideo.c
libavcodec/vqavideo.c
+3
-5
No files found.
libavcodec/vqavideo.c
View file @
c776531a
...
...
@@ -468,11 +468,9 @@ static int vqa_decode_chunk(VqaContext *s)
index_shift
=
4
;
else
index_shift
=
3
;
for
(
y
=
0
;
y
<
s
->
frame
.
linesize
[
0
]
*
s
->
height
;
y
+=
s
->
frame
.
linesize
[
0
]
*
s
->
vector_height
)
{
for
(
x
=
y
;
x
<
y
+
s
->
width
;
x
+=
4
,
lobytes
++
,
hibytes
++
)
{
pixel_ptr
=
x
;
for
(
y
=
0
;
y
<
s
->
height
;
y
+=
s
->
vector_height
)
{
for
(
x
=
0
;
x
<
s
->
width
;
x
+=
4
,
lobytes
++
,
hibytes
++
)
{
pixel_ptr
=
y
*
s
->
frame
.
linesize
[
0
]
+
x
;
/* get the vector index, the method for which varies according to
* VQA file version */
...
...
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