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
b8bad984
Commit
b8bad984
authored
Sep 25, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnxhdenc: optimize whats left of dnxhd_switch_matrix()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ba9d1748
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
dnxhdenc.c
libavcodec/dnxhdenc.c
+2
-5
No files found.
libavcodec/dnxhdenc.c
View file @
b8bad984
...
...
@@ -502,11 +502,8 @@ static av_always_inline void dnxhd_get_blocks(DNXHDEncContext *ctx, int mb_x, in
static
av_always_inline
int
dnxhd_switch_matrix
(
DNXHDEncContext
*
ctx
,
int
i
)
{
if
(
i
&
2
)
{
return
1
+
(
i
&
1
);
}
else
{
return
0
;
}
const
static
uint8_t
component
[
8
]
=
{
0
,
0
,
1
,
2
,
0
,
0
,
1
,
2
,
0
,
0
,
1
,
2
,
0
,
0
,
1
,
2
};
return
component
[
i
];
}
static
int
dnxhd_calc_bits_thread
(
AVCodecContext
*
avctx
,
void
*
arg
,
int
jobnr
,
int
threadnr
)
...
...
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