]> git.sesse.net Git - x264/log
x264
13 years agoMMX high bit depth coeff_last4
Joe Cortes [Sat, 25 Dec 2010 03:33:57 +0000 (21:33 -0600)]
MMX high bit depth coeff_last4

Patch from Google Code-In.

13 years agoSSE2 high bit depth zigzag_interleave_cavlc
Daniel Kang [Thu, 23 Dec 2010 17:15:03 +0000 (12:15 -0500)]
SSE2 high bit depth zigzag_interleave_cavlc

Patch from Google Code-In.

13 years agoMMX/SSE2/SSSE3 high bit depth frame_init_lowres functions
Daniel Kang [Wed, 22 Dec 2010 22:53:08 +0000 (17:53 -0500)]
MMX/SSE2/SSSE3 high bit depth frame_init_lowres functions

Patch from Google Code-In.

13 years agoMMX high bit depth 4x4 intra predict functions
Daniel Kang [Fri, 24 Dec 2010 04:19:39 +0000 (23:19 -0500)]
MMX high bit depth 4x4 intra predict functions
DDR and HD directions, as well as making HU faster.
Also enable some SSE2 versions of high bit depth functions that were added but not properly enabled.

Patch from Google Code-In.

13 years agoSSE2 high bit depth 8x8 intra predict functions
Daniel Kang [Wed, 22 Dec 2010 21:51:22 +0000 (16:51 -0500)]
SSE2 high bit depth 8x8 intra predict functions
DDL, DDR, VR, HU, and HD directions, as well as the 8x8 filter.
Also make 8-bit MMX VR faster, by backporting the optimizations from the high bit depth version.

Patch from Google Code-In.

13 years agoMMX/SSE2 high bit depth 8x8c intra predict functions
George Stephanos [Wed, 22 Dec 2010 20:44:03 +0000 (15:44 -0500)]
MMX/SSE2 high bit depth 8x8c intra predict functions

Patch from Google Code-In.

13 years agoMMX version of high bit depth plane_copy
Daniel Kang [Sun, 19 Dec 2010 21:31:59 +0000 (16:31 -0500)]
MMX version of high bit depth plane_copy
And various cosmetics.

Patch from Google Code-In

13 years agoFaster x86 predict_8x8c_dc, MMX/SSE2 high bit depth versions
Fiona Glaser [Sat, 18 Dec 2010 20:40:13 +0000 (12:40 -0800)]
Faster x86 predict_8x8c_dc, MMX/SSE2 high bit depth versions

13 years agoSSSE3 high bit depth sad_aligned functions
Fiona Glaser [Sat, 18 Dec 2010 13:40:49 +0000 (05:40 -0800)]
SSSE3 high bit depth sad_aligned functions

13 years agoMMX/SSE2 high bit depth interleave functions
Daniel Kang [Thu, 16 Dec 2010 12:41:17 +0000 (04:41 -0800)]
MMX/SSE2 high bit depth interleave functions

Patch from Google Code-In.

13 years agoMMX/SSE2 high bit depth avg functions
Joey Geralnik [Wed, 15 Dec 2010 07:14:56 +0000 (09:14 +0200)]
MMX/SSE2 high bit depth avg functions

Patch from Google Code-In.

13 years agoMMX/SSE2 high bit depth deinterleave functions
Daniel Kang [Wed, 15 Dec 2010 03:47:51 +0000 (22:47 -0500)]
MMX/SSE2 high bit depth deinterleave functions

Patch from Google Code-In

13 years agoShut up some incorrect gcc uninitialized variable warnings
Fiona Glaser [Thu, 6 Jan 2011 04:29:36 +0000 (23:29 -0500)]
Shut up some incorrect gcc uninitialized variable warnings

13 years agoWrite --crop-rect and --frame-packing options to x264 SEI
Anton Mitrofanov [Fri, 24 Dec 2010 21:55:14 +0000 (00:55 +0300)]
Write --crop-rect and --frame-packing options to x264 SEI

13 years agoAdd missing space to parameter SEI
Fiona Glaser [Wed, 15 Dec 2010 21:00:14 +0000 (13:00 -0800)]
Add missing space to parameter SEI

13 years agoFix typo in documentation
Kieran Kunhya [Tue, 28 Dec 2010 00:54:28 +0000 (00:54 +0000)]
Fix typo in documentation

13 years agoFix redundant linebreaks in statsfile with weightp
Anton Mitrofanov [Sat, 18 Dec 2010 16:29:18 +0000 (08:29 -0800)]
Fix redundant linebreaks in statsfile with weightp

13 years agoUse cross_prefix for strings in endian test and as test
Ramiro Polla [Wed, 15 Dec 2010 16:35:02 +0000 (14:35 -0200)]
Use cross_prefix for strings in endian test and as test

13 years agoFix checkasm test for quant in high bit depth
Anton Mitrofanov [Sun, 2 Jan 2011 19:36:53 +0000 (14:36 -0500)]
Fix checkasm test for quant in high bit depth
Eliminate some spurious failures.

13 years agoFix broken YV12 handling in the resize filter
Steven Walters [Fri, 31 Dec 2010 01:35:10 +0000 (20:35 -0500)]
Fix broken YV12 handling in the resize filter

13 years agoFix bug with negative lookahead mb costs in high bit depth
Fiona Glaser [Thu, 6 Jan 2011 03:21:18 +0000 (22:21 -0500)]
Fix bug with negative lookahead mb costs in high bit depth

13 years agoFix overflow in SSIM calculation in 10-bit
Daniel Kang [Tue, 4 Jan 2011 19:33:05 +0000 (14:33 -0500)]
Fix overflow in SSIM calculation in 10-bit

13 years agoFix some possible overflows in VFR ratecontrol with extreme timebases
Anton Mitrofanov [Fri, 24 Dec 2010 19:52:57 +0000 (14:52 -0500)]
Fix some possible overflows in VFR ratecontrol with extreme timebases

13 years agoFix memory leak in lavf demuxer.
Steven Walters [Sun, 9 Jan 2011 21:01:04 +0000 (16:01 -0500)]
Fix memory leak in lavf demuxer.
Leak only occurred with input files that have more than one video stream.

13 years agoFix satd predictors with high bit depth
Fiona Glaser [Fri, 24 Dec 2010 22:28:42 +0000 (17:28 -0500)]
Fix satd predictors with high bit depth
Resulted in odd CRF-mode results with --no-mbtree, as well as suboptimal VBV handling.

13 years agoFix compile error with high bit depth and disable-asm
Daniel Kang [Sat, 8 Jan 2011 04:05:50 +0000 (23:05 -0500)]
Fix compile error with high bit depth and disable-asm

13 years agoReally fix gcc win32 misalignment crash
Fiona Glaser [Sat, 18 Dec 2010 16:22:34 +0000 (08:22 -0800)]
Really fix gcc win32 misalignment crash
gcc's -fno-zero-initialized-in-bss only works if an explicit initializer (e.g. = {0}) is used.

13 years agoSupport for native Windows threads
Steven Walters [Sun, 12 Dec 2010 01:30:29 +0000 (20:30 -0500)]
Support for native Windows threads

Patch originally by Pegasys Inc.

13 years agoMMX/SSE2 high bit depth weight_cache/offset(sub|add) functions
Daniel Kang [Mon, 13 Dec 2010 22:15:12 +0000 (17:15 -0500)]
MMX/SSE2 high bit depth weight_cache/offset(sub|add) functions

Patch from Google Code-In.

13 years agoSSE2 high bit depth dequant functions
Daniel Kang [Wed, 8 Dec 2010 22:56:22 +0000 (17:56 -0500)]
SSE2 high bit depth dequant functions

Patch from Google Code-In.

13 years agoSSE2 high bit depth zigzag functions
Daniel Kang [Wed, 8 Dec 2010 03:48:15 +0000 (22:48 -0500)]
SSE2 high bit depth zigzag functions

Patch from Google Code-In.

13 years agoMMX/SSE2 versions of high bit depth store_interleave
Daniel Alexandru Morie [Tue, 7 Dec 2010 14:11:02 +0000 (06:11 -0800)]
MMX/SSE2 versions of high bit depth store_interleave

Patch from Google Code-In.

13 years agoAdd frame-packing SEI support for signalling 3D video
Vittorio Giovara [Sat, 11 Dec 2010 04:43:00 +0000 (20:43 -0800)]
Add frame-packing SEI support for signalling 3D video

13 years agoAllow 8x8dct+cavlc+lossless with subme>=6
Fiona Glaser [Sat, 11 Dec 2010 11:48:59 +0000 (03:48 -0800)]
Allow 8x8dct+cavlc+lossless with subme>=6

13 years agoAdd interlaced/no-interlaced case to regression test script
Yasuhiro Ikeda [Thu, 9 Dec 2010 03:00:24 +0000 (12:00 +0900)]
Add interlaced/no-interlaced case to regression test script

13 years agoSave more memory with weightp in >8-bit
Yasuhiro Ikeda [Thu, 9 Dec 2010 02:59:49 +0000 (11:59 +0900)]
Save more memory with weightp in >8-bit

13 years ago.gitignore more untracked file types
Yasuhiro Ikeda [Thu, 9 Dec 2010 02:57:38 +0000 (11:57 +0900)]
.gitignore more untracked file types

13 years agoWork around gcc/ld alignment bug on win32
Anton Mitrofanov [Tue, 7 Dec 2010 14:49:21 +0000 (17:49 +0300)]
Work around gcc/ld alignment bug on win32
Fixes problems due to misalignment of static zero arrays (win32 ld can't align .bss properly).

13 years agoFix high bit depth intra pred functions
Daniel Kang [Tue, 7 Dec 2010 20:19:46 +0000 (15:19 -0500)]
Fix high bit depth intra pred functions
And re-enable them accordingly.

Patch from Google Code-In.

13 years agoFix weightp analysis with high bit depth
Fiona Glaser [Sat, 11 Dec 2010 21:37:09 +0000 (13:37 -0800)]
Fix weightp analysis with high bit depth

13 years agoFix build error in high depth
Oskar Arvidsson [Thu, 9 Dec 2010 11:19:57 +0000 (12:19 +0100)]
Fix build error in high depth
Caused by multiple definitions of x264_add8x8_idct_sse2.

13 years agoHotfix for high bit depth
Fiona Glaser [Tue, 7 Dec 2010 11:15:46 +0000 (03:15 -0800)]
Hotfix for high bit depth
Temporary fix for some unaligned access crashes.

13 years agoDelete x264_config.h on distclean
Anton Mitrofanov [Tue, 7 Dec 2010 10:44:55 +0000 (13:44 +0300)]
Delete x264_config.h on distclean

13 years agoTons of high bit depth intra predict asm
Daniel Kang [Fri, 26 Nov 2010 00:44:56 +0000 (19:44 -0500)]
Tons of high bit depth intra predict asm

Patch from Google Code-In.

13 years agoSSE2 high bit depth 8x8/16x16 idct/idct_dc
David Czech [Sun, 28 Nov 2010 01:34:32 +0000 (17:34 -0800)]
SSE2 high bit depth 8x8/16x16 idct/idct_dc

Patch from Google Code-In.

13 years agoCreate and install x264_config.h
Ramiro Polla [Tue, 30 Nov 2010 04:17:23 +0000 (02:17 -0200)]
Create and install x264_config.h
This header can be used to determine the bit-depth and license of libx264.

13 years agoDetect Avisynth initialization failures
Steven Walters [Thu, 14 Oct 2010 01:53:50 +0000 (21:53 -0400)]
Detect Avisynth initialization failures
Detect if there is a critical Avisynth initialization failure and print the associated error.
This, however, requires a feature present in the latest version of Avisynth alpha (2.6).
Previous versions are unaffected.

13 years agoAutomatically restrict QPs to avoid quantization (under|over)flow
Fiona Glaser [Fri, 26 Nov 2010 06:12:07 +0000 (22:12 -0800)]
Automatically restrict QPs to avoid quantization (under|over)flow
--cqm jvt and similar should now work "out of the box" instead of requiring futzing with --qpmin.

13 years agoDon't try to get timecodes if reading frame failed
Anton Mitrofanov [Sat, 4 Dec 2010 20:29:08 +0000 (23:29 +0300)]
Don't try to get timecodes if reading frame failed
This fixes "input timecode file missing data for frame" warning with piped input where we don't know total number of frames.

13 years agoFix possible overflow in sub4x4_dct in 10-bit builds
Oskar Arvidsson [Thu, 25 Nov 2010 22:05:21 +0000 (23:05 +0100)]
Fix possible overflow in sub4x4_dct in 10-bit builds

13 years agoFix bug in intra-refresh + threads
Fiona Glaser [Mon, 6 Dec 2010 22:19:09 +0000 (14:19 -0800)]
Fix bug in intra-refresh + threads
Intra refresh bar quality increase wasn't correctly applied.

13 years agoFix file handle leak in libx264 on error
Fiona Glaser [Mon, 6 Dec 2010 20:00:13 +0000 (12:00 -0800)]
Fix file handle leak in libx264 on error

13 years agoFix incompatible csp format issue
Steven Walters [Sun, 10 Oct 2010 22:17:35 +0000 (18:17 -0400)]
Fix incompatible csp format issue
Problem occurred with unknown pixel formats and non mod2 resolutions in the resize filter.

13 years agoReally fix fittobox resize rounding code
Anton Mitrofanov [Sat, 27 Nov 2010 23:54:39 +0000 (15:54 -0800)]
Really fix fittobox resize rounding code

13 years agoFix regression in rev1549
Yusuke Nakamura [Sun, 5 Dec 2010 00:31:01 +0000 (09:31 +0900)]
Fix regression in rev1549
Skip auto timebase denominator generation when generated timebase denominator exceeds UINT32_MAX.
Also fix double free.

13 years agoFix --tcfile-in if timecode v2 file starts from nonzero pts
Anton Mitrofanov [Sat, 27 Nov 2010 22:05:02 +0000 (01:05 +0300)]
Fix --tcfile-in if timecode v2 file starts from nonzero pts

13 years agoSPARC/Solaris build fixes
Sean McGovern [Sat, 4 Dec 2010 06:30:51 +0000 (22:30 -0800)]
SPARC/Solaris build fixes

13 years agoFix typo in r1797
Fiona Glaser [Fri, 26 Nov 2010 00:47:29 +0000 (16:47 -0800)]
Fix typo in r1797

13 years agoAdd Python regression test script
Tony Young [Thu, 25 Nov 2010 00:58:38 +0000 (16:58 -0800)]
Add Python regression test script

Patch from Google Code-In.

13 years agoMake --weightp 1 a better speed tradeoff
Alex Wright [Wed, 24 Nov 2010 10:19:51 +0000 (02:19 -0800)]
Make --weightp 1 a better speed tradeoff
Since fade analysis is now so fast, weightp 1 now does fade analysis but no reference duplication.
This is the opposite of what it used to do (reference duplication but no fade analysis).
This also gives weightp's better fade quality to faster presets (up to superfast).

13 years agoSSE versions of some high-bit-depth DCT functions
Daniel Kang [Wed, 24 Nov 2010 01:29:37 +0000 (20:29 -0500)]
SSE versions of some high-bit-depth DCT functions
Our first Google Code-In patch!

13 years agoClean up weightp analysis function
Anton Mitrofanov [Tue, 23 Nov 2010 20:06:51 +0000 (23:06 +0300)]
Clean up weightp analysis function

13 years agoAdd API function to return max number of delayed frames
Fiona Glaser [Sat, 20 Nov 2010 00:58:38 +0000 (16:58 -0800)]
Add API function to return max number of delayed frames

13 years agoCopy field order flag in encoder_reconfig
Fiona Glaser [Thu, 25 Nov 2010 21:01:33 +0000 (13:01 -0800)]
Copy field order flag in encoder_reconfig

13 years agoCosmetics in configure
Yasuhiro Ikeda [Wed, 24 Nov 2010 14:09:54 +0000 (23:09 +0900)]
Cosmetics in configure

13 years agoAdd some more info to `x264 --version`
Yasuhiro Ikeda [Mon, 22 Nov 2010 02:01:57 +0000 (11:01 +0900)]
Add some more info to `x264 --version`

13 years agoChange qpmin default to 0
Fiona Glaser [Sun, 21 Nov 2010 07:30:42 +0000 (23:30 -0800)]
Change qpmin default to 0
There's probably no real reason to keep it at 10 anymore, and lowering it allows AQ to pick lower quantizers in really flat areas.
Might help on gradients at high quality levels.
The previous value of 10 was arbitrary anyways.

13 years agoFix ticks_per_frame check for VFR input
Fiona Glaser [Thu, 25 Nov 2010 21:01:16 +0000 (13:01 -0800)]
Fix ticks_per_frame check for VFR input

13 years agoFix configure so that boolean configuration options are 1/0
Steven Walters [Mon, 22 Nov 2010 01:31:05 +0000 (10:31 +0900)]
Fix configure so that boolean configuration options are 1/0

There are many cases of 1/undef, not 1/0.

13 years agoOnly build SPARC VIS asm if high bit-depth is disabled
Sean McGovern [Sun, 21 Nov 2010 06:59:33 +0000 (01:59 -0500)]
Only build SPARC VIS asm if high bit-depth is disabled

13 years agoFix build on SPARC Solaris 10
Sean McGovern [Sun, 10 Oct 2010 23:34:18 +0000 (19:34 -0400)]
Fix build on SPARC Solaris 10

13 years agoFix resize filter rounding code
James Darnley [Sun, 21 Nov 2010 09:50:48 +0000 (10:50 +0100)]
Fix resize filter rounding code

13 years agoFix regression in chroma weightp
Anton Mitrofanov [Mon, 22 Nov 2010 14:17:36 +0000 (17:17 +0300)]
Fix regression in chroma weightp
Missing cache calls could cause artifacts, encoder/decoder desync.

13 years agoFix some crashes with high bit depth
Fiona Glaser [Fri, 19 Nov 2010 23:40:23 +0000 (15:40 -0800)]
Fix some crashes with high bit depth
Not all arrays were sufficiently aligned.

13 years agoChroma weighted prediction
Fiona Glaser [Sun, 14 Nov 2010 11:34:26 +0000 (03:34 -0800)]
Chroma weighted prediction
Like luma weighted prediction, dramatically improves compression in fades.
Up to 4-8db chroma PSNR gain in extreme cases (short, perfect fade-outs).
On actual videos, helps up to ~1% overall.
One example video with a decent number of fades (ef OP): 0.8% bitrate reduction overall, 7% bitrate reduction just counting chroma.
Fixes a lot of artifacts in fades at lower bitrates.

Original patch by Dylan Yudaken <dyudaken@gmail.com>.

13 years agoSupport custom cropping rectangles
Fiona Glaser [Thu, 18 Nov 2010 16:51:27 +0000 (08:51 -0800)]
Support custom cropping rectangles
Supposedly useful for 3D television applications.

13 years agoConvert X264_HIGH_BIT_DEPTH to HIGH_BIT_DEPTH
Oskar Arvidsson [Sun, 14 Nov 2010 15:46:01 +0000 (16:46 +0100)]
Convert X264_HIGH_BIT_DEPTH to HIGH_BIT_DEPTH
Less verbose.

13 years agox86 asm for high-bit-depth pixel metrics
Oskar Arvidsson [Sat, 30 Oct 2010 18:16:33 +0000 (20:16 +0200)]
x86 asm for high-bit-depth pixel metrics
Overall speed change from these 6 asm patches: ~4.4x.
But there's still tons more asm to do -- patches welcome!

Breakdown from this patch:
~13x faster SAD than C.
~11.5x faster SATD than C (only MMX done).
~18.5x faster SA8D than C.
~19.2x faster hadamard_ac than C.
~8.3x faster SSD than C.
~12.4x faster VAR than C.
~3-4.2x faster intra SAD than C.
~7.9x faster intra SATD than C.

13 years agox86 asm for some high-bit-depth coefficient functions
Fiona Glaser [Sun, 31 Oct 2010 02:13:05 +0000 (19:13 -0700)]
x86 asm for some high-bit-depth coefficient functions
~7.9x faster denoise than C.
~2.3x faster coeff_level_run than C.
~6.6x faster coeff_last than C.
~4.3x faster decimate_score than C.

Also improve checkasm's decimate_score test.

13 years agox86 asm for high-bit-depth motion compensation
Oskar Arvidsson [Sun, 14 Nov 2010 02:33:30 +0000 (03:33 +0100)]
x86 asm for high-bit-depth motion compensation
~8x faster qpel MC than C.
~10x faster hpel than C.

13 years agox86 asm for high-bit-depth quant
Oskar Arvidsson [Thu, 4 Nov 2010 01:13:43 +0000 (02:13 +0100)]
x86 asm for high-bit-depth quant
~3.1-4.2x faster than C.

13 years agox86 asm for high-bit-depth DCT
Oskar Arvidsson [Sat, 30 Oct 2010 14:55:48 +0000 (16:55 +0200)]
x86 asm for high-bit-depth DCT
Only MMX and DCT done so far; iDCT still needs asm as well.
~4.4x faster than C.

13 years agox86 asm for high-bit-depth deblocking
Oskar Arvidsson [Sat, 30 Oct 2010 09:42:52 +0000 (11:42 +0200)]
x86 asm for high-bit-depth deblocking
~3.3x faster than C.

13 years agoUse a 16-bit buffer in hpel_filter regardless of bit depth
Oskar Arvidsson [Sat, 13 Nov 2010 13:42:54 +0000 (14:42 +0100)]
Use a 16-bit buffer in hpel_filter regardless of bit depth
This only works up to and including 10-bit (but we don't support anything higher yet).

13 years agoUse enums instead of magic numbers in x264_mb_partition_pixel_table
Henrik Gramner [Tue, 16 Nov 2010 20:23:12 +0000 (21:23 +0100)]
Use enums instead of magic numbers in x264_mb_partition_pixel_table

13 years agoImprove configure script logging
Karl Blomster [Sun, 14 Nov 2010 11:41:03 +0000 (03:41 -0800)]
Improve configure script logging
Now prints the test program that failed in addition to error messages.

13 years agoFix constrained intra pred mode selection
Anton Mitrofanov [Wed, 17 Nov 2010 15:27:09 +0000 (07:27 -0800)]
Fix constrained intra pred mode selection

13 years agoVarious high-bit-depth ratecontrol fixes
Anton Mitrofanov [Tue, 16 Nov 2010 23:46:30 +0000 (02:46 +0300)]
Various high-bit-depth ratecontrol fixes

13 years agoFix a crash in --dump-yuv for odd resolutions
Loren Merritt [Sun, 14 Nov 2010 10:54:02 +0000 (02:54 -0800)]
Fix a crash in --dump-yuv for odd resolutions

13 years agoImprove flash detection algorithm change in r1765
Anton Mitrofanov [Wed, 10 Nov 2010 22:40:52 +0000 (01:40 +0300)]
Improve flash detection algorithm change in r1765
Now only disables scenecuts only near real end of video, not just prior to forced keyframes.

13 years agoUpdate ffms2 support for its latest API break.
Steven Walters [Wed, 10 Nov 2010 12:21:41 +0000 (07:21 -0500)]
Update ffms2 support for its latest API break.

13 years agoModify the x264 header accordingly if --disable-gpl is used
Fiona Glaser [Fri, 12 Nov 2010 02:19:22 +0000 (18:19 -0800)]
Modify the x264 header accordingly if --disable-gpl is used

13 years agoSave a bit of memory with weightp + high bit depth
Fiona Glaser [Fri, 12 Nov 2010 06:25:31 +0000 (22:25 -0800)]
Save a bit of memory with weightp + high bit depth

13 years agoFix bugs in qpfile parsing with omitted QPs
Fiona Glaser [Sat, 13 Nov 2010 12:38:44 +0000 (04:38 -0800)]
Fix bugs in qpfile parsing with omitted QPs

13 years agoFix HRD with intra-refresh
Kieran Kunhya [Fri, 12 Nov 2010 21:53:28 +0000 (21:53 +0000)]
Fix HRD with intra-refresh
x264 was incorrectly calculating cpb_removal_delay with respect to the first keyframe.
It should have been calculating cpb_removal_delay with respect to the last keyframe.

13 years agoFix bug in r1753
Anton Mitrofanov [Wed, 10 Nov 2010 15:34:40 +0000 (07:34 -0800)]
Fix bug in r1753
Overflow compensation fix broke CRF with --no-mbtree.

13 years agoImprove flash detection's behavior near the end of the video
Fiona Glaser [Sun, 7 Nov 2010 00:47:27 +0000 (17:47 -0700)]
Improve flash detection's behavior near the end of the video
Flash detection catches situations like AAAABBCCDDDD, where A,B,C,D are frames in different scenes.
x264 would place a keyframe on the first "D".
However, if the video ended on the last "C", x264 would place a keyframe on the first "C", even though C classifies as a flash.
This change fixes this issue.

13 years agoImprove quantizer handling
Fiona Glaser [Sun, 31 Oct 2010 22:51:48 +0000 (15:51 -0700)]
Improve quantizer handling
The default value for i_qpplus1 in x264_picture_t is now X264_QP_AUTO.  This is currently 0, but may change in the future.
qpfiles no longer use -1 to indicate "auto"; QP is just omitted.  The old method should still work though.

CRF values now make sense in high bit depth mode.
--qp should be used for lossless mode, not --crf.
--crf 0 will still work as expected in 8-bit mode, but won't be lossless with higher bit depths.
Add bit depth to statsfiles.

These changes are required to make the QP interface sensible in combination with high bit depth.

13 years agoVFR-aware PSNR/SSIM measurement
Fiona Glaser [Thu, 4 Nov 2010 06:17:08 +0000 (23:17 -0700)]
VFR-aware PSNR/SSIM measurement
First step to VFR-aware MB-tree and bit allocation.

13 years agoDisable weightp offset=-1 dupes with high bit depth
Fiona Glaser [Mon, 1 Nov 2010 22:08:03 +0000 (15:08 -0700)]
Disable weightp offset=-1 dupes with high bit depth
They're a hack to compensate for crappy rounding, and thus not worth doing at high bit depth, which fixes most of the rounding issues.