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
0adba3d8
Commit
0adba3d8
authored
Mar 18, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing bquant_offset
Originally committed as revision 5179 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e70e7a4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
xvid_rc.c
libavcodec/xvid_rc.c
+1
-1
xvidff.c
libavcodec/xvidff.c
+1
-1
No files found.
libavcodec/xvid_rc.c
View file @
0adba3d8
...
...
@@ -94,7 +94,7 @@ float ff_xvid_rate_estimate_qscale(MpegEncContext *s, int dry_run){
xvid_plg_data
.
max_quant
[
0
]
=
s
->
avctx
->
qmax
;
xvid_plg_data
.
max_quant
[
1
]
=
s
->
avctx
->
qmax
;
xvid_plg_data
.
max_quant
[
2
]
=
s
->
avctx
->
qmax
;
//FIXME i/b factor & offset
xvid_plg_data
.
bquant_offset
=
s
->
avctx
->
b_quant_offset
;
xvid_plg_data
.
bquant_offset
=
100
*
s
->
avctx
->
b_quant_offset
;
xvid_plg_data
.
bquant_ratio
=
100
*
s
->
avctx
->
b_quant_factor
;
#if 0
...
...
libavcodec/xvidff.c
View file @
0adba3d8
...
...
@@ -372,7 +372,7 @@ int ff_xvid_encode_init(AVCodecContext *avctx) {
/* Bframes */
xvid_enc_create
.
max_bframes
=
avctx
->
max_b_frames
;
xvid_enc_create
.
bquant_offset
=
avctx
->
b_quant_offset
;
xvid_enc_create
.
bquant_offset
=
100
*
avctx
->
b_quant_offset
;
xvid_enc_create
.
bquant_ratio
=
100
*
avctx
->
b_quant_factor
;
if
(
avctx
->
max_b_frames
>
0
&&
!
x
->
quicktime_format
)
xvid_enc_create
.
global
|=
XVID_GLOBAL_PACKED
;
...
...
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