Log of /branches/dev-api-4/xvidcore/src/plugins/plugin_2pass2.c
Parent Directory
Revision
1051 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 29 14:18:18 2003 UTC (21 years ago) by
edgomez
File length: 30634 byte(s)
Diff to
previous 1050
,
to
selected 1042
Simplified equations.
Scaling was needed because of the non linear formulas used in AltCC but
now we can directly use avg_length[s->type-1] instead of "first prescaling
bframes to pframes lengths then use pframe stats and at last prescaling back
frame length to bframe lengths"
See my new XXX: question about the overflow.
Revision
1048 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 29 11:37:20 2003 UTC (21 years ago) by
edgomez
File length: 31621 byte(s)
Diff to
previous 1047
,
to
selected 1042
- Some comment changes
- bquant_error and pquant_error have been replaced by an array
quant_error[3][32] indexed by frame type and quantizer value.
- Moved some initialization stuff
Revision
1047 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 29 10:36:41 2003 UTC (21 years ago) by
edgomez
File length: 31431 byte(s)
Diff to
previous 1046
,
to
selected 1042
After reading VFW code, i found out that it was using the blocks stats
fields to retrieve the number of MBs in a frame. So all this
min_size[] was not meant to discover a min_size for each frame
according to its intra MBs but rather an hardcoded minimum for all
frames as advertised in earlier cvs revisions. It would be easier if
original code was commented :-(
Revision
1043 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 24 22:03:50 2003 UTC (21 years ago) by
edgomez
File length: 42113 byte(s)
Diff to
previous 1042
Added frame type to the debug output. It makes clear that
bframe quantizers are too high compared to their reference
frames' quantizer.
Revision
1042 -
(
view)
(
download)
(
annotate)
-
[selected]
Modified
Sat May 24 21:22:18 2003 UTC (21 years ago) by
edgomez
File length: 42028 byte(s)
Diff to
previous 1041
- function ordering changes
- mimimum frame lengths in internal_scale() are now computed for each
frame, i don't know why these values where computed with the first
frame values only.
Revision
1038 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 22 16:36:07 2003 UTC (21 years ago) by
edgomez
File length: 37381 byte(s)
Diff to
previous 1037
,
to
selected 1042
Removed this annoying \n from DPRINTF output. DPRINTF behaves
now like usual printf.
Just for fun, i decided to exercice my regexp skills:
for i in `find . -name "*.c"` ; do
sed s/'\(DPRINTF(XVID_DEBUG.*\)"\([^"]\+[^\\][^n]\)"\(.*\)$'/'\1"\2\\n"\3'/g $i > $i.tmp;
mv $i.tmp $i
done
Nice isn't it ? It just adds a \n to every DPRINTF call that
was relying on old behavior (automatic trailing \n).
Revision
1032 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 17 13:37:49 2003 UTC (21 years, 1 month ago) by
suxen_drol
File length: 35656 byte(s)
Diff to
previous 1030
,
to
selected 1042
* dynamic bvop decision stats bug fixed
* added runtime debug level option. this only only activated when _DEBUG is defined.
level is specified globaly, via "xvid_glb_init_t.debug" and XVID_DEBUG_xxx defines.
references to previous DPRINTF_LEVEL_xxx's have been replaced throughout libxvidcore
* futher bitrate zone fixes for plugin_2pass2.c
* removed old ratecontrol.c from msvc project
* xvid_encraw.c specifc:
* added "-max_key_interval integer" option
* renamed -debug to -vop_debug
* added "-debug integer" option, which sets xvid_gbl_init_t.debug field
* s/length/len/ status line
* vfw specific:
* zone/bitrate typos fixed ("you eediot")
* renamed "debug" regkey to "vop_debug"
* added "debug" regeky and textbox which sets xvid_gbl_init_t.debug field
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.