]> git.sesse.net Git - x264/log
x264
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

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