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
47756f51
Commit
47756f51
authored
Jan 11, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnxhdenc: Drop pointless, commented-out debug output
parent
0456e684
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
dnxhdenc.c
libavcodec/dnxhdenc.c
+0
-9
No files found.
libavcodec/dnxhdenc.c
View file @
47756f51
...
@@ -822,9 +822,6 @@ static int dnxhd_encode_rdo(AVCodecContext *avctx, DNXHDEncContext *ctx)
...
@@ -822,9 +822,6 @@ static int dnxhd_encode_rdo(AVCodecContext *avctx, DNXHDEncContext *ctx)
if
(
bits
>
ctx
->
frame_bits
)
if
(
bits
>
ctx
->
frame_bits
)
break
;
break
;
}
}
// ff_dlog(ctx->m.avctx,
// "lambda %d, up %u, down %u, bits %d, frame %d\n",
// lambda, last_higher, last_lower, bits, ctx->frame_bits);
if
(
end
)
{
if
(
end
)
{
if
(
bits
>
ctx
->
frame_bits
)
if
(
bits
>
ctx
->
frame_bits
)
return
AVERROR
(
EINVAL
);
return
AVERROR
(
EINVAL
);
...
@@ -853,7 +850,6 @@ static int dnxhd_encode_rdo(AVCodecContext *avctx, DNXHDEncContext *ctx)
...
@@ -853,7 +850,6 @@ static int dnxhd_encode_rdo(AVCodecContext *avctx, DNXHDEncContext *ctx)
down_step
=
1
<<
LAMBDA_FRAC_BITS
;
down_step
=
1
<<
LAMBDA_FRAC_BITS
;
}
}
}
}
//ff_dlog(ctx->m.avctx, "out lambda %d\n", lambda);
ctx
->
lambda
=
lambda
;
ctx
->
lambda
=
lambda
;
return
0
;
return
0
;
}
}
...
@@ -882,10 +878,6 @@ static int dnxhd_find_qscale(DNXHDEncContext *ctx)
...
@@ -882,10 +878,6 @@ static int dnxhd_find_qscale(DNXHDEncContext *ctx)
if
(
bits
>
ctx
->
frame_bits
)
if
(
bits
>
ctx
->
frame_bits
)
break
;
break
;
}
}
// ff_dlog(ctx->m.avctx,
// "%d, qscale %d, bits %d, frame %d, higher %d, lower %d\n",
// ctx->m.avctx->frame_number, qscale, bits, ctx->frame_bits,
// last_higher, last_lower);
if
(
bits
<
ctx
->
frame_bits
)
{
if
(
bits
<
ctx
->
frame_bits
)
{
if
(
qscale
==
1
)
if
(
qscale
==
1
)
return
1
;
return
1
;
...
@@ -914,7 +906,6 @@ static int dnxhd_find_qscale(DNXHDEncContext *ctx)
...
@@ -914,7 +906,6 @@ static int dnxhd_find_qscale(DNXHDEncContext *ctx)
return
AVERROR
(
EINVAL
);
return
AVERROR
(
EINVAL
);
}
}
}
}
//ff_dlog(ctx->m.avctx, "out qscale %d\n", qscale);
ctx
->
qscale
=
qscale
;
ctx
->
qscale
=
qscale
;
return
0
;
return
0
;
}
}
...
...
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