]> git.sesse.net Git - x264/log
x264
19 years agoUse floats instead of int64 in log messages, since win32 (incl. mingw) doesn't unders...
Loren Merritt [Sat, 15 Jan 2005 11:28:44 +0000 (11:28 +0000)]
Use floats instead of int64 in log messages, since win32 (incl. mingw) doesn't understand %lld.
Also display MB statistics in percent instead of number.

git-svn-id: svn://svn.videolan.org/x264/trunk@100 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agofinished printf -> x264_log conversion.
Loren Merritt [Sat, 15 Jan 2005 10:28:51 +0000 (10:28 +0000)]
finished printf -> x264_log conversion.

git-svn-id: svn://svn.videolan.org/x264/trunk@99 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoDon't apply keyframe boost to I-frames that are followed by another I.
Loren Merritt [Fri, 14 Jan 2005 21:38:13 +0000 (21:38 +0000)]
Don't apply keyframe boost to I-frames that are followed by another I.

git-svn-id: svn://svn.videolan.org/x264/trunk@98 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoNew VfW option: "fast 1st pass" automatically disables some partitions and reduces...
Loren Merritt [Fri, 14 Jan 2005 01:04:28 +0000 (01:04 +0000)]
New VfW option: "fast 1st pass" automatically disables some partitions and reduces ME quality and number of reference frames.
Removed option direct_pred=none, since it provides no benefits.
Patch by Riccardo Stievano <walkunafraid at tin dot it>.

git-svn-id: svn://svn.videolan.org/x264/trunk@97 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agovfw: tweak wording and defaults
Loren Merritt [Thu, 13 Jan 2005 19:47:51 +0000 (19:47 +0000)]
vfw: tweak wording and defaults

git-svn-id: svn://svn.videolan.org/x264/trunk@96 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoFrom Riccardo Stievano <walkunafraid at tin dot it>:
Måns Rullgård [Thu, 13 Jan 2005 18:18:05 +0000 (18:18 +0000)]
From Riccardo Stievano <walkunafraid at tin dot it>:

here's a patch that fixes the VfW frontend after the changes made in
revision 93 (GOP size management). Default values for i_keyint_max
and i_keyint_min have been set to 250 and 10, respectively.

git-svn-id: svn://svn.videolan.org/x264/trunk@95 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoMy last change of IDR decision broke in 2pass mode. fixed by remembering which frames...
Loren Merritt [Thu, 13 Jan 2005 06:11:22 +0000 (06:11 +0000)]
My last change of IDR decision broke in 2pass mode. fixed by remembering which frames are IDR.
Disable benchmarking, as it was very slow for some people, and we already know that all the time is spent in macroblock analysis.

git-svn-id: svn://svn.videolan.org/x264/trunk@94 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoChanges the mechanics of max keyframe interval:
Loren Merritt [Wed, 12 Jan 2005 09:50:38 +0000 (09:50 +0000)]
Changes the mechanics of max keyframe interval:
Now enforces min and max GOP sizes, and allows variable numbers of
non-IDR I-frames within a GOP.

git-svn-id: svn://svn.videolan.org/x264/trunk@93 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoMinGW compatible resource.rc by Radek Czyz
Loren Merritt [Wed, 12 Jan 2005 05:23:16 +0000 (05:23 +0000)]
MinGW compatible resource.rc by Radek Czyz

git-svn-id: svn://svn.videolan.org/x264/trunk@92 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agostrict QP offset for B-frame vs following P-frame
Loren Merritt [Wed, 12 Jan 2005 04:45:10 +0000 (04:45 +0000)]
strict QP offset for B-frame vs following P-frame
strict QP offset for I-frame vs GOP average

git-svn-id: svn://svn.videolan.org/x264/trunk@91 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agor72 broke B-frames without intra4x4. fixed.
Loren Merritt [Tue, 11 Jan 2005 06:20:37 +0000 (06:20 +0000)]
r72 broke B-frames without intra4x4. fixed.

git-svn-id: svn://svn.videolan.org/x264/trunk@90 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoupdated VfW interface by Radek Czyz
Loren Merritt [Mon, 10 Jan 2005 09:29:31 +0000 (09:29 +0000)]
updated VfW interface by Radek Czyz

git-svn-id: svn://svn.videolan.org/x264/trunk@89 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoimproved mv prediction: 1-3% better compression of B-frames
Loren Merritt [Sat, 8 Jan 2005 02:51:24 +0000 (02:51 +0000)]
improved mv prediction: 1-3% better compression of B-frames
early termination for B-frame ref search: up to 20% faster with lots of refs.

git-svn-id: svn://svn.videolan.org/x264/trunk@88 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoallow constant qp on Nth pass (e.g. for forcing frame types)
Loren Merritt [Fri, 7 Jan 2005 18:45:11 +0000 (18:45 +0000)]
allow constant qp on Nth pass (e.g. for forcing frame types)

git-svn-id: svn://svn.videolan.org/x264/trunk@87 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agodisable subme=0 (the huge bitrate penalty wasn't worth the speed)
Loren Merritt [Fri, 7 Jan 2005 11:08:55 +0000 (11:08 +0000)]
disable subme=0 (the huge bitrate penalty wasn't worth the speed)
renumber direct_pred

git-svn-id: svn://svn.videolan.org/x264/trunk@86 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agooops, last patch had some debug statements
Loren Merritt [Wed, 5 Jan 2005 09:15:35 +0000 (09:15 +0000)]
oops, last patch had some debug statements

git-svn-id: svn://svn.videolan.org/x264/trunk@85 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agofix: "x264 -A all" didn't include b8x8 types.
Loren Merritt [Wed, 5 Jan 2005 07:08:40 +0000 (07:08 +0000)]
fix: "x264 -A all" didn't include b8x8 types.
add: "make NDEBUG=1" to strip library
update TODO with B-frame status

git-svn-id: svn://svn.videolan.org/x264/trunk@84 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoReorganize frame type selection: No longer produces consecutive I-frames when B-frame...
Loren Merritt [Wed, 5 Jan 2005 06:59:29 +0000 (06:59 +0000)]
Reorganize frame type selection: No longer produces consecutive I-frames when B-frames are enabled. Not thoroughly tested, but works for me.
Fix scenecut detection when B-frames are present: Can now produce IDR, but is slower since it re-encodes more frames. This might reduce compression ratio in the presence of quick fade-ins.
2pass ratecontrol deals more gracefully with completely skipped frames.

git-svn-id: svn://svn.videolan.org/x264/trunk@83 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoremove Makefile.cygwin because build/cygwin/Makefile is more up to date.
Loren Merritt [Mon, 3 Jan 2005 03:47:49 +0000 (03:47 +0000)]
remove Makefile.cygwin because build/cygwin/Makefile is more up to date.
put correct object file names in .depend

git-svn-id: svn://svn.videolan.org/x264/trunk@82 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoreduce default verbosity, add option -v
Loren Merritt [Mon, 3 Jan 2005 02:32:44 +0000 (02:32 +0000)]
reduce default verbosity, add option -v

git-svn-id: svn://svn.videolan.org/x264/trunk@81 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoremove relative include paths, to avoid conflicts with libtool
Loren Merritt [Fri, 31 Dec 2004 02:33:21 +0000 (02:33 +0000)]
remove relative include paths, to avoid conflicts with libtool

git-svn-id: svn://svn.videolan.org/x264/trunk@80 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agorename *.asm to avoid conflicts with libtool
Loren Merritt [Fri, 31 Dec 2004 01:56:26 +0000 (01:56 +0000)]
rename *.asm to avoid conflicts with libtool

git-svn-id: svn://svn.videolan.org/x264/trunk@79 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agolist default settings in --help
Loren Merritt [Thu, 30 Dec 2004 23:58:06 +0000 (23:58 +0000)]
list default settings in --help

git-svn-id: svn://svn.videolan.org/x264/trunk@78 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoreplace EPZS diamond with a hexagon search pattern.
Loren Merritt [Thu, 30 Dec 2004 04:01:58 +0000 (04:01 +0000)]
replace EPZS diamond with a hexagon search pattern.
early termination for multiple reference frame search (up to 1.5x faster).

git-svn-id: svn://svn.videolan.org/x264/trunk@77 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agosps->i_num_ref_frames was set higher than necessary
Loren Merritt [Wed, 29 Dec 2004 21:18:14 +0000 (21:18 +0000)]
sps->i_num_ref_frames was set higher than necessary

git-svn-id: svn://svn.videolan.org/x264/trunk@76 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agonew option: --fps
Loren Merritt [Wed, 29 Dec 2004 12:08:50 +0000 (12:08 +0000)]
new option: --fps

git-svn-id: svn://svn.videolan.org/x264/trunk@75 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agovarious cleanups in macroblock caching.
Loren Merritt [Wed, 29 Dec 2004 10:53:03 +0000 (10:53 +0000)]
various cleanups in macroblock caching.
store motion data for each reference frame (but not yet used).

git-svn-id: svn://svn.videolan.org/x264/trunk@74 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agomore accurate cost for psub8x8 modes.
Loren Merritt [Tue, 28 Dec 2004 10:14:19 +0000 (10:14 +0000)]
more accurate cost for psub8x8 modes.

git-svn-id: svn://svn.videolan.org/x264/trunk@73 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoimplement macroblock types B_16x8, B_8x16
Loren Merritt [Thu, 23 Dec 2004 04:33:36 +0000 (04:33 +0000)]
implement macroblock types B_16x8, B_8x16
tweak thresholds for comparing B mb types

git-svn-id: svn://svn.videolan.org/x264/trunk@72 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agosimplify x264_mb_predict_mv_direct16x16_temporal
Loren Merritt [Wed, 22 Dec 2004 21:09:45 +0000 (21:09 +0000)]
simplify x264_mb_predict_mv_direct16x16_temporal

git-svn-id: svn://svn.videolan.org/x264/trunk@71 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agooption '--frames' limits number of frames to encode.
Loren Merritt [Wed, 22 Dec 2004 20:52:13 +0000 (20:52 +0000)]
option '--frames' limits number of frames to encode.
patch by Tuukka Toivonen <tuukkat at ee.oulu.fi>

git-svn-id: svn://svn.videolan.org/x264/trunk@70 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agosimplify calvc mb type
Loren Merritt [Wed, 22 Dec 2004 20:29:19 +0000 (20:29 +0000)]
simplify calvc mb type

git-svn-id: svn://svn.videolan.org/x264/trunk@69 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoimplement macroblock types B_SKIP, B_DIRECT, B_8x8
Loren Merritt [Fri, 17 Dec 2004 10:57:02 +0000 (10:57 +0000)]
implement macroblock types B_SKIP, B_DIRECT, B_8x8

git-svn-id: svn://svn.videolan.org/x264/trunk@68 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agorename 'core/' to 'common/', which avoids conflicts with libtool
Loren Merritt [Tue, 14 Dec 2004 02:04:02 +0000 (02:04 +0000)]
rename 'core/' to 'common/', which avoids conflicts with libtool

git-svn-id: svn://svn.videolan.org/x264/trunk@67 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agocleanup stats reporting
Loren Merritt [Wed, 8 Dec 2004 05:01:57 +0000 (05:01 +0000)]
cleanup stats reporting
report B macroblock types
report average QP

git-svn-id: svn://svn.videolan.org/x264/trunk@66 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoapply ip_factor and pb_factor in constant quantiser encodes.
Loren Merritt [Wed, 8 Dec 2004 02:28:58 +0000 (02:28 +0000)]
apply ip_factor and pb_factor in constant quantiser encodes.

git-svn-id: svn://svn.videolan.org/x264/trunk@65 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agosave a little bit of memory
Loren Merritt [Wed, 1 Dec 2004 21:23:06 +0000 (21:23 +0000)]
save a little bit of memory

git-svn-id: svn://svn.videolan.org/x264/trunk@64 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agomultiple hypothesis mv prediction:
Loren Merritt [Mon, 22 Nov 2004 07:34:17 +0000 (07:34 +0000)]
multiple hypothesis mv prediction:
1-3% improved compression, and .5-1% faster

git-svn-id: svn://svn.videolan.org/x264/trunk@63 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago* analyse: we can do 4x4 Horizontal Up mode when LEFT is avaible.
Laurent Aimar [Thu, 18 Nov 2004 12:30:27 +0000 (12:30 +0000)]
* analyse: we can do 4x4 Horizontal Up mode when LEFT is avaible.
  Thanks Stephen Henry for the report.

git-svn-id: svn://svn.videolan.org/x264/trunk@62 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoimproved 2pass ratecontrol:
Loren Merritt [Wed, 17 Nov 2004 18:40:26 +0000 (18:40 +0000)]
improved 2pass ratecontrol:
ensures that I-frames have comparable quantizer to the following P-frames,
and produces more consistent quality in areas of fluctuating complexity.

git-svn-id: svn://svn.videolan.org/x264/trunk@61 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agomore informative error message when 2pass fails to converge
Loren Merritt [Fri, 12 Nov 2004 07:14:24 +0000 (07:14 +0000)]
more informative error message when 2pass fails to converge

git-svn-id: svn://svn.videolan.org/x264/trunk@60 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago#include <stdarg.h>
Måns Rullgård [Thu, 11 Nov 2004 12:37:24 +0000 (12:37 +0000)]
#include <stdarg.h>

git-svn-id: svn://svn.videolan.org/x264/trunk@59 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agocleanup spacing of frame stats with verbose logging.
Loren Merritt [Thu, 4 Nov 2004 09:19:34 +0000 (09:19 +0000)]
cleanup spacing of frame stats with verbose logging.

git-svn-id: svn://svn.videolan.org/x264/trunk@58 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agotypo in x264_cabac_mb_sub_b_partition
Loren Merritt [Thu, 28 Oct 2004 20:10:53 +0000 (20:10 +0000)]
typo in x264_cabac_mb_sub_b_partition
(see ITU-T H.264 clause 9.3.3.1.2)

git-svn-id: svn://svn.videolan.org/x264/trunk@57 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago Typo
Eric Petit [Wed, 27 Oct 2004 19:14:24 +0000 (19:14 +0000)]
 Typo

git-svn-id: svn://svn.videolan.org/x264/trunk@56 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago + No need to emulate memalign on OS X
Eric Petit [Wed, 27 Oct 2004 19:06:47 +0000 (19:06 +0000)]
 + No need to emulate memalign on OS X
 + Fixed Makefile for OS X

 (Original patch by Peter Handel)

git-svn-id: svn://svn.videolan.org/x264/trunk@55 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoConditionally inits 1pass rc, only if it's enabled.
Måns Rullgård [Wed, 27 Oct 2004 15:43:15 +0000 (15:43 +0000)]
Conditionally inits 1pass rc, only if it's enabled.
This prevents a couple of irrelevant warnings from appearing in
constant QP mode. (Loren Merritt <lorenm at u dot washington dot edu>)

git-svn-id: svn://svn.videolan.org/x264/trunk@54 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoOops, changing those types messed up some vprintf's. fixed.
Måns Rullgård [Mon, 25 Oct 2004 09:40:23 +0000 (09:40 +0000)]
Oops, changing those types messed up some vprintf's. fixed.
(Loren Merrit <lorenm at u dot washington dot edu>)

git-svn-id: svn://svn.videolan.org/x264/trunk@53 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agofilesize (bits) in a 32 bit int will overflow after 250MB, screwing up
Måns Rullgård [Tue, 19 Oct 2004 21:35:18 +0000 (21:35 +0000)]
filesize (bits) in a 32 bit int will overflow after 250MB, screwing up
2pass ratecontrol.
(patch by Loren Merritt <lorenm at u dot washington dot edu>)

git-svn-id: svn://svn.videolan.org/x264/trunk@52 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agofix compilation on FreeBSD (from Loren Merritt (thanks to Igla))
Måns Rullgård [Mon, 11 Oct 2004 10:13:05 +0000 (10:13 +0000)]
fix compilation on FreeBSD (from Loren Merritt (thanks to Igla))

git-svn-id: svn://svn.videolan.org/x264/trunk@51 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * ratecontrol: Patch by Loren Merritt :
Laurent Aimar [Wed, 29 Sep 2004 16:05:24 +0000 (16:05 +0000)]
 * ratecontrol: Patch by Loren Merritt :

" This patch
* calculates average QP as a float, providing slightly improved
ratecontrol if the first pass was CBR.
* fixes the reported QP if you set both b_stat_read and b_stat_write,
allowing 3 pass encoding (or just examination of the 2nd pass's stats)."

git-svn-id: svn://svn.videolan.org/x264/trunk@50 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: Patch by Loren Merritt.
Laurent Aimar [Wed, 29 Sep 2004 16:02:18 +0000 (16:02 +0000)]
 * all: Patch by Loren Merritt.

" This patch makes scene-cut detection based on the relative cost of I-frame
vs P-frame, rather than just on the number of I-blocks used.
It also makes the scene-cut threshold configurable.

This doesn't have a very large effect: Most scene cuts are obvious to
either algorithm. But I think this way is better in some less clear cut
cases, and sometimes finds a better spot for an I-frame than just waiting
for the max I-frame interval."

git-svn-id: svn://svn.videolan.org/x264/trunk@49 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * ratecontrol: added 'b' flag to fopen.
Laurent Aimar [Wed, 22 Sep 2004 07:37:43 +0000 (07:37 +0000)]
 * ratecontrol: added 'b' flag to fopen.

git-svn-id: svn://svn.videolan.org/x264/trunk@48 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: Patches by Loren Merritt:
Laurent Aimar [Wed, 22 Sep 2004 07:07:48 +0000 (07:07 +0000)]
 * all: Patches by Loren Merritt:
"Improved patch. Now supports subpel ME on all candidate MB types,
not just on the winner.

subpel_refine: (completely different scale from before)
0 => halfpel only
1 => 1 iteration of qpel on the winner (same as x264 r46)
2 => 2 iterations of qpel (about the same as my earlier patch, but faster
3 => halfpel on all MB types, qpel on the winner
4 => qpel on all
5 => more iterations

benchmarks:
mencoder dvd://1 -ovc x264 -x264encopts
qp_constant=19:fullinter:cabac:iframe=200:psnr

subpel_refine=1:  PSNR Global:46.82 kb/s:1048.1 fps:17.335
subpel_refine=2:  PSNR Global:46.83 kb/s:1034.4 fps:16.970
subpel_refine=3:  PSNR Global:46.84 kb/s:1023.3 fps:14.770
subpel_refine=4:  PSNR Global:46.87 kb/s:1010.8 fps:11.598
subpel_refine=5:  PSNR Global:46.88 kb/s:1006.9 fps:10.824"

 And

"The current code for calculating the cost of encoding which reference
frame a MB is predicted from, introduces a bias towards ref0 and
against P16x16.
Removing this bias produces an improvement of .4% - 2% bitrate,
depending on content and number of reference frames."

git-svn-id: svn://svn.videolan.org/x264/trunk@47 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * x264: added --ipratio --pbratio in help section.
Laurent Aimar [Sun, 29 Aug 2004 12:02:50 +0000 (12:02 +0000)]
 * x264: added --ipratio --pbratio in help section.

git-svn-id: svn://svn.videolan.org/x264/trunk@46 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * ratecontrol: path by Loren Merritt.
Laurent Aimar [Sun, 29 Aug 2004 11:32:34 +0000 (11:32 +0000)]
 * ratecontrol: path by Loren Merritt.

 "Use average qp instead of last qp in the frame for 2pass rc.
 (Improves quality and rate accuracy if the first pass was cbr.)"

git-svn-id: svn://svn.videolan.org/x264/trunk@45 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * x264: added --quiet and --no-psnr.
Laurent Aimar [Sat, 28 Aug 2004 22:30:44 +0000 (22:30 +0000)]
 * x264: added --quiet and --no-psnr.

git-svn-id: svn://svn.videolan.org/x264/trunk@44 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * eval.c: lalala ;)
Laurent Aimar [Sat, 28 Aug 2004 22:19:47 +0000 (22:19 +0000)]
 * eval.c: lalala ;)

git-svn-id: svn://svn.videolan.org/x264/trunk@43 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * added Loren Merritt.
Laurent Aimar [Sat, 28 Aug 2004 22:19:15 +0000 (22:19 +0000)]
 * added Loren Merritt.

git-svn-id: svn://svn.videolan.org/x264/trunk@42 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: added eval.c (I hope libx264.dsp is correct, I can't test).
Laurent Aimar [Sat, 28 Aug 2004 22:16:48 +0000 (22:16 +0000)]
 * all: added eval.c (I hope libx264.dsp is correct, I can't test).

git-svn-id: svn://svn.videolan.org/x264/trunk@41 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: 2pass patch by Loren Merritt <lorenm AT u.washington DOT edu>
Laurent Aimar [Sat, 28 Aug 2004 22:14:26 +0000 (22:14 +0000)]
 * all: 2pass patch by Loren Merritt <lorenm AT u.washington DOT edu>

 "Mostly borrowed from libavcodec.
 There is not much theoretical basis behind my choice of defaults for
 rc_eq, qcompress, qblur, and ip_factor."

git-svn-id: svn://svn.videolan.org/x264/trunk@40 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: first part of the 2pass patch by Loren Merritt
Laurent Aimar [Sat, 28 Aug 2004 19:24:08 +0000 (19:24 +0000)]
 * all: first part of the 2pass patch by Loren Merritt
 (only the header/textures bits computed for now).

git-svn-id: svn://svn.videolan.org/x264/trunk@39 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: include stdarg.h (needed for x264_log)
Laurent Aimar [Sun, 22 Aug 2004 15:01:46 +0000 (15:01 +0000)]
 * all: include stdarg.h (needed for x264_log)

git-svn-id: svn://svn.videolan.org/x264/trunk@38 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoUse x264_log() in ratecontrol.c
Måns Rullgård [Wed, 18 Aug 2004 09:28:56 +0000 (09:28 +0000)]
Use x264_log() in ratecontrol.c

git-svn-id: svn://svn.videolan.org/x264/trunk@37 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * encoder/encoder.c: oops. (fixed compilation).
Laurent Aimar [Tue, 17 Aug 2004 21:08:23 +0000 (21:08 +0000)]
 * encoder/encoder.c: oops. (fixed compilation).

git-svn-id: svn://svn.videolan.org/x264/trunk@36 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: more fprintf -> x264_log.
Laurent Aimar [Tue, 17 Aug 2004 20:39:03 +0000 (20:39 +0000)]
 * all: more fprintf -> x264_log.

git-svn-id: svn://svn.videolan.org/x264/trunk@35 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: added a x264_param_t.analyse.b_psnr
Laurent Aimar [Tue, 17 Aug 2004 20:27:05 +0000 (20:27 +0000)]
 * all: added a x264_param_t.analyse.b_psnr

git-svn-id: svn://svn.videolan.org/x264/trunk@34 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * encoder/encoder.c: kb/s with k=1000 (more consistant). Patch by Loren
Laurent Aimar [Tue, 17 Aug 2004 20:03:46 +0000 (20:03 +0000)]
 * encoder/encoder.c: kb/s with k=1000 (more consistant). Patch by Loren
Merritt <lorenm AT u DOT washington DOT edu>

git-svn-id: svn://svn.videolan.org/x264/trunk@33 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: introduced a x264_log function. It's not yet used everywhere
Laurent Aimar [Tue, 17 Aug 2004 19:56:36 +0000 (19:56 +0000)]
 * all: introduced a x264_log function. It's not yet used everywhere
 but we should start using it :)

git-svn-id: svn://svn.videolan.org/x264/trunk@32 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago OS X is missing exp2f()
Eric Petit [Mon, 16 Aug 2004 08:52:05 +0000 (08:52 +0000)]
 OS X is missing exp2f()

git-svn-id: svn://svn.videolan.org/x264/trunk@31 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoFixed warnings with PPC 64
Eric Petit [Mon, 16 Aug 2004 08:47:51 +0000 (08:47 +0000)]
Fixed warnings with PPC 64

git-svn-id: svn://svn.videolan.org/x264/trunk@30 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoAdd my svn user name.
Måns Rullgård [Fri, 13 Aug 2004 13:36:14 +0000 (13:36 +0000)]
Add my svn user name.

git-svn-id: svn://svn.videolan.org/x264/trunk@29 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoBugfix.
Måns Rullgård [Fri, 13 Aug 2004 13:34:47 +0000 (13:34 +0000)]
Bugfix.

git-svn-id: svn://svn.videolan.org/x264/trunk@28 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoInclude timing info in VUI.
Måns Rullgård [Thu, 12 Aug 2004 20:52:24 +0000 (20:52 +0000)]
Include timing info in VUI.
Change frame rate from float to fraction (sorry for the inconvenience).

git-svn-id: svn://svn.videolan.org/x264/trunk@27 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoAdd TAGS rule.
Måns Rullgård [Thu, 12 Aug 2004 13:07:41 +0000 (13:07 +0000)]
Add TAGS rule.

git-svn-id: svn://svn.videolan.org/x264/trunk@26 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoFixes by Loren Merritt (lorenm at u.washington.edu).
Måns Rullgård [Wed, 11 Aug 2004 20:24:20 +0000 (20:24 +0000)]
Fixes by Loren Merritt (lorenm at u.washington.edu).

git-svn-id: svn://svn.videolan.org/x264/trunk@25 df754926-b1dd-0310-bc7b-ec298dee348c

19 years agoGet rid of integer overflows that caused the rate control to go
Måns Rullgård [Wed, 11 Aug 2004 01:02:05 +0000 (01:02 +0000)]
Get rid of integer overflows that caused the rate control to go
haywire in some situations.

git-svn-id: svn://svn.videolan.org/x264/trunk@24 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * encoder: correct range for i_idr_pic_id is 0..65535
Laurent Aimar [Mon, 9 Aug 2004 00:05:22 +0000 (00:05 +0000)]
 * encoder: correct range for i_idr_pic_id is 0..65535
 (Not 0..65534)

git-svn-id: svn://svn.videolan.org/x264/trunk@23 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago ratecontrol: patch by Loren Merritt <lorenm AT u DOT washington DOT edu>
Laurent Aimar [Sun, 8 Aug 2004 21:36:41 +0000 (21:36 +0000)]
 ratecontrol: patch by Loren Merritt <lorenm AT u DOT washington DOT edu>

 "The new cbr mode fails to completely disable itself when encoding in
 constant QP mode. The per-block QPs are then randomized between QP+4 and
 QP-2 based on uninitialized ratecontrol parameters."

git-svn-id: svn://svn.videolan.org/x264/trunk@22 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * ratecontrol: patch by Måns Rullgård <mru AT mru DOT ath DOT cx>
Laurent Aimar [Sun, 8 Aug 2004 19:15:10 +0000 (19:15 +0000)]
 * ratecontrol: patch by Måns Rullgård <mru AT mru DOT ath DOT cx>
 "This patch fixes a small bug (divide by 0 possible) in the rate control."

git-svn-id: svn://svn.videolan.org/x264/trunk@21 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * encoder: simpler scene cut detection (seems better but do not check
Laurent Aimar [Sun, 8 Aug 2004 16:18:49 +0000 (16:18 +0000)]
 * encoder: simpler scene cut detection (seems better but do not check
size anymore, so need more testing).

git-svn-id: svn://svn.videolan.org/x264/trunk@20 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: Change the way PSNR is computed (based on a patch by Loren
Laurent Aimar [Sun, 8 Aug 2004 14:23:50 +0000 (14:23 +0000)]
 * all: Change the way PSNR is computed (based on a patch by Loren
Merritt <lorenmn AT u DOT washington DOT edu>
 Using SQE(DeltaSourceReconstructed) = Sum( delta^2 )
       PSNR( SQE, Size ) = -10Ln(SQE / 255^2 / Size )/Ln(10) )
       Y+U+V : Union of YUV planes.

 Now there is
  - Mean PSNR : Sum( PSNR( SQE(Y/U/V), Size(Y/U/V) ) / TotalFrames
  - Average PSNR: Sum( PSNR( SQE(Y+U+V), Size(Y+U+V) ) ) / TotalFrames
  - Global PSNR: PSNR( Sum( SQE(Y+U+V) ), Size(Y+U+V)*TotalFrames )

  Mean PSNR is used by the JM, and Average/Overall is used on Doom9 for
example.

git-svn-id: svn://svn.videolan.org/x264/trunk@19 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * x264.h: increased X264_BUILD.
Laurent Aimar [Sat, 7 Aug 2004 16:02:20 +0000 (16:02 +0000)]
 * x264.h: increased X264_BUILD.

git-svn-id: svn://svn.videolan.org/x264/trunk@18 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * all: Patch from Måns Rullgård <mru AT mru DOT ath DOT cx>
Laurent Aimar [Fri, 6 Aug 2004 18:06:09 +0000 (18:06 +0000)]
 * all: Patch from Måns Rullgård <mru AT mru DOT ath DOT cx>

"Here's a patch that adds some kind of rate control.  I suppose it is
 by no means perfect, but it's much better than constant quantizer.  It
 also has a very crude scene change detection that sometimes avoids a
 buffer underflow by reencoding oversized P/B frames as I frames."

git-svn-id: svn://svn.videolan.org/x264/trunk@17 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago Linux PPC AltiVec fix
Eric Petit [Mon, 2 Aug 2004 07:05:05 +0000 (07:05 +0000)]
 Linux PPC AltiVec fix

git-svn-id: svn://svn.videolan.org/x264/trunk@16 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago BeOS fixes (no stdint.h, no libm)
Eric Petit [Wed, 28 Jul 2004 21:39:06 +0000 (21:39 +0000)]
 BeOS fixes (no stdint.h, no libm)

git-svn-id: svn://svn.videolan.org/x264/trunk@15 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago Attempt to fix build on Linux PPC
Eric Petit [Tue, 27 Jul 2004 08:34:59 +0000 (08:34 +0000)]
 Attempt to fix build on Linux PPC

git-svn-id: svn://svn.videolan.org/x264/trunk@14 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * encoder.c, analyse.c, macroblock: fixed when using a qp per MB.
Laurent Aimar [Fri, 23 Jul 2004 18:14:59 +0000 (18:14 +0000)]
 * encoder.c, analyse.c, macroblock: fixed when using a qp per MB.
 (Buggy for pskip and mb with null cbp luma and chroma).
 * dct*: fixed order of idct.

git-svn-id: svn://svn.videolan.org/x264/trunk@13 df754926-b1dd-0310-bc7b-ec298dee348c

19 years ago * cpu.asm: mmh trashing ebp,esi and edi isn't a good idea I fear ;)
Laurent Aimar [Fri, 16 Jul 2004 18:26:19 +0000 (18:26 +0000)]
 * cpu.asm: mmh trashing ebp,esi and edi isn't a good idea I fear ;)

git-svn-id: svn://svn.videolan.org/x264/trunk@12 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * all: fixed ss2 runtime selection.
Laurent Aimar [Tue, 29 Jun 2004 22:41:42 +0000 (22:41 +0000)]
 * all: fixed ss2 runtime selection.

git-svn-id: svn://svn.videolan.org/x264/trunk@11 df754926-b1dd-0310-bc7b-ec298dee348c

20 years agoupdate & SSE2 support
Min Chen [Fri, 18 Jun 2004 02:00:40 +0000 (02:00 +0000)]
update & SSE2 support

git-svn-id: svn://svn.videolan.org/x264/trunk@10 df754926-b1dd-0310-bc7b-ec298dee348c

20 years agoupdate
Min Chen [Thu, 17 Jun 2004 09:01:19 +0000 (09:01 +0000)]
update

git-svn-id: svn://svn.videolan.org/x264/trunk@9 df754926-b1dd-0310-bc7b-ec298dee348c

20 years agoremove some unused code
Min Chen [Thu, 17 Jun 2004 08:58:43 +0000 (08:58 +0000)]
remove some unused code

git-svn-id: svn://svn.videolan.org/x264/trunk@8 df754926-b1dd-0310-bc7b-ec298dee348c

20 years agosupport for build checkasm.exe
Min Chen [Mon, 14 Jun 2004 05:47:51 +0000 (05:47 +0000)]
support for build checkasm.exe

git-svn-id: svn://svn.videolan.org/x264/trunk@7 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * build fix (thx xxcd).
Laurent Aimar [Thu, 10 Jun 2004 18:13:38 +0000 (18:13 +0000)]
 * build fix (thx xxcd).

git-svn-id: svn://svn.videolan.org/x264/trunk@6 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * TODO: test.
VideoLAN [Thu, 10 Jun 2004 07:32:18 +0000 (07:32 +0000)]
 * TODO: test.

git-svn-id: svn://svn.videolan.org/x264/trunk@5 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * vfw/* : oops...
Laurent Aimar [Wed, 9 Jun 2004 19:35:31 +0000 (19:35 +0000)]
 * vfw/* : oops...

git-svn-id: svn://svn.videolan.org/x264/trunk@4 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * mc-c.c compilation fix for gcc >= 3.3
Laurent Aimar [Wed, 9 Jun 2004 19:35:07 +0000 (19:35 +0000)]
 * mc-c.c compilation fix for gcc >= 3.3

git-svn-id: svn://svn.videolan.org/x264/trunk@3 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * all: re-import of CVS.
Laurent Aimar [Thu, 3 Jun 2004 19:29:57 +0000 (19:29 +0000)]
 * all: re-import of CVS.

git-svn-id: svn://svn.videolan.org/x264/trunk@2 df754926-b1dd-0310-bc7b-ec298dee348c

20 years ago * all: re-import of the CVS.
Laurent Aimar [Thu, 3 Jun 2004 19:29:33 +0000 (19:29 +0000)]
 * all: re-import of the CVS.

git-svn-id: svn://svn.videolan.org/x264/trunk@1 df754926-b1dd-0310-bc7b-ec298dee348c