]> git.sesse.net Git - x264/log
x264
19 years agoUpdated MSVC project files.
Loren Merritt [Sat, 30 Apr 2005 01:20:50 +0000 (01:20 +0000)]
Updated MSVC project files.
thanks to Bonzi.

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

19 years agocosmetics.
Loren Merritt [Mon, 25 Apr 2005 18:39:32 +0000 (18:39 +0000)]
cosmetics.
silence some gcc warnings.
amd64 doesn't need a separate copy of the c/h files, only the asm.

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

19 years ago10l (214 wrote wrong DPB size in SPS -> B-pyramid broke)
Loren Merritt [Fri, 22 Apr 2005 04:05:35 +0000 (04:05 +0000)]
10l (214 wrote wrong DPB size in SPS -> B-pyramid broke)

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

19 years agoCLI (mp4): return to 'capture' output mode, remove useless SetCtsPackMode() (fixed...
Loren Merritt [Thu, 21 Apr 2005 09:20:43 +0000 (09:20 +0000)]
CLI (mp4): return to 'capture' output mode, remove useless SetCtsPackMode() (fixed in gpac).
Note: requires gpac cvs-20050419 or later.
patch by bobo.

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

19 years agocombined L0 & L1 reference lists are limited to a total of 16 pics.
Loren Merritt [Tue, 19 Apr 2005 23:09:29 +0000 (23:09 +0000)]
combined L0 & L1 reference lists are limited to a total of 16 pics.

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

19 years agoamd64 asm patch, part2.
Loren Merritt [Tue, 19 Apr 2005 18:44:42 +0000 (18:44 +0000)]
amd64 asm patch, part2.
by Josef Zlomek ( josef dot zlomek at xeris dot cz )

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

19 years agoamd64 asm patch, part1.
Loren Merritt [Tue, 19 Apr 2005 18:35:45 +0000 (18:35 +0000)]
amd64 asm patch, part1.

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

19 years agoAllow manual selection of fullpel ME method. New method: Exhaustive search.
Loren Merritt [Tue, 19 Apr 2005 08:45:36 +0000 (08:45 +0000)]
Allow manual selection of fullpel ME method. New method: Exhaustive search.
based on a patch by Tuukka Toivonen.

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

19 years agomisc makefile changes.
Loren Merritt [Tue, 19 Apr 2005 01:42:12 +0000 (01:42 +0000)]
misc makefile changes.
propogate --extra-cflags to vfw.
'make clean' removes x264.exe and vfw.
tweak dependencies.

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

19 years ago10l (CLI: fflush after progress update)
Loren Merritt [Mon, 18 Apr 2005 02:00:58 +0000 (02:00 +0000)]
10l (CLI: fflush after progress update)

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

19 years agoCLI: progress indicator
Loren Merritt [Sun, 17 Apr 2005 18:43:17 +0000 (18:43 +0000)]
CLI: progress indicator

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

19 years agoVfW: build from main makefile
Loren Merritt [Sat, 16 Apr 2005 20:21:06 +0000 (20:21 +0000)]
VfW: build from main makefile

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

19 years ago [mp4] ftyp & moov boxes at the begining of the file, (thanks to jeanlf
Eric Petit [Fri, 15 Apr 2005 17:26:09 +0000 (17:26 +0000)]
 [mp4] ftyp & moov boxes at the begining of the file, (thanks to jeanlf
 for comments)

 patch by bobololo

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

19 years agoCLI: --fps had side-effects. fixed.
Loren Merritt [Thu, 14 Apr 2005 23:04:48 +0000 (23:04 +0000)]
CLI: --fps had side-effects. fixed.

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

19 years agoCLI: cosmetics
Loren Merritt [Thu, 14 Apr 2005 21:59:00 +0000 (21:59 +0000)]
CLI: cosmetics

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

19 years agoMakefile: strip x264cli.
Loren Merritt [Thu, 14 Apr 2005 19:45:08 +0000 (19:45 +0000)]
Makefile: strip x264cli.
tweak stats summary.

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

19 years ago * x264.c: Fix ctts box creation. Patch by bobololo from Ateme.
Laurent Aimar [Wed, 13 Apr 2005 14:25:32 +0000 (14:25 +0000)]
 * x264.c: Fix ctts box creation. Patch by bobololo from Ateme.

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

19 years ago common/ppc: more cleaning, optimized a bit
Eric Petit [Wed, 13 Apr 2005 03:43:07 +0000 (03:43 +0000)]
 common/ppc: more cleaning, optimized a bit

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

19 years agoCLI: require output file (don't default to stdout). warn if trying to use mp4 or...
Loren Merritt [Tue, 12 Apr 2005 20:38:40 +0000 (20:38 +0000)]
CLI: require output file (don't default to stdout). warn if trying to use mp4 or avis when not supported. misc cleanup.

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

19 years ago configure: use -falign-loops=16 on OS X
Eric Petit [Tue, 12 Apr 2005 18:45:24 +0000 (18:45 +0000)]
 configure:   use -falign-loops=16 on OS X
 common/ppc/: added AltiVecized mc_chroma + cleaning
 checkasm.c:  really fixed MC tests

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

19 years agoConfigure tweaks. Allow avis-input in mingw. Turn off debug by default.
Loren Merritt [Tue, 12 Apr 2005 17:33:10 +0000 (17:33 +0000)]
Configure tweaks. Allow avis-input in mingw. Turn off debug by default.

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

19 years ago checkasm.c: fixed MC tests
Eric Petit [Tue, 12 Apr 2005 16:34:48 +0000 (16:34 +0000)]
 checkasm.c: fixed MC tests

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

19 years agoCLI: MP4 muxing.
Loren Merritt [Tue, 12 Apr 2005 03:34:25 +0000 (03:34 +0000)]
CLI: MP4 muxing.
patch by bobo from Ateme.

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

19 years ago Cygwin fixes
Eric Petit [Mon, 11 Apr 2005 21:21:05 +0000 (21:21 +0000)]
 Cygwin fixes

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

19 years ago configure: ooops, restored -g
Eric Petit [Mon, 11 Apr 2005 20:52:31 +0000 (20:52 +0000)]
 configure: ooops, restored -g
 ratecontrol.c: OS X has exp2f in -lmx
 checkasm: quick compile fix

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

19 years agoadd x86_64 to configure
Måns Rullgård [Mon, 11 Apr 2005 20:00:49 +0000 (20:00 +0000)]
add x86_64 to configure

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

19 years ago set svn:ignore
Eric Petit [Mon, 11 Apr 2005 19:41:28 +0000 (19:41 +0000)]
 set svn:ignore

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

19 years ago Added a configure to detect the platform/system/etc so people don't
Eric Petit [Mon, 11 Apr 2005 19:28:03 +0000 (19:28 +0000)]
  Added a configure to detect the platform/system/etc so people don't
 have to edit the Makefile (will work for Linux/OS X/BeOS/FreeBSD, feel
 free to modify for others), and we can now remove the Jamfile which
 was broken most of the time anyway.

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

19 years agoMakefiles: better dependencies for SEI version number
Loren Merritt [Sun, 10 Apr 2005 23:35:01 +0000 (23:35 +0000)]
Makefiles: better dependencies for SEI version number

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

19 years agoForgot rbsp_trailing_bits in AUD NAL
Måns Rullgård [Thu, 7 Apr 2005 23:26:51 +0000 (23:26 +0000)]
Forgot rbsp_trailing_bits in AUD NAL

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

19 years agoOptionally use access unit delimiter NAL units.
Måns Rullgård [Thu, 7 Apr 2005 23:11:06 +0000 (23:11 +0000)]
Optionally use access unit delimiter NAL units.

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

19 years agoVfW: cleaner install on win98.
Loren Merritt [Tue, 5 Apr 2005 21:32:52 +0000 (21:32 +0000)]
VfW: cleaner install on win98.
patch by Riccardo Stievano.

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

19 years agonew util: countquant for 2pass statsfiles
Loren Merritt [Tue, 5 Apr 2005 20:50:13 +0000 (20:50 +0000)]
new util: countquant for 2pass statsfiles

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

19 years agoprint svn version number in SEI info and in CLI/VfW.
Loren Merritt [Tue, 5 Apr 2005 20:39:47 +0000 (20:39 +0000)]
print svn version number in SEI info and in CLI/VfW.

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

19 years agoMake reconstructed frame available to caller.
Måns Rullgård [Thu, 31 Mar 2005 21:20:41 +0000 (21:20 +0000)]
Make reconstructed frame available to caller.

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

19 years agomake install
Loren Merritt [Thu, 31 Mar 2005 06:03:22 +0000 (06:03 +0000)]
make install

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

19 years agofree() -> x264_free()
Loren Merritt [Thu, 31 Mar 2005 05:59:11 +0000 (05:59 +0000)]
free() -> x264_free()

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

19 years agoCLI: flush B-frames at the end of the encode
Loren Merritt [Mon, 28 Mar 2005 05:08:43 +0000 (05:08 +0000)]
CLI: flush B-frames at the end of the encode

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

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