x262.git
13 years agocheck (most of) the levels constaints.
Loren Merritt [Fri, 4 Nov 2005 11:39:58 +0000 (11:39 +0000)]
check (most of) the levels constaints.
set default max_mv_range based on level_idc.

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

13 years agoif p16x16 RD decides to code a MB as p_skip, then don't check smaller partitions.
Loren Merritt [Thu, 3 Nov 2005 22:57:52 +0000 (22:57 +0000)]
if p16x16 RD decides to code a MB as p_skip, then don't check smaller partitions.

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

13 years agoTrellis RD quantization.
Loren Merritt [Thu, 3 Nov 2005 22:20:47 +0000 (22:20 +0000)]
Trellis RD quantization.
around +.2 dB

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

13 years agocosmetics: XCHG macro
Loren Merritt [Thu, 3 Nov 2005 20:16:56 +0000 (20:16 +0000)]
cosmetics: XCHG macro

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

13 years agoskip a few duplicate candidates in qpel search.
Loren Merritt [Thu, 3 Nov 2005 11:27:24 +0000 (11:27 +0000)]
skip a few duplicate candidates in qpel search.

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

13 years agoskip a few duplicate candidates in fullpel hex&umh search.
Loren Merritt [Thu, 3 Nov 2005 11:26:17 +0000 (11:26 +0000)]
skip a few duplicate candidates in fullpel hex&umh search.

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

13 years agocli: arithmetic overflow in bitrate printing
Loren Merritt [Thu, 3 Nov 2005 06:53:59 +0000 (06:53 +0000)]
cli: arithmetic overflow in bitrate printing

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

13 years agocosmetics in x264_cabac_mb_type
Loren Merritt [Thu, 3 Nov 2005 06:47:19 +0000 (06:47 +0000)]
cosmetics in x264_cabac_mb_type

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

13 years agoX264_ABS => abs
Loren Merritt [Thu, 3 Nov 2005 06:40:46 +0000 (06:40 +0000)]
X264_ABS => abs

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

13 years agoamd64 sse2 8x8dct. 1.45x faster than mmx.
Loren Merritt [Thu, 3 Nov 2005 02:42:48 +0000 (02:42 +0000)]
amd64 sse2 8x8dct. 1.45x faster than mmx.

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

13 years agoallow 1pass ratecontrol with keyint=1
Loren Merritt [Tue, 1 Nov 2005 03:34:48 +0000 (03:34 +0000)]
allow 1pass ratecontrol with keyint=1

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

13 years agocli: print estimated time left in --progress
Loren Merritt [Mon, 31 Oct 2005 04:02:15 +0000 (04:02 +0000)]
cli: print estimated time left in --progress

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

13 years agodoc/ratecontrol.txt
Loren Merritt [Mon, 31 Oct 2005 02:52:33 +0000 (02:52 +0000)]
doc/ratecontrol.txt

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

13 years agorm doc/dct.txt
Loren Merritt [Mon, 31 Oct 2005 02:50:36 +0000 (02:50 +0000)]
rm doc/dct.txt

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

13 years agoin constant QP mode, write that QP in the PPS to save a few bits in each slice header.
Loren Merritt [Sun, 30 Oct 2005 23:42:24 +0000 (23:42 +0000)]
in constant QP mode, write that QP in the PPS to save a few bits in each slice header.

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

13 years agofaster decimation
Loren Merritt [Sun, 30 Oct 2005 06:22:29 +0000 (06:22 +0000)]
faster decimation

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

13 years agocosmetics: fix an erroneous warning from r340.
Loren Merritt [Sat, 29 Oct 2005 04:05:57 +0000 (04:05 +0000)]
cosmetics: fix an erroneous warning from r340.

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

13 years agocosmetics: change literal cabac_block_cat to an enum.
Loren Merritt [Sat, 29 Oct 2005 03:00:50 +0000 (03:00 +0000)]
cosmetics: change literal cabac_block_cat to an enum.

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

13 years agocabac: merge i_state with i_mps. bs_write multiple bits at once.
Loren Merritt [Sat, 29 Oct 2005 02:21:39 +0000 (02:21 +0000)]
cabac: merge i_state with i_mps. bs_write multiple bits at once.

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

13 years agoremove unused adaptive cabac_idc code
Loren Merritt [Sat, 29 Oct 2005 01:43:29 +0000 (01:43 +0000)]
remove unused adaptive cabac_idc code

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

13 years ago Fixed compilation on PPC (spotted by David Wolstencroft)
Eric Petit [Thu, 27 Oct 2005 10:27:04 +0000 (10:27 +0000)]
 Fixed compilation on PPC (spotted by David Wolstencroft)

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

13 years agommx deblocking.
Loren Merritt [Wed, 26 Oct 2005 08:38:11 +0000 (08:38 +0000)]
mmx deblocking.
2.5x faster deblocking functions, 1-4% overall.

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

13 years agoIf frame count is known at init time (cli & vfw), then abort if the 2nd pass
Loren Merritt [Wed, 26 Oct 2005 07:04:59 +0000 (07:04 +0000)]
If frame count is known at init time (cli & vfw), then abort if the 2nd pass
exceeds the length of the 1st pass.
If it's not known (mencoder), then report a non-fatal error when we run off the
end of the 1st pass stats, and switch to constant QP.

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

13 years agomove checkasm to tools/
Loren Merritt [Wed, 26 Oct 2005 06:40:51 +0000 (06:40 +0000)]
move checkasm to tools/
delete unused stuff in testing/
`make clean` deletes checkasm and avc2avi

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

13 years agocheckasm: check 8x8dct, mc average, quant, and SSE2.
Loren Merritt [Wed, 26 Oct 2005 06:31:35 +0000 (06:31 +0000)]
checkasm: check 8x8dct, mc average, quant, and SSE2.

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

13 years agor336 broke amd64 x264_pixel_sad_16x16_sse2 (though it's not being used)
Loren Merritt [Wed, 26 Oct 2005 06:30:19 +0000 (06:30 +0000)]
r336 broke amd64 x264_pixel_sad_16x16_sse2 (though it's not being used)

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

13 years agoWindows 64bit asm.
Loren Merritt [Tue, 25 Oct 2005 10:57:29 +0000 (10:57 +0000)]
Windows 64bit asm.
patch by squid_80.

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

13 years agodelete build/cygwin because it's handled in the main configure/makefile.
Loren Merritt [Mon, 24 Oct 2005 16:15:11 +0000 (16:15 +0000)]
delete build/cygwin because it's handled in the main configure/makefile.

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

13 years ago--crf: 1pass quality-based VBR.
Loren Merritt [Sun, 23 Oct 2005 09:52:34 +0000 (09:52 +0000)]
--crf: 1pass quality-based VBR.

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

14 years ago Added --enable-gprof (patch by Johannes Reinhardt)
Eric Petit [Sun, 16 Oct 2005 09:53:05 +0000 (09:53 +0000)]
 Added --enable-gprof (patch by Johannes Reinhardt)

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

14 years agocosmetics: remove #if0'ed code
Loren Merritt [Sun, 16 Oct 2005 05:44:50 +0000 (05:44 +0000)]
cosmetics: remove #if0'ed code
patch by Robert Swain.

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

14 years agofaster bs_write
Loren Merritt [Sun, 16 Oct 2005 01:47:30 +0000 (01:47 +0000)]
faster bs_write

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

14 years agoduring RDO, skip the bitstream writing and just calculate the number of bits
Loren Merritt [Sat, 15 Oct 2005 04:11:06 +0000 (04:11 +0000)]
during RDO, skip the bitstream writing and just calculate the number of bits
that would be used. speedup: cabac +4-8%, cavlc +2-4%.

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

14 years agoUse SAD instead of SATD for halfpel motion search.
Loren Merritt [Sat, 15 Oct 2005 00:27:17 +0000 (00:27 +0000)]
Use SAD instead of SATD for halfpel motion search.
Move multiref termination after halfpel search.
Total: 3-7% speedup and +/-.02 dB.
patch by Alex Wright.

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

14 years agoVfW: mixed refs.
Loren Merritt [Thu, 13 Oct 2005 18:19:38 +0000 (18:19 +0000)]
VfW: mixed refs.
patch by celtic_druid.

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

14 years agoallow non-mod16 resolutions
Loren Merritt [Mon, 10 Oct 2005 22:51:26 +0000 (22:51 +0000)]
allow non-mod16 resolutions

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

14 years agoVfW: prevent duplicate free() in compress_end()
Loren Merritt [Mon, 10 Oct 2005 01:29:17 +0000 (01:29 +0000)]
VfW: prevent duplicate free() in compress_end()

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

14 years agocosmetics: remove declarations of nonexistent asm functions
Loren Merritt [Mon, 10 Oct 2005 00:32:45 +0000 (00:32 +0000)]
cosmetics: remove declarations of nonexistent asm functions

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

14 years agocosmetics (whitespace) in VfW
Loren Merritt [Sun, 9 Oct 2005 21:55:53 +0000 (21:55 +0000)]
cosmetics (whitespace) in VfW

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

14 years agoVfW: some reorganization
Loren Merritt [Sun, 9 Oct 2005 21:37:56 +0000 (21:37 +0000)]
VfW: some reorganization
patch by Francesco Corriga.

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

14 years agocosmetics: merge some duplicate tables
Loren Merritt [Sun, 9 Oct 2005 06:10:03 +0000 (06:10 +0000)]
cosmetics: merge some duplicate tables

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

14 years agoremove cabac byte-stuffing code, because it just wastes bits in lossless, and does...
Loren Merritt [Sun, 9 Oct 2005 03:32:56 +0000 (03:32 +0000)]
remove cabac byte-stuffing code, because it just wastes bits in lossless, and does nothing at all at sane bitrates.

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

14 years agodon't allocate lowres planes if they won't be used (i.e. in the 2nd pass).
Loren Merritt [Sun, 9 Oct 2005 00:14:30 +0000 (00:14 +0000)]
don't allocate lowres planes if they won't be used (i.e. in the 2nd pass).

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

14 years agocosmetics: move some stuff from macroblock_encode to cache_save
Loren Merritt [Sat, 8 Oct 2005 21:17:44 +0000 (21:17 +0000)]
cosmetics: move some stuff from macroblock_encode to cache_save

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

14 years agonew option: --mixed-refs
Loren Merritt [Sat, 8 Oct 2005 06:49:29 +0000 (06:49 +0000)]
new option: --mixed-refs
Allows each 8x8 or 16x8 partition to independently select a reference frame, as opposed to only one ref per macroblock.
patch mostly by Alex Wright (alexw0885 at hotmail dot com).

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

14 years agocosmetics in option parsing
Loren Merritt [Sat, 8 Oct 2005 04:45:51 +0000 (04:45 +0000)]
cosmetics in option parsing

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

14 years agoexpose the rest of the VUI flags.
Loren Merritt [Sat, 8 Oct 2005 03:52:10 +0000 (03:52 +0000)]
expose the rest of the VUI flags.
patch by Christian Heine.

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

14 years ago * common/amd64/mc-a.asm: use RIP-relative addressing in PIC mode.
Sam Hocevar [Tue, 4 Oct 2005 12:08:33 +0000 (12:08 +0000)]
  * common/amd64/mc-a.asm: use RIP-relative addressing in PIC mode.

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

14 years agotemporal predictors for 16x16 motion search.
Loren Merritt [Tue, 4 Oct 2005 07:12:21 +0000 (07:12 +0000)]
temporal predictors for 16x16 motion search.

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

14 years agoslightly faster/cleaner block_residual_write_cabac
Loren Merritt [Sun, 2 Oct 2005 22:07:12 +0000 (22:07 +0000)]
slightly faster/cleaner block_residual_write_cabac

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

14 years agocosmetics
Loren Merritt [Sun, 2 Oct 2005 20:12:46 +0000 (20:12 +0000)]
cosmetics

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

14 years agocli: fix a crash on piped input.
Loren Merritt [Sun, 2 Oct 2005 05:50:35 +0000 (05:50 +0000)]
cli: fix a crash on piped input.

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

14 years agostats summary: separately report all 5 partition sizes, and add ref usages
Loren Merritt [Sun, 2 Oct 2005 05:01:39 +0000 (05:01 +0000)]
stats summary: separately report all 5 partition sizes, and add ref usages

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

14 years agodisposable frames shouldn't get their own coded_frame_num.
Loren Merritt [Sun, 2 Oct 2005 04:03:06 +0000 (04:03 +0000)]
disposable frames shouldn't get their own coded_frame_num.

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

14 years agotypo in ia32 x264_pixel_avg_weight_w8_mmxext
Loren Merritt [Sat, 1 Oct 2005 19:33:26 +0000 (19:33 +0000)]
typo in ia32 x264_pixel_avg_weight_w8_mmxext

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

14 years agommx avg (already existed by not used for bipred)
Loren Merritt [Sat, 1 Oct 2005 06:48:13 +0000 (06:48 +0000)]
mmx avg (already existed by not used for bipred)
mmx biweighted avg (3x faster than C)

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

14 years agocosmetics: move avg function ptrs from pixf to mc.
Loren Merritt [Sat, 1 Oct 2005 04:43:31 +0000 (04:43 +0000)]
cosmetics: move avg function ptrs from pixf to mc.

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

14 years agowith B-pyramid, forget old refs in POC order instead of coded order.
Loren Merritt [Tue, 27 Sep 2005 19:59:09 +0000 (19:59 +0000)]
with B-pyramid, forget old refs in POC order instead of coded order.
(before, b_skip was unavailable with pyramid and ref=1)

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

14 years agotypo in r296.
Loren Merritt [Mon, 26 Sep 2005 03:00:10 +0000 (03:00 +0000)]
typo in r296.
patch by lurui.

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

14 years ago * common/amd64/*.asm: use RIP-related addressing in PIC mode.
Sam Hocevar [Sun, 25 Sep 2005 22:12:56 +0000 (22:12 +0000)]
  * common/amd64/*.asm: use RIP-related addressing in PIC mode.

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

14 years ago * common/amd64/mc-a.asm: removed useless global variables
Sam Hocevar [Sun, 25 Sep 2005 19:52:57 +0000 (19:52 +0000)]
  * common/amd64/mc-a.asm: removed useless global variables

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

14 years ago * configure: support extra $(ASFLAGS) through --extra-asflags.
Sam Hocevar [Sun, 25 Sep 2005 13:52:58 +0000 (13:52 +0000)]
  * configure: support extra $(ASFLAGS) through --extra-asflags.

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

14 years agoreorganized VfW UI.
Loren Merritt [Sat, 24 Sep 2005 19:41:50 +0000 (19:41 +0000)]
reorganized VfW UI.
patch by Antony Boucher, graphic by Jarod.

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

14 years agoMP4 output: update to GPAC 0.4 API.
Loren Merritt [Sat, 24 Sep 2005 18:54:49 +0000 (18:54 +0000)]
MP4 output: update to GPAC 0.4 API.
patch mostly by Robert Swain.

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

14 years agofaster mmx quant 15bit, and add 16bit version. total speedup: ~0.3%
Loren Merritt [Sat, 24 Sep 2005 18:22:02 +0000 (18:22 +0000)]
faster mmx quant 15bit, and add 16bit version. total speedup: ~0.3%
patch by Christian Heine.

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

14 years agofaster mmx satd. *x16: 20%, *x8: 10%, total: 2-4%.
Loren Merritt [Sat, 24 Sep 2005 17:04:21 +0000 (17:04 +0000)]
faster mmx satd. *x16: 20%, *x8: 10%, total: 2-4%.
ia32 patch by Christian Heine, amd64 port by me.

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

14 years agoallow i4x4 and i8x8 down-left prediction with emulated top-right samples.
Loren Merritt [Sat, 24 Sep 2005 16:58:36 +0000 (16:58 +0000)]
allow i4x4 and i8x8 down-left prediction with emulated top-right samples.
based on a patch by Johannes Reinhardt (Johannes dot Reinhardt at uni-konstanz dot de)

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

14 years agofps patch by Haali
Steve Lhomme [Tue, 20 Sep 2005 16:18:23 +0000 (16:18 +0000)]
fps patch by Haali

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

14 years ago * configure: added support for ia64, mips/mipsel, m68k, arm, s390 and hppa
Sam Hocevar [Tue, 20 Sep 2005 15:50:41 +0000 (15:50 +0000)]
  * configure: added support for ia64, mips/mipsel, m68k, arm, s390 and hppa
    platforms, as well as linux sparc.

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

14 years agoMMX quantization functions, and optimization of the C versions.
Loren Merritt [Wed, 14 Sep 2005 17:20:17 +0000 (17:20 +0000)]
MMX quantization functions, and optimization of the C versions.
about 3x faster quant_8x8, quant_4x4, quant_4x4_dc, and quant_2x2_dc. total speedup: 4-10%.
patch by Alexander Izvorski and Christian Heine.

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

14 years agoSSE2 pixel comparison functions
Loren Merritt [Sat, 10 Sep 2005 11:23:09 +0000 (11:23 +0000)]
SSE2 pixel comparison functions
P4: SAD 16x*, SSD 16x*, SATD 16x*: 30% faster, SATD 8x8: 15% faster, total: 2-4% faster
K8: SSD 16x*: 6% faster, total: not much
patch by Alexander Izvorski.

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

14 years ago10l in rev290: duplicate declaration of x264_pixel_sub_8x8_mmx.
Loren Merritt [Tue, 30 Aug 2005 17:11:35 +0000 (17:11 +0000)]
10l in rev290: duplicate declaration of x264_pixel_sub_8x8_mmx.

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

14 years agommx 8x8 dct.
Loren Merritt [Mon, 29 Aug 2005 20:37:31 +0000 (20:37 +0000)]
mmx 8x8 dct.
On a K8: sub16x16_dct8 3806->1461, add16x16_idct8 4852->1297 cycles. total speedup: 1-3%.
patch by Christian Heine (sennindemokrit at gmx dot net)

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

14 years ago VC++ fix (thx fenrir)
Eric Petit [Mon, 29 Aug 2005 13:20:45 +0000 (13:20 +0000)]
 VC++ fix (thx fenrir)

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

14 years ago x264.h: issue an explicit warning when neither stdint.h nor inttypes.h
Eric Petit [Mon, 29 Aug 2005 11:20:23 +0000 (11:20 +0000)]
 x264.h: issue an explicit warning when neither stdint.h nor inttypes.h
 has be included before x264.h

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

14 years agoVfW: SAR wording. patch by Sharktooth.
Loren Merritt [Wed, 17 Aug 2005 15:18:42 +0000 (15:18 +0000)]
VfW: SAR wording. patch by Sharktooth.

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

14 years agocli: workaround to allow "--ratetol inf" on win32.
Loren Merritt [Tue, 16 Aug 2005 15:09:41 +0000 (15:09 +0000)]
cli: workaround to allow "--ratetol inf" on win32.

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

14 years agofix spatial direct mv prediction with B-pyramid. copied from libavcodec.
Loren Merritt [Tue, 9 Aug 2005 18:48:57 +0000 (18:48 +0000)]
fix spatial direct mv prediction with B-pyramid. copied from libavcodec.

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

14 years ago * all: Patch by Mike Matsnev :
Laurent Aimar [Tue, 9 Aug 2005 07:20:26 +0000 (07:20 +0000)]
 * all: Patch by Mike Matsnev :

"The following things were fixed:
 * AR calculation was broken on previous import
 * Wrong conditional in write_nalu_mkv() was fixed
 * Error checking was added in all places"

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

14 years ago xyuv: bug fixes + autodetect of video size.
Laurent Aimar [Tue, 9 Aug 2005 07:17:26 +0000 (07:17 +0000)]
 xyuv: bug fixes + autodetect of video size.

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

14 years ago Run ranlib after make install (OS X needs that)
Eric Petit [Sun, 7 Aug 2005 17:17:05 +0000 (17:17 +0000)]
 Run ranlib after make install (OS X needs that)

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

14 years agoupdate i_mb_b16x8_cost_table[] for I8x8 mb type (r278 only fixed a symptom).
Loren Merritt [Tue, 26 Jul 2005 16:07:17 +0000 (16:07 +0000)]
update i_mb_b16x8_cost_table[] for I8x8 mb type (r278 only fixed a symptom).

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

14 years ago * all: Added matroska writing. Patch by Mike Matsnev.
Laurent Aimar [Fri, 22 Jul 2005 15:51:10 +0000 (15:51 +0000)]
 * all: Added matroska writing. Patch by Mike Matsnev.

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

14 years ago * pixel.*:
Laurent Aimar [Fri, 22 Jul 2005 15:48:18 +0000 (15:48 +0000)]
 * pixel.*:

"I have completed additonal SAD implementations (8x16, 16x8 and 16x16)
 using Sparc VIS.  Overall speedup is roughly 90% from straight C.  I'm
 doing development and testing on a Sun Fire V220, with 2 * 1.5ghz
 UltraSPARC-III CPUs.

 I've hand-unrolled each of the loops.  Sun's assembler does not appear
 to have macro functionality built-in and I didn't want to establish an
 external dependancy on m4.  Please let me know if you run into any
 trouble with the patch."

 Patch by Phil Jensen.

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

14 years ago analyse: "It correct the size of array i_mb_b16x8_cost_table
Laurent Aimar [Fri, 22 Jul 2005 15:43:16 +0000 (15:43 +0000)]
 analyse: "It correct the size of array i_mb_b16x8_cost_table
   from 16 to 17,otherwise,it can result a mismatch of b16x8
   mb type cost and can result memory read overflow on it." Patch by lurui.

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

14 years ago * x264 compilation on NetBSD. Patch by Mike Matsnev.
Laurent Aimar [Wed, 20 Jul 2005 15:39:44 +0000 (15:39 +0000)]
 * x264 compilation on NetBSD. Patch by Mike Matsnev.

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

14 years ago * all: "8x8 SAD written in Sparc Assembly using VIS." Patch by Phil Jensen.
Laurent Aimar [Wed, 20 Jul 2005 15:27:18 +0000 (15:27 +0000)]
 * all: "8x8 SAD written in Sparc Assembly using VIS." Patch by Phil Jensen.

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

14 years ago10l: rd score for sub-8x8 partitions used wrong mvs.
Loren Merritt [Fri, 15 Jul 2005 16:21:58 +0000 (16:21 +0000)]
10l: rd score for sub-8x8 partitions used wrong mvs.

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

14 years agofaster SAD_INC_2x16P for amd64.
Loren Merritt [Wed, 13 Jul 2005 15:52:59 +0000 (15:52 +0000)]
faster SAD_INC_2x16P for amd64.
patch by Josef Zlomek.

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

14 years ago Fixed win32 handle leakage (thanks Trax)
Eric Petit [Sun, 10 Jul 2005 12:51:21 +0000 (12:51 +0000)]
 Fixed win32 handle leakage (thanks Trax)
 Default enabled support of threads on BeOS

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

14 years ago * Add support for UltraSparc (uname -m: sun4u) with Solaris.
Laurent Aimar [Thu, 7 Jul 2005 07:48:36 +0000 (07:48 +0000)]
 * Add support for UltraSparc (uname -m: sun4u) with Solaris.
 Patch by Tuukka Toivonen.

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

14 years ago * Faster SAD_INC_2x16P. Patch by Alexander Izvorski.
Laurent Aimar [Thu, 7 Jul 2005 07:37:54 +0000 (07:37 +0000)]
 * Faster SAD_INC_2x16P. Patch by Alexander Izvorski.

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

14 years agoexample quant matrix file
Loren Merritt [Tue, 21 Jun 2005 14:49:27 +0000 (14:49 +0000)]
example quant matrix file

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

14 years ago--cqmfile reads quant matrices in a JM-compatible format.
Loren Merritt [Tue, 21 Jun 2005 08:16:01 +0000 (08:16 +0000)]
--cqmfile reads quant matrices in a JM-compatible format.

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

14 years agoadjust coded buffer size based on input resolution and QP (old default wasn't enough...
Loren Merritt [Tue, 21 Jun 2005 04:45:49 +0000 (04:45 +0000)]
adjust coded buffer size based on input resolution and QP (old default wasn't enough for HD lossless)

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

14 years agoupdate avc2avi for high profile
Loren Merritt [Mon, 20 Jun 2005 00:36:05 +0000 (00:36 +0000)]
update avc2avi for high profile

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

14 years agocustom quant matrices
Loren Merritt [Mon, 20 Jun 2005 00:08:28 +0000 (00:08 +0000)]
custom quant matrices

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

14 years agoVfW: workaround a windows unicode bug.
Loren Merritt [Fri, 17 Jun 2005 08:32:56 +0000 (08:32 +0000)]
VfW: workaround a windows unicode bug.
patch by Leowai.

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

14 years agolossless mode enabled at qp=0
Loren Merritt [Fri, 17 Jun 2005 08:21:48 +0000 (08:21 +0000)]
lossless mode enabled at qp=0

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

14 years agoVfW: enable RDO. some option dependencies.
Loren Merritt [Tue, 14 Jun 2005 19:49:16 +0000 (19:49 +0000)]
VfW: enable RDO. some option dependencies.
patch by Francesco Corriga.

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