]> git.videolan.org Git - x264.git/log
x264.git
18 years agobinmode stdin on mingw, not just msvc
BugMaster [Sat, 24 May 2008 07:09:07 +0000 (01:09 -0600)]
binmode stdin on mingw, not just msvc

18 years agoomit redundant mc after non-rdo dct size decision, and in b-direct rdo
Jason Garrett-Glaser [Sat, 24 May 2008 03:22:29 +0000 (21:22 -0600)]
omit redundant mc after non-rdo dct size decision, and in b-direct rdo

18 years agoallow fractional CRF values with AQ.
Jason Garrett-Glaser [Wed, 9 Apr 2008 22:46:51 +0000 (16:46 -0600)]
allow fractional CRF values with AQ.

18 years agofix some uninitialized partitions in rdo
Noboru Asai [Mon, 2 Jun 2008 15:12:29 +0000 (09:12 -0600)]
fix some uninitialized partitions in rdo

18 years ago2-pass VBV support and improved VBV handling
Gabriel Bouvigne [Mon, 2 Jun 2008 18:53:01 +0000 (12:53 -0600)]
2-pass VBV support and improved VBV handling
Dramatically improves 1-pass VBV ratecontrol (especially CBR) and provides support for VBV in 2-pass mode.  This consists of a series of functions that attempts to find overflows and underflows in the VBV from the first-pass statsfile and fix them before encoding.
1-pass VBV code partially by Dark Shikari.

18 years agoFix noise reduction in threaded mode.
Alexander Strange [Mon, 2 Jun 2008 18:16:51 +0000 (12:16 -0600)]
Fix noise reduction in threaded mode.
Previously enabling noise reduction with threads had no effect.
Note that this is not an optimal solution; each thread still tracks noise reducation separately (unlike in single-threaded mode).

18 years agofix a crash on win32 with threads.
Loren Merritt [Wed, 21 May 2008 02:15:41 +0000 (20:15 -0600)]
fix a crash on win32 with threads.
r852 introduced an assumption in deblock that the stack is aligned.

18 years agoremove nasm version check. a feature check is all that's needed.
Loren Merritt [Tue, 20 May 2008 09:58:08 +0000 (03:58 -0600)]
remove nasm version check. a feature check is all that's needed.
silence stderr in yasm version check.

18 years agocosmetics in cabac
Loren Merritt [Sun, 18 May 2008 14:33:34 +0000 (08:33 -0600)]
cosmetics in cabac

18 years agofaster residual_write_cabac
Jason Garrett-Glaser [Sun, 18 May 2008 13:14:28 +0000 (07:14 -0600)]
faster residual_write_cabac

18 years agochange DEBUG_DUMP_FRAME to run-time --dump-yuv
Loren Merritt [Sun, 18 May 2008 12:23:57 +0000 (06:23 -0600)]
change DEBUG_DUMP_FRAME to run-time --dump-yuv

18 years agox264_median_mv_mmxext
Loren Merritt [Sat, 17 May 2008 09:39:59 +0000 (03:39 -0600)]
x264_median_mv_mmxext
this is the first non-runtime-detected use of mmxext, but it has to be inlined

18 years agofactor duplicated code out of deblock chroma mmx
Loren Merritt [Sun, 20 Apr 2008 09:18:19 +0000 (03:18 -0600)]
factor duplicated code out of deblock chroma mmx

18 years agodeblock_luma_intra_mmx
Loren Merritt [Tue, 15 Apr 2008 23:52:32 +0000 (17:52 -0600)]
deblock_luma_intra_mmx

18 years agowrite aspect ratio in mp4
vmrsss [Sat, 17 May 2008 06:50:22 +0000 (00:50 -0600)]
write aspect ratio in mp4

18 years agoomit delta_quant in i16x16 blocks with no residual
Jason Garrett-Glaser [Fri, 16 May 2008 04:44:12 +0000 (22:44 -0600)]
omit delta_quant in i16x16 blocks with no residual
(all other block types were already covered, but i16x16 cbp is special)

18 years agoexplicit write combining, because gcc fails at optimizing consecutive memory accesses
Jason Garrett-Glaser [Thu, 15 May 2008 12:01:01 +0000 (06:01 -0600)]
explicit write combining, because gcc fails at optimizing consecutive memory accesses

18 years agoforce unroll macroblock_load_pic_pointers
Jason Garrett-Glaser [Thu, 15 May 2008 11:41:43 +0000 (05:41 -0600)]
force unroll macroblock_load_pic_pointers
and a few other minor optimizations

18 years agoquant_2x2_dc_ssse3
Jason Garrett-Glaser [Thu, 15 May 2008 11:14:53 +0000 (05:14 -0600)]
quant_2x2_dc_ssse3

18 years agor836 borked lossless cabac nnz
Jason Garrett-Glaser [Sat, 17 May 2008 06:47:31 +0000 (00:47 -0600)]
r836 borked lossless cabac nnz

18 years agouse elf instead of a.out on netbsd
Henry Bent [Thu, 8 May 2008 01:49:14 +0000 (19:49 -0600)]
use elf instead of a.out on netbsd

18 years agofix x264_realloc when not using libc realloc.
Ning Xin [Wed, 7 May 2008 23:18:44 +0000 (17:18 -0600)]
fix x264_realloc when not using libc realloc.

18 years agodon't pretend to support win64. remove all related code.
Loren Merritt [Mon, 5 May 2008 22:28:24 +0000 (16:28 -0600)]
don't pretend to support win64. remove all related code.
it hasn't worked since probably some time in 2005, and won't ever be fixed unless someone steps up to maintain it.

18 years agocosmetics: replace last instances of parm# asm macros with r#
Loren Merritt [Mon, 5 May 2008 22:25:19 +0000 (16:25 -0600)]
cosmetics: replace last instances of parm# asm macros with r#

18 years agoremove DEBUG_BENCHMARK
Loren Merritt [Mon, 28 Apr 2008 09:12:29 +0000 (03:12 -0600)]
remove DEBUG_BENCHMARK

18 years agofaster probe_skip
Jason Garrett-Glaser [Sun, 27 Apr 2008 09:10:28 +0000 (03:10 -0600)]
faster probe_skip

18 years agodrop support for pre-SSE3 assemblers
Loren Merritt [Tue, 22 Apr 2008 23:16:25 +0000 (17:16 -0600)]
drop support for pre-SSE3 assemblers

18 years agos/x264_cpu_restore/x264_emms/
Loren Merritt [Fri, 25 Apr 2008 06:33:12 +0000 (00:33 -0600)]
s/x264_cpu_restore/x264_emms/
no point in giving it a generic name when it's not generic

18 years agofaster cabac_mb_cbp_luma
Jason Garrett-Glaser [Sun, 27 Apr 2008 08:37:37 +0000 (02:37 -0600)]
faster cabac_mb_cbp_luma
ported from ffmpeg

18 years agoremove some redundant nnz counts
Jason Garrett-Glaser [Sat, 26 Apr 2008 03:41:40 +0000 (21:41 -0600)]
remove some redundant nnz counts
move some nnz counts from macroblock_encode to cavlc if cabac doesn't need them

18 years agocompute missing nnz count in subme7 cavlc
Jason Garrett-Glaser [Sat, 26 Apr 2008 02:43:57 +0000 (20:43 -0600)]
compute missing nnz count in subme7 cavlc

18 years agoremove a division in macroblock-level bookkeeping
Jason Garrett-Glaser [Fri, 25 Apr 2008 07:47:47 +0000 (01:47 -0600)]
remove a division in macroblock-level bookkeeping

18 years agoomit P/B-skip mc from macroblock_encode if the pixels haven't been overwritten since...
Jason Garrett-Glaser [Fri, 25 Apr 2008 00:55:30 +0000 (18:55 -0600)]
omit P/B-skip mc from macroblock_encode if the pixels haven't been overwritten since probe_skip

18 years agoearlier termination in SEA if mvcost exceeds residual
Loren Merritt [Thu, 24 Apr 2008 11:17:04 +0000 (05:17 -0600)]
earlier termination in SEA if mvcost exceeds residual

18 years agoremove void* arithmetic from r821
Loren Merritt [Tue, 22 Apr 2008 10:00:24 +0000 (04:00 -0600)]
remove void* arithmetic from r821

18 years agoFix define of illegal function identifiers (as defined in section "7.1.3 Reserved...
Guillaume Poirier [Fri, 25 Apr 2008 09:29:09 +0000 (11:29 +0200)]
Fix define of illegal function identifiers (as defined in section "7.1.3 Reserved identiers" of C99 spec)

18 years agoFix define of illegal identifier (as defined in section "7.1.3 Reserved identiers...
Guillaume Poirier [Fri, 25 Apr 2008 08:50:48 +0000 (10:50 +0200)]
Fix define of illegal identifier (as defined in section "7.1.3 Reserved identiers" of C99 spec) "__UNUSED__", and use the one defined in common/osdep.h, i.e. "UNUSED"
based on a patch by Diego Biurrun

18 years agomore consistent include name (in line with other PPC includes)
Guillaume Poirier [Thu, 24 Apr 2008 12:46:11 +0000 (14:46 +0200)]
more consistent include name (in line with other PPC includes)

18 years agofix illegal identifiers in multiple inclusion guards
Guillaume Poirier [Thu, 24 Apr 2008 12:44:24 +0000 (14:44 +0200)]
fix illegal identifiers in multiple inclusion guards
patch by Diego Biurrun % diego A biurrun P de %

18 years agoAQ now treats perfectly flat blocks as low energy, rather than retaining previous...
Jason Garrett-Glaser [Tue, 22 Apr 2008 06:38:37 +0000 (00:38 -0600)]
AQ now treats perfectly flat blocks as low energy, rather than retaining previous block's QP.
fixes occasional blocking in fades.

18 years agocheckasm cabac
Loren Merritt [Sun, 20 Apr 2008 18:19:46 +0000 (12:19 -0600)]
checkasm cabac

18 years agos/movdqa/movaps/g
Loren Merritt [Sun, 20 Apr 2008 08:39:31 +0000 (02:39 -0600)]
s/movdqa/movaps/g

18 years ago--asm to allow testing of different versions of asm without recompile
Loren Merritt [Mon, 21 Apr 2008 00:25:53 +0000 (18:25 -0600)]
--asm to allow testing of different versions of asm without recompile

18 years agocopy left neighbor pixels directly from previous mb instead of main plane
Loren Merritt [Sat, 12 Apr 2008 07:40:28 +0000 (01:40 -0600)]
copy left neighbor pixels directly from previous mb instead of main plane

18 years agocacheline split workaround for mc_luma
Jason Garrett-Glaser [Wed, 9 Apr 2008 22:30:34 +0000 (16:30 -0600)]
cacheline split workaround for mc_luma

18 years agoadd "SECTION_RODATA" before "SECTION .text" to setup the fakegot label used in macho...
Guillaume Poirier [Wed, 16 Apr 2008 08:46:15 +0000 (10:46 +0200)]
add "SECTION_RODATA" before "SECTION .text" to setup the fakegot label used in macho binaries.
This fixes compilation with --enable-pic
Requires Yasm 0.7.0 or newer
Patch by Dave Lee % davelee P com A gmail P com %

18 years agomore hpel fixes
Loren Merritt [Sun, 13 Apr 2008 16:29:15 +0000 (10:29 -0600)]
more hpel fixes

18 years agoupdate msvc projectfile
Gabriel Bouvigne [Thu, 10 Apr 2008 14:59:19 +0000 (08:59 -0600)]
update msvc projectfile

18 years agor810 borked hpel_filter_sse2 on unaligned buffers
Loren Merritt [Sat, 12 Apr 2008 00:48:30 +0000 (18:48 -0600)]
r810 borked hpel_filter_sse2 on unaligned buffers

18 years agothreads=auto on multicore now implies thread input, just like explicit thread numbers...
Loren Merritt [Thu, 10 Apr 2008 09:17:53 +0000 (03:17 -0600)]
threads=auto on multicore now implies thread input, just like explicit thread numbers already did

18 years agodct4 sse2
Loren Merritt [Wed, 9 Apr 2008 02:16:50 +0000 (20:16 -0600)]
dct4 sse2

18 years agofaster x86_32 dct8
Loren Merritt [Tue, 8 Apr 2008 18:19:23 +0000 (12:19 -0600)]
faster x86_32 dct8

18 years agomacros to deal with macros that permute their arguments
Loren Merritt [Mon, 7 Apr 2008 16:22:03 +0000 (10:22 -0600)]
macros to deal with macros that permute their arguments

18 years agommx cachesplit sad of non-square sizes checked height instead of width
Loren Merritt [Mon, 7 Apr 2008 14:24:40 +0000 (08:24 -0600)]
mmx cachesplit sad of non-square sizes checked height instead of width

18 years agosfence after nontemporal stores
Loren Merritt [Fri, 4 Apr 2008 07:07:40 +0000 (01:07 -0600)]
sfence after nontemporal stores

18 years agosimplify hpel filter asm (move control flow to C) and add sse2, ssse3 versions
Loren Merritt [Wed, 2 Apr 2008 17:22:43 +0000 (11:22 -0600)]
simplify hpel filter asm (move control flow to C) and add sse2, ssse3 versions

18 years agomore mmx/xmm macros (mova, movu, movh)
Loren Merritt [Fri, 4 Apr 2008 02:46:36 +0000 (20:46 -0600)]
more mmx/xmm macros (mova, movu, movh)

18 years agoimprove handling of cavlc dct coef overflows
Jason Garrett-Glaser [Wed, 2 Apr 2008 11:06:02 +0000 (05:06 -0600)]
improve handling of cavlc dct coef overflows
support large coefs in high profile, and clip to allowed range in baseline/main

18 years agofix shared libs on MacOSX
Guillaume Poirier [Mon, 31 Mar 2008 08:50:45 +0000 (10:50 +0200)]
fix shared libs on MacOSX
based on a patch by İsmail Dönmez

18 years agotypo in r803
Loren Merritt [Mon, 31 Mar 2008 08:27:53 +0000 (02:27 -0600)]
typo in r803

18 years agofix a crash on mp4 muxing with invalid params
Loren Merritt [Mon, 31 Mar 2008 00:08:28 +0000 (18:08 -0600)]
fix a crash on mp4 muxing with invalid params

18 years agovariance-based psy adaptive quantization
Jason Garrett-Glaser [Sun, 30 Mar 2008 23:58:41 +0000 (17:58 -0600)]
variance-based psy adaptive quantization
new options: --aq-mode --aq-strength
AQ is enabled by default

18 years agofix naming of .dll on mingw
Zuxy Meng [Sun, 30 Mar 2008 00:04:23 +0000 (18:04 -0600)]
fix naming of .dll on mingw

18 years agodon't distinguish between mingw and cygwin
Loren Merritt [Sat, 29 Mar 2008 23:53:36 +0000 (17:53 -0600)]
don't distinguish between mingw and cygwin

18 years agoremove a memset
Jason Garrett-Glaser [Sat, 29 Mar 2008 22:27:54 +0000 (16:27 -0600)]
remove a memset

18 years agotypo. don't evaluate rd pskip when p16x16 found ref>0.
Loren Merritt [Sat, 29 Mar 2008 22:27:08 +0000 (16:27 -0600)]
typo. don't evaluate rd pskip when p16x16 found ref>0.

18 years agor784 borked lossless dc zigzag
Loren Merritt [Sun, 30 Mar 2008 02:42:51 +0000 (20:42 -0600)]
r784 borked lossless dc zigzag

18 years agofix an arithmetic overflow that disabled SEA threshold after finding a mv with SAD...
Loren Merritt [Tue, 25 Mar 2008 13:31:51 +0000 (07:31 -0600)]
fix an arithmetic overflow that disabled SEA threshold after finding a mv with SAD < mvcost.

18 years agofix hpel_filter_altivec picked up by checkasm
Guillaume Poirier [Tue, 25 Mar 2008 16:30:04 +0000 (16:30 +0000)]
fix hpel_filter_altivec picked up by checkasm
Patch by Manuel %maaanuuu A gmx.net % and Noboru Asai % noboru P asai A gmail P com %

18 years agofaster residual
Loren Merritt [Tue, 25 Mar 2008 06:59:50 +0000 (00:59 -0600)]
faster residual

18 years agonasm doesn't like align(nop) in structs
Loren Merritt [Tue, 25 Mar 2008 03:31:46 +0000 (21:31 -0600)]
nasm doesn't like align(nop) in structs

18 years agoreduce the size of some cabac arrays
Loren Merritt [Tue, 25 Mar 2008 01:25:19 +0000 (19:25 -0600)]
reduce the size of some cabac arrays

18 years agouse cabac context transition table from trellis in normal residual coding too
Jason Garrett-Glaser [Tue, 25 Mar 2008 01:21:24 +0000 (19:21 -0600)]
use cabac context transition table from trellis in normal residual coding too

18 years agorearrange cabac struct to reduce code size
Jason Garrett-Glaser [Tue, 25 Mar 2008 01:12:07 +0000 (19:12 -0600)]
rearrange cabac struct to reduce code size

18 years agohigher precision RD lambda
Jason Garrett-Glaser [Mon, 24 Mar 2008 09:25:25 +0000 (03:25 -0600)]
higher precision RD lambda
improves quality at QP<=12.

18 years agofaster cabac_encode_ue_bypass
Loren Merritt [Mon, 24 Mar 2008 07:56:31 +0000 (01:56 -0600)]
faster cabac_encode_ue_bypass

18 years agocabac asm.
Loren Merritt [Mon, 24 Mar 2008 04:14:18 +0000 (22:14 -0600)]
cabac asm.
mostly because gcc refuses to use cmov.
28% faster than c on core2, 11% on k8, 6% on p4.

18 years agocosmetics in cabac
Loren Merritt [Mon, 24 Mar 2008 04:08:07 +0000 (22:08 -0600)]
cosmetics in cabac

18 years agoinline cabac_size_decision
Loren Merritt [Sun, 23 Mar 2008 02:25:06 +0000 (20:25 -0600)]
inline cabac_size_decision

18 years agocosmetics in DECLARE_ALIGNED
Loren Merritt [Sat, 22 Mar 2008 09:25:03 +0000 (03:25 -0600)]
cosmetics in DECLARE_ALIGNED

18 years agodon't distinguish between luma4x4 and luma4x4ac
Loren Merritt [Sat, 22 Mar 2008 09:06:18 +0000 (03:06 -0600)]
don't distinguish between luma4x4 and luma4x4ac

18 years agofaster lossless zigzag
Loren Merritt [Sat, 22 Mar 2008 08:46:31 +0000 (02:46 -0600)]
faster lossless zigzag

18 years agomore alignment
Loren Merritt [Sat, 22 Mar 2008 09:14:33 +0000 (03:14 -0600)]
more alignment

18 years agoadd tesa and lossless to fprofile
Loren Merritt [Sat, 22 Mar 2008 07:49:52 +0000 (01:49 -0600)]
add tesa and lossless to fprofile

18 years agocosmetics in residual_write
Loren Merritt [Sat, 22 Mar 2008 07:46:43 +0000 (01:46 -0600)]
cosmetics in residual_write

18 years agoremove unused bitstream reader
Loren Merritt [Sat, 22 Mar 2008 05:24:33 +0000 (23:24 -0600)]
remove unused bitstream reader

18 years agocosmetics in quant asm
Loren Merritt [Sat, 22 Mar 2008 00:58:46 +0000 (18:58 -0600)]
cosmetics in quant asm

18 years agospecial case dequant for flat matrix
Loren Merritt [Sat, 22 Mar 2008 00:46:29 +0000 (18:46 -0600)]
special case dequant for flat matrix

18 years agofaster dequant
Loren Merritt [Fri, 21 Mar 2008 06:04:46 +0000 (00:04 -0600)]
faster dequant

18 years agosimplify hpel_filter_c
Loren Merritt [Fri, 21 Mar 2008 04:08:07 +0000 (22:08 -0600)]
simplify hpel_filter_c

18 years agouse x264_mc_copy_w16_sse2 in mc.copy, it was previously only in mc_luma
Loren Merritt [Fri, 21 Mar 2008 01:35:54 +0000 (19:35 -0600)]
use x264_mc_copy_w16_sse2 in mc.copy, it was previously only in mc_luma

18 years agonew ssd_8x*_sse2
Loren Merritt [Thu, 20 Mar 2008 20:00:08 +0000 (14:00 -0600)]
new ssd_8x*_sse2
align ssd_16x*_sse2
unroll ssd_4x*_mmx

18 years agoupdate altivec zigzags
Manuel [Thu, 20 Mar 2008 19:21:16 +0000 (13:21 -0600)]
update altivec zigzags

18 years agor768 borked cavlc
Loren Merritt [Thu, 20 Mar 2008 16:41:50 +0000 (10:41 -0600)]
r768 borked cavlc

18 years agocosmetics in intra predict
Loren Merritt [Thu, 20 Mar 2008 06:52:11 +0000 (00:52 -0600)]
cosmetics in intra predict

18 years agofaster intra predict 8x8 hu/hd
Jason Garrett-Glaser [Thu, 20 Mar 2008 06:31:42 +0000 (00:31 -0600)]
faster intra predict 8x8 hu/hd

18 years agoreduce zigzag arrays from int to int16_t
Loren Merritt [Thu, 20 Mar 2008 05:43:19 +0000 (23:43 -0600)]
reduce zigzag arrays from int to int16_t

18 years agoreduce the size of some arrays
Loren Merritt [Thu, 20 Mar 2008 05:42:20 +0000 (23:42 -0600)]
reduce the size of some arrays

18 years agoskip intra pred+dct+quant in cases where it's redundant (analyse vs encode)
Jason Garrett-Glaser [Wed, 19 Mar 2008 21:01:05 +0000 (15:01 -0600)]
skip intra pred+dct+quant in cases where it's redundant (analyse vs encode)
large speedup with trellis=2, small speedup with trellis=0 and/or subme>=6

18 years agocosmetics in asm
Loren Merritt [Wed, 19 Mar 2008 20:03:34 +0000 (14:03 -0600)]
cosmetics in asm