]> git.sesse.net Git - x264/log
x264
19 years agoconvert mc's inline asm to nasm (slight speedup and msvc compatibility).
Loren Merritt [Sun, 27 Mar 2005 20:49:59 +0000 (20:49 +0000)]
convert mc's inline asm to nasm (slight speedup and msvc compatibility).
patch by Mathieu Monnier.

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

19 years agobuffer overruns in slicetype_decision.
Loren Merritt [Sun, 27 Mar 2005 06:58:35 +0000 (06:58 +0000)]
buffer overruns in slicetype_decision.
patch by Mathieu Monnier.

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

19 years agotweak usage message
Loren Merritt [Thu, 17 Mar 2005 17:35:11 +0000 (17:35 +0000)]
tweak usage message

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

19 years agoSimplify inter analysis option names. (psub16x16 -> p8x8)
Loren Merritt [Wed, 16 Mar 2005 22:02:02 +0000 (22:02 +0000)]
Simplify inter analysis option names. (psub16x16 -> p8x8)
patch by Robert Swain.

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

19 years ago173 broke .depend when debugging was enabled
Loren Merritt [Wed, 16 Mar 2005 21:52:59 +0000 (21:52 +0000)]
173 broke .depend when debugging was enabled

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

19 years agoearly termination for intra4x4 analysis
Loren Merritt [Wed, 16 Mar 2005 20:50:19 +0000 (20:50 +0000)]
early termination for intra4x4 analysis

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

19 years agoCheck/fix range of x264_param_t.rc.i_qp_constant.
Måns Rullgård [Tue, 15 Mar 2005 12:09:00 +0000 (12:09 +0000)]
Check/fix range of x264_param_t.rc.i_qp_constant.

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

19 years ago Cleaned up and fixed Makefile for OS X and BeOS (hopefully FreeBSD too)
Eric Petit [Tue, 15 Mar 2005 07:21:18 +0000 (07:21 +0000)]
 Cleaned up and fixed Makefile for OS X and BeOS (hopefully FreeBSD too)
 It defaults for x86/linux, others: uncomment the lines for your
 platform & OS at the beginning of the Makefile

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

19 years agomacroblock_analyse: simplify cost comparisons. (cosmetic)
Loren Merritt [Tue, 15 Mar 2005 02:30:16 +0000 (02:30 +0000)]
macroblock_analyse: simplify cost comparisons. (cosmetic)
CLI: enable cabac by default.

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

19 years agoChroma ME (P-frames only).
Loren Merritt [Mon, 14 Mar 2005 22:47:19 +0000 (22:47 +0000)]
Chroma ME (P-frames only).

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

19 years agoSSE optimized chroma MC.
Loren Merritt [Mon, 14 Mar 2005 13:05:57 +0000 (13:05 +0000)]
SSE optimized chroma MC.
patch by Radek Czyz.

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

19 years ago167 broke psnr calculation for non-mod-32 inputs
Loren Merritt [Sun, 13 Mar 2005 23:36:42 +0000 (23:36 +0000)]
167 broke psnr calculation for non-mod-32 inputs

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

19 years ago sqrtf requires -lmx on Mac OS X
Eric Petit [Sun, 13 Mar 2005 18:49:51 +0000 (18:49 +0000)]
 sqrtf requires -lmx on Mac OS X

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

19 years agouse mmx ssd for psnr calculation.
Loren Merritt [Sun, 13 Mar 2005 10:25:11 +0000 (10:25 +0000)]
use mmx ssd for psnr calculation.

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

19 years agorevert 164. blame Spyder.
Loren Merritt [Sun, 13 Mar 2005 08:26:52 +0000 (08:26 +0000)]
revert 164. blame Spyder.

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

19 years agoSSD comparison function (not yet used).
Loren Merritt [Sun, 13 Mar 2005 07:04:16 +0000 (07:04 +0000)]
SSD comparison function (not yet used).
Cosmetics in mmx SAD.

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

19 years agoVfW: reject YUY2 and RGB input formats
Loren Merritt [Sat, 12 Mar 2005 00:23:50 +0000 (00:23 +0000)]
VfW: reject YUY2 and RGB input formats

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

19 years agoReally fix QP override.
Måns Rullgård [Fri, 11 Mar 2005 18:10:35 +0000 (18:10 +0000)]
Really fix QP override.

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

19 years agowrite VUI bitstream restrictions
Loren Merritt [Fri, 11 Mar 2005 02:15:25 +0000 (02:15 +0000)]
write VUI bitstream restrictions

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

19 years agoAVI & Avisynth input (win32 only).
Loren Merritt [Thu, 10 Mar 2005 23:03:55 +0000 (23:03 +0000)]
AVI & Avisynth input (win32 only).
patch by bobo from Ateme.

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

19 years agoexpose option "chroma qp offset"
Loren Merritt [Thu, 10 Mar 2005 21:42:24 +0000 (21:42 +0000)]
expose option "chroma qp offset"

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

19 years agoFix per-frame QP override broken in rev 137.
Måns Rullgård [Thu, 10 Mar 2005 19:42:05 +0000 (19:42 +0000)]
Fix per-frame QP override broken in rev 137.

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

19 years agoDon't include x264.o in the library.
Måns Rullgård [Tue, 8 Mar 2005 01:08:40 +0000 (01:08 +0000)]
Don't include x264.o in the library.

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

19 years agoVfW: expose B pyramid and weighted B prediction.
Loren Merritt [Sun, 6 Mar 2005 21:07:10 +0000 (21:07 +0000)]
VfW: expose B pyramid and weighted B prediction.
patch by Riccardo Stievano.

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

19 years ago10l
Loren Merritt [Sun, 6 Mar 2005 11:39:08 +0000 (11:39 +0000)]
10l

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

19 years agobuffer overrun when bframes == X264_BFRAME_MAX
Loren Merritt [Sun, 6 Mar 2005 09:50:17 +0000 (09:50 +0000)]
buffer overrun when bframes == X264_BFRAME_MAX

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

19 years agoAdaptive B skipped some POC numbers (slightly reducing b_direct efficiency).
Loren Merritt [Sun, 6 Mar 2005 05:12:25 +0000 (05:12 +0000)]
Adaptive B skipped some POC numbers (slightly reducing b_direct efficiency).

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

19 years agoavc2avi:
Loren Merritt [Sat, 5 Mar 2005 09:34:53 +0000 (09:34 +0000)]
avc2avi:
Use POC to determine frame boundaries (frame_num couldn't distinguish consecutive B-frames).
Fix keyframe flag to mark IDR only, not all I slices.

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

19 years agoallow 16 refs (instead of 15)
Loren Merritt [Sat, 5 Mar 2005 04:16:05 +0000 (04:16 +0000)]
allow 16 refs (instead of 15)

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

19 years agoreport version number in decimal instead of hex
Loren Merritt [Sat, 5 Mar 2005 00:37:25 +0000 (00:37 +0000)]
report version number in decimal instead of hex

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

19 years agoNew option: "B-frame pyramid" keeps the middle of 2+ consecutive B-frames as a refere...
Loren Merritt [Fri, 4 Mar 2005 12:52:35 +0000 (12:52 +0000)]
New option: "B-frame pyramid" keeps the middle of 2+ consecutive B-frames as a reference, and reorders frame appropriately.

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

19 years agosmarter parsing of resolution from commandline
Loren Merritt [Thu, 3 Mar 2005 04:36:46 +0000 (04:36 +0000)]
smarter parsing of resolution from commandline

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

19 years ago ratecontrol.c: fixed exp2f on BeOS so rate control works properly
Eric Petit [Thu, 3 Mar 2005 03:02:27 +0000 (03:02 +0000)]
 ratecontrol.c: fixed exp2f on BeOS so rate control works properly

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

19 years agoFix a buffer overrun with very long MVs.
Loren Merritt [Wed, 2 Mar 2005 22:44:31 +0000 (22:44 +0000)]
Fix a buffer overrun with very long MVs.

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

19 years agowrong stride in lowres image
Loren Merritt [Mon, 28 Feb 2005 19:01:58 +0000 (19:01 +0000)]
wrong stride in lowres image

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

19 years ago10l (fast1stpass was slower than non-fast)
Loren Merritt [Mon, 28 Feb 2005 18:50:55 +0000 (18:50 +0000)]
10l (fast1stpass was slower than non-fast)

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

19 years agoDisable deblocking filter in frames of sufficiently low QP that it would have no...
Loren Merritt [Fri, 25 Feb 2005 03:10:04 +0000 (03:10 +0000)]
Disable deblocking filter in frames of sufficiently low QP that it would have no effect. (Saves a little CPU time in the decoder.)

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

19 years agoSimplify x264_frame_expand_border.
Loren Merritt [Fri, 25 Feb 2005 00:46:56 +0000 (00:46 +0000)]
Simplify x264_frame_expand_border.

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

19 years agoAltivec functions for MC using the cached halfpel planes.
Loren Merritt [Thu, 24 Feb 2005 13:09:55 +0000 (13:09 +0000)]
Altivec functions for MC using the cached halfpel planes.
Patch by Fredrik Pettersson <fredrik_pettersson at yahoo dot se>.

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

19 years agoDon't use uninitialize MVs in x264_mb_predict_mv_ref16x16.
Loren Merritt [Thu, 24 Feb 2005 13:01:21 +0000 (13:01 +0000)]
Don't use uninitialize MVs in x264_mb_predict_mv_ref16x16.

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

19 years agoImplicit weights in B16x16 analysis were swapped.
Loren Merritt [Thu, 24 Feb 2005 13:00:34 +0000 (13:00 +0000)]
Implicit weights in B16x16 analysis were swapped.
patch by Radek Czyz.

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

19 years agoCosmetics: Some renaming. Move the rest of slice type decision from encoder.c to...
Loren Merritt [Thu, 24 Feb 2005 08:31:12 +0000 (08:31 +0000)]
Cosmetics: Some renaming. Move the rest of slice type decision from encoder.c to slicetype_decision.c

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

19 years agoTake into account keyint_max in B-frame decision.
Loren Merritt [Thu, 24 Feb 2005 08:17:31 +0000 (08:17 +0000)]
Take into account keyint_max in B-frame decision.

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

19 years agoPreliminary adaptive B-frame decision (not yet tuned).
Loren Merritt [Wed, 23 Feb 2005 19:58:02 +0000 (19:58 +0000)]
Preliminary adaptive B-frame decision (not yet tuned).
Fix flushing of delayed frames when the encode finishes.

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

19 years agoWrite x264's version in a SEI message.
Loren Merritt [Tue, 22 Feb 2005 22:08:07 +0000 (22:08 +0000)]
Write x264's version in a SEI message.

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

19 years agoVfW: Enable weighted B prediction when max B-frames > 1. Enforce max reference frames...
Loren Merritt [Tue, 22 Feb 2005 10:46:28 +0000 (10:46 +0000)]
VfW: Enable weighted B prediction when max B-frames > 1. Enforce max reference frames <= 15.
patch by Riccardo Stievano.

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

19 years agoAdd: implicit weighted prediction for B-frames.
Loren Merritt [Tue, 22 Feb 2005 05:19:02 +0000 (05:19 +0000)]
Add: implicit weighted prediction for B-frames.
Slightly optimize x264_mb_mc_01xywh.
Fix an error in B16x8 cost.

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

19 years agoOops, increment API number.
Loren Merritt [Sun, 20 Feb 2005 01:52:12 +0000 (01:52 +0000)]
Oops, increment API number.

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

19 years agoConfigurable level. Levels are still not enforced; it's up to the user to select...
Loren Merritt [Sun, 20 Feb 2005 01:26:03 +0000 (01:26 +0000)]
Configurable level. Levels are still not enforced; it's up to the user to select a level compatible with the rest of the encoding options.
Patch by Jeff Clagg <snacky at ikaruga dot co dot uk>.

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

19 years agoAlways use the tempfile and rename method for multipass stats, so that VfW knows...
Loren Merritt [Sat, 19 Feb 2005 06:18:22 +0000 (06:18 +0000)]
Always use the tempfile and rename method for multipass stats, so that VfW knows whether the previous pass completed.

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

19 years agoMore tweaks to bitrate prediction.
Loren Merritt [Fri, 18 Feb 2005 07:47:35 +0000 (07:47 +0000)]
More tweaks to bitrate prediction.
Change error messages when 2pass fails to converge.

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

19 years agoImproved 2pass bitrate predictor. No real change most of the time, but allows correct...
Loren Merritt [Thu, 17 Feb 2005 19:31:15 +0000 (19:31 +0000)]
Improved 2pass bitrate predictor. No real change most of the time, but allows correct ratecontrol on some pathological videos that used to diverge completely. Also improves prediction when 2nd pass bitrate is very different from 1st pass.
The new qscale2bits() has no simple inverse, so I also had to change rc_eq to output qscale instead of bits.

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

19 years agoSome defines needed by MSVC, and convert the DSP files to DOS-style newlines.
Loren Merritt [Wed, 16 Feb 2005 04:59:21 +0000 (04:59 +0000)]
Some defines needed by MSVC, and convert the DSP files to DOS-style newlines.
Patch by Radek Czyz.

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

19 years agoPrecalculate lambda*bits for all allowed mvs. 1-2% speedup.
Loren Merritt [Mon, 14 Feb 2005 23:32:38 +0000 (23:32 +0000)]
Precalculate lambda*bits for all allowed mvs. 1-2% speedup.

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

19 years agoDeblock B-frames. (Not yet used, since B-frames aren't kept as references.)
Loren Merritt [Mon, 14 Feb 2005 11:08:00 +0000 (11:08 +0000)]
Deblock B-frames. (Not yet used, since B-frames aren't kept as references.)

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

19 years agoSimplify x264_mb_mc_01xywh()
Loren Merritt [Mon, 14 Feb 2005 05:58:50 +0000 (05:58 +0000)]
Simplify x264_mb_mc_01xywh()

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

19 years agoSave some memcopies in halfpel ME.
Loren Merritt [Mon, 14 Feb 2005 04:10:15 +0000 (04:10 +0000)]
Save some memcopies in halfpel ME.
Patch by Radek Czyz.

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

19 years agoCache half-pixel interpolated reference frames, to avoid duplicate motion compensation.
Loren Merritt [Sun, 13 Feb 2005 09:49:42 +0000 (09:49 +0000)]
Cache half-pixel interpolated reference frames, to avoid duplicate motion compensation.
30-50% speedup at subq=5.
Patch by Radek Czyz.

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

19 years agoIn N-pass mode if stat_in and stat_out are the same file, instead save to a temp...
Loren Merritt [Sat, 12 Feb 2005 12:26:52 +0000 (12:26 +0000)]
In N-pass mode if stat_in and stat_out are the same file, instead save to a temp file and overwrite stat_in only when the encode finishes.

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

19 years agoVfW: x264_log now creates a window for error messages
Loren Merritt [Fri, 11 Feb 2005 19:04:44 +0000 (19:04 +0000)]
VfW: x264_log now creates a window for error messages

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

19 years agocosmetics
Loren Merritt [Thu, 10 Feb 2005 22:11:39 +0000 (22:11 +0000)]
cosmetics

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

19 years agobs_align_1() didn't actually write all ones. (so encoded streams with cabac were...
Loren Merritt [Thu, 10 Feb 2005 21:54:40 +0000 (21:54 +0000)]
bs_align_1() didn't actually write all ones. (so encoded streams with cabac were technically invalid, though no decoder cares.)
Patch by Tuukka Toivonen.

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

19 years agoVfW: tweak option names
Loren Merritt [Tue, 8 Feb 2005 23:30:33 +0000 (23:30 +0000)]
VfW: tweak option names

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

19 years agoVfW: use separate stats files for each pass of an N-pass encode.
Loren Merritt [Sun, 6 Feb 2005 06:47:42 +0000 (06:47 +0000)]
VfW: use separate stats files for each pass of an N-pass encode.

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

19 years agoVfW: Enable multipass by default, increase the configurable range of I and B quant...
Loren Merritt [Sat, 5 Feb 2005 22:55:48 +0000 (22:55 +0000)]
VfW: Enable multipass by default, increase the configurable range of I and B quant ratios.
core: Tweak error messages.

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

19 years agor114 didn't completely fix the problem, trying again.
Loren Merritt [Fri, 4 Feb 2005 01:20:55 +0000 (01:20 +0000)]
r114 didn't completely fix the problem, trying again.

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

19 years agoAnother MV clipping fix.
Loren Merritt [Thu, 3 Feb 2005 11:03:17 +0000 (11:03 +0000)]
Another MV clipping fix.

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

19 years agoSimplify x264_cabac_mb_type.
Loren Merritt [Tue, 1 Feb 2005 10:13:51 +0000 (10:13 +0000)]
Simplify x264_cabac_mb_type.

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

19 years agoMore accurate clipping rectangle for motion search. (slight compression improvement...
Loren Merritt [Mon, 31 Jan 2005 12:20:23 +0000 (12:20 +0000)]
More accurate clipping rectangle for motion search. (slight compression improvement for high-motion scenes)

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

19 years ago encoder/encoder.c: gcc < 3 compile fix
Eric Petit [Fri, 28 Jan 2005 15:17:51 +0000 (15:17 +0000)]
 encoder/encoder.c: gcc < 3 compile fix

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

19 years agoChange default level from 2.1 to 4.0 until I get around to calculating actual levels.
Loren Merritt [Fri, 28 Jan 2005 13:47:14 +0000 (13:47 +0000)]
Change default level from 2.1 to 4.0 until I get around to calculating actual levels.

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

19 years agoClipping mvs to within picture + emulated border when running motion compensation.
Loren Merritt [Fri, 28 Jan 2005 02:51:21 +0000 (02:51 +0000)]
Clipping mvs to within picture + emulated border when running motion compensation.

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

19 years agoFix clipping of mvs in probe_pskip. (Previously it mixed up fullpel with qpel.) This...
Loren Merritt [Thu, 27 Jan 2005 11:33:14 +0000 (11:33 +0000)]
Fix clipping of mvs in probe_pskip. (Previously it mixed up fullpel with qpel.) This should eliminate the black blocks that sometimes appeared in high motion, low detail scenes.

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

19 years agoFix length of strings stored in the registry.
Loren Merritt [Tue, 25 Jan 2005 22:25:05 +0000 (22:25 +0000)]
Fix length of strings stored in the registry.
Patch by Riccardo Stievano.

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

19 years agoregistry values for min/max keyint were mixed up
Loren Merritt [Mon, 24 Jan 2005 22:55:48 +0000 (22:55 +0000)]
registry values for min/max keyint were mixed up

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

19 years agoVfW: expose option "Nth pass" (i.e. simultaneously read and update the multipass...
Loren Merritt [Sun, 23 Jan 2005 09:38:42 +0000 (09:38 +0000)]
VfW: expose option "Nth pass" (i.e. simultaneously read and update the multipass stats file).
Patch by Riccardo Stievano.

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

19 years agoadd "make NDEBUG=1" to strip library
Loren Merritt [Fri, 21 Jan 2005 08:22:47 +0000 (08:22 +0000)]
add "make NDEBUG=1" to strip library

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

19 years agofinish subpixel motion refinement for B-frames (up to 6% reduced size of B-frames...
Loren Merritt [Tue, 18 Jan 2005 21:32:20 +0000 (21:32 +0000)]
finish subpixel motion refinement for B-frames (up to 6% reduced size of B-frames at subq <= 3)

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

19 years agoVfW: expose the 2pass ratecontrol option: qcomp ("bitrate variability").
Loren Merritt [Tue, 18 Jan 2005 12:19:39 +0000 (12:19 +0000)]
VfW: expose the 2pass ratecontrol option: qcomp ("bitrate variability").
Some rearranging of the advanced configuration dialogue.
Patch by Riccardo Stievano <walkunafraid at tin dot it>.

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

19 years agoVfW: Support ip_factor and pb_factor, some cleanups.
Loren Merritt [Mon, 17 Jan 2005 04:29:24 +0000 (04:29 +0000)]
VfW: Support ip_factor and pb_factor, some cleanups.
patch by Riccardo Stievano <walkunafraid at tin dot it>

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

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