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
08dba0e1
Commit
08dba0e1
authored
Jan 23, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: mpegvideoenc: Remove some remnants of the long-gone libmpeg2 IDCT
parent
b4dd424d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
44 deletions
+0
-44
mpegvideoenc_template.c
libavcodec/x86/mpegvideoenc_template.c
+0
-44
No files found.
libavcodec/x86/mpegvideoenc_template.c
View file @
08dba0e1
...
@@ -267,50 +267,6 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
...
@@ -267,50 +267,6 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
block
[
0x3E
]
=
temp_block
[
0x3D
];
block
[
0x27
]
=
temp_block
[
0x36
];
block
[
0x3E
]
=
temp_block
[
0x3D
];
block
[
0x27
]
=
temp_block
[
0x36
];
block
[
0x3D
]
=
temp_block
[
0x2F
];
block
[
0x2F
]
=
temp_block
[
0x37
];
block
[
0x3D
]
=
temp_block
[
0x2F
];
block
[
0x2F
]
=
temp_block
[
0x37
];
block
[
0x37
]
=
temp_block
[
0x3E
];
block
[
0x3F
]
=
temp_block
[
0x3F
];
block
[
0x37
]
=
temp_block
[
0x3E
];
block
[
0x3F
]
=
temp_block
[
0x3F
];
}
else
if
(
s
->
dsp
.
idct_permutation_type
==
FF_LIBMPEG2_IDCT_PERM
){
if
(
last_non_zero_p1
<=
1
)
goto
end
;
block
[
0x04
]
=
temp_block
[
0x01
];
block
[
0x08
]
=
temp_block
[
0x08
];
block
[
0x10
]
=
temp_block
[
0x10
];
if
(
last_non_zero_p1
<=
4
)
goto
end
;
block
[
0x0C
]
=
temp_block
[
0x09
];
block
[
0x01
]
=
temp_block
[
0x02
];
block
[
0x05
]
=
temp_block
[
0x03
];
if
(
last_non_zero_p1
<=
7
)
goto
end
;
block
[
0x09
]
=
temp_block
[
0x0A
];
block
[
0x14
]
=
temp_block
[
0x11
];
block
[
0x18
]
=
temp_block
[
0x18
];
block
[
0x20
]
=
temp_block
[
0x20
];
if
(
last_non_zero_p1
<=
11
)
goto
end
;
block
[
0x1C
]
=
temp_block
[
0x19
];
block
[
0x11
]
=
temp_block
[
0x12
];
block
[
0x0D
]
=
temp_block
[
0x0B
];
block
[
0x02
]
=
temp_block
[
0x04
];
block
[
0x06
]
=
temp_block
[
0x05
];
if
(
last_non_zero_p1
<=
16
)
goto
end
;
block
[
0x0A
]
=
temp_block
[
0x0C
];
block
[
0x15
]
=
temp_block
[
0x13
];
block
[
0x19
]
=
temp_block
[
0x1A
];
block
[
0x24
]
=
temp_block
[
0x21
];
block
[
0x28
]
=
temp_block
[
0x28
];
block
[
0x30
]
=
temp_block
[
0x30
];
block
[
0x2C
]
=
temp_block
[
0x29
];
block
[
0x21
]
=
temp_block
[
0x22
];
if
(
last_non_zero_p1
<=
24
)
goto
end
;
block
[
0x1D
]
=
temp_block
[
0x1B
];
block
[
0x12
]
=
temp_block
[
0x14
];
block
[
0x0E
]
=
temp_block
[
0x0D
];
block
[
0x03
]
=
temp_block
[
0x06
];
block
[
0x07
]
=
temp_block
[
0x07
];
block
[
0x0B
]
=
temp_block
[
0x0E
];
block
[
0x16
]
=
temp_block
[
0x15
];
block
[
0x1A
]
=
temp_block
[
0x1C
];
if
(
last_non_zero_p1
<=
32
)
goto
end
;
block
[
0x25
]
=
temp_block
[
0x23
];
block
[
0x29
]
=
temp_block
[
0x2A
];
block
[
0x34
]
=
temp_block
[
0x31
];
block
[
0x38
]
=
temp_block
[
0x38
];
block
[
0x3C
]
=
temp_block
[
0x39
];
block
[
0x31
]
=
temp_block
[
0x32
];
block
[
0x2D
]
=
temp_block
[
0x2B
];
block
[
0x22
]
=
temp_block
[
0x24
];
if
(
last_non_zero_p1
<=
40
)
goto
end
;
block
[
0x1E
]
=
temp_block
[
0x1D
];
block
[
0x13
]
=
temp_block
[
0x16
];
block
[
0x0F
]
=
temp_block
[
0x0F
];
block
[
0x17
]
=
temp_block
[
0x17
];
block
[
0x1B
]
=
temp_block
[
0x1E
];
block
[
0x26
]
=
temp_block
[
0x25
];
block
[
0x2A
]
=
temp_block
[
0x2C
];
block
[
0x35
]
=
temp_block
[
0x33
];
if
(
last_non_zero_p1
<=
48
)
goto
end
;
block
[
0x39
]
=
temp_block
[
0x3A
];
block
[
0x3D
]
=
temp_block
[
0x3B
];
block
[
0x32
]
=
temp_block
[
0x34
];
block
[
0x2E
]
=
temp_block
[
0x2D
];
block
[
0x23
]
=
temp_block
[
0x26
];
block
[
0x1F
]
=
temp_block
[
0x1F
];
block
[
0x27
]
=
temp_block
[
0x27
];
block
[
0x2B
]
=
temp_block
[
0x2E
];
if
(
last_non_zero_p1
<=
56
)
goto
end
;
block
[
0x36
]
=
temp_block
[
0x35
];
block
[
0x3A
]
=
temp_block
[
0x3C
];
block
[
0x3E
]
=
temp_block
[
0x3D
];
block
[
0x33
]
=
temp_block
[
0x36
];
block
[
0x2F
]
=
temp_block
[
0x2F
];
block
[
0x37
]
=
temp_block
[
0x37
];
block
[
0x3B
]
=
temp_block
[
0x3E
];
block
[
0x3F
]
=
temp_block
[
0x3F
];
}
else
{
}
else
{
if
(
last_non_zero_p1
<=
1
)
goto
end
;
if
(
last_non_zero_p1
<=
1
)
goto
end
;
block
[
0x01
]
=
temp_block
[
0x01
];
block
[
0x01
]
=
temp_block
[
0x01
];
...
...
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