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
8e8ed57e
Commit
8e8ed57e
authored
Sep 27, 2015
by
Christophe Gisquet
Committed by
Michael Niedermayer
Sep 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnxhddec: remove unused qscale parameter
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
23acb982
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
dnxhddec.c
libavcodec/dnxhddec.c
+12
-13
No files found.
libavcodec/dnxhddec.c
View file @
8e8ed57e
...
@@ -63,7 +63,7 @@ typedef struct DNXHDContext {
...
@@ -63,7 +63,7 @@ typedef struct DNXHDContext {
int
act
;
int
act
;
void
(
*
decode_dct_block
)(
const
struct
DNXHDContext
*
ctx
,
void
(
*
decode_dct_block
)(
const
struct
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
);
int
n
);
}
DNXHDContext
;
}
DNXHDContext
;
#define DNXHD_VLC_BITS 9
#define DNXHD_VLC_BITS 9
...
@@ -71,13 +71,13 @@ typedef struct DNXHDContext {
...
@@ -71,13 +71,13 @@ typedef struct DNXHDContext {
static
void
dnxhd_decode_dct_block_8
(
const
DNXHDContext
*
ctx
,
static
void
dnxhd_decode_dct_block_8
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
);
int
n
);
static
void
dnxhd_decode_dct_block_10
(
const
DNXHDContext
*
ctx
,
static
void
dnxhd_decode_dct_block_10
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
);
int
n
);
static
void
dnxhd_decode_dct_block_10_444
(
const
DNXHDContext
*
ctx
,
static
void
dnxhd_decode_dct_block_10_444
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
);
int
n
);
static
av_cold
int
dnxhd_decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
dnxhd_decode_init
(
AVCodecContext
*
avctx
)
{
{
...
@@ -272,7 +272,6 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
...
@@ -272,7 +272,6 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
static
av_always_inline
void
dnxhd_decode_dct_block
(
const
DNXHDContext
*
ctx
,
static
av_always_inline
void
dnxhd_decode_dct_block
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int16_t
*
block
,
int
n
,
int
qscale
,
int
index_bits
,
int
index_bits
,
int
level_bias
,
int
level_bias
,
int
level_shift
)
int
level_shift
)
...
@@ -366,23 +365,23 @@ static av_always_inline void dnxhd_decode_dct_block(const DNXHDContext *ctx,
...
@@ -366,23 +365,23 @@ static av_always_inline void dnxhd_decode_dct_block(const DNXHDContext *ctx,
static
void
dnxhd_decode_dct_block_8
(
const
DNXHDContext
*
ctx
,
static
void
dnxhd_decode_dct_block_8
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
)
int
n
)
{
{
dnxhd_decode_dct_block
(
ctx
,
row
,
block
,
n
,
qscale
,
4
,
32
,
6
);
dnxhd_decode_dct_block
(
ctx
,
row
,
block
,
n
,
4
,
32
,
6
);
}
}
static
void
dnxhd_decode_dct_block_10
(
const
DNXHDContext
*
ctx
,
static
void
dnxhd_decode_dct_block_10
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
)
int
n
)
{
{
dnxhd_decode_dct_block
(
ctx
,
row
,
block
,
n
,
qscale
,
6
,
8
,
4
);
dnxhd_decode_dct_block
(
ctx
,
row
,
block
,
n
,
6
,
8
,
4
);
}
}
static
void
dnxhd_decode_dct_block_10_444
(
const
DNXHDContext
*
ctx
,
static
void
dnxhd_decode_dct_block_10_444
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
int16_t
*
block
,
RowContext
*
row
,
int16_t
*
block
,
int
n
,
int
qscale
)
int
n
)
{
{
dnxhd_decode_dct_block
(
ctx
,
row
,
block
,
n
,
qscale
,
6
,
32
,
6
);
dnxhd_decode_dct_block
(
ctx
,
row
,
block
,
n
,
6
,
32
,
6
);
}
}
static
int
dnxhd_decode_macroblock
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
static
int
dnxhd_decode_macroblock
(
const
DNXHDContext
*
ctx
,
RowContext
*
row
,
...
@@ -421,12 +420,12 @@ static int dnxhd_decode_macroblock(const DNXHDContext *ctx, RowContext *row,
...
@@ -421,12 +420,12 @@ static int dnxhd_decode_macroblock(const DNXHDContext *ctx, RowContext *row,
for
(
i
=
0
;
i
<
8
;
i
++
)
{
for
(
i
=
0
;
i
<
8
;
i
++
)
{
ctx
->
bdsp
.
clear_block
(
row
->
blocks
[
i
]);
ctx
->
bdsp
.
clear_block
(
row
->
blocks
[
i
]);
ctx
->
decode_dct_block
(
ctx
,
row
,
row
->
blocks
[
i
],
i
,
qscale
);
ctx
->
decode_dct_block
(
ctx
,
row
,
row
->
blocks
[
i
],
i
);
}
}
if
(
ctx
->
is_444
)
{
if
(
ctx
->
is_444
)
{
for
(;
i
<
12
;
i
++
)
{
for
(;
i
<
12
;
i
++
)
{
ctx
->
bdsp
.
clear_block
(
row
->
blocks
[
i
]);
ctx
->
bdsp
.
clear_block
(
row
->
blocks
[
i
]);
ctx
->
decode_dct_block
(
ctx
,
row
,
row
->
blocks
[
i
],
i
,
qscale
);
ctx
->
decode_dct_block
(
ctx
,
row
,
row
->
blocks
[
i
],
i
);
}
}
}
}
...
...
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