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

13 years agoMake the ffmpeg -vpre error message more descriptive
Fiona Glaser [Mon, 8 Nov 2010 01:27:38 +0000 (17:27 -0800)]
Make the ffmpeg -vpre error message more descriptive

13 years agoAdd numeric names for the presets (0==ultrafast ... 9==placebo)
Loren Merritt [Sat, 30 Oct 2010 21:39:50 +0000 (14:39 -0700)]
Add numeric names for the presets (0==ultrafast ... 9==placebo)
This mapping will of course change if new presets are added in between, but will always be ordered from fastest to slowest.

13 years agoUpdate benchmarks in doc/threads.txt
Fiona Glaser [Wed, 13 Oct 2010 13:07:14 +0000 (06:07 -0700)]
Update benchmarks in doc/threads.txt

13 years agoMake the #if'd out naive ESA actually match the real implementation
Loren Merritt [Thu, 28 Oct 2010 20:29:42 +0000 (13:29 -0700)]
Make the #if'd out naive ESA actually match the real implementation

13 years agoMove mv/ref prefetch code to the correct location
Fiona Glaser [Tue, 2 Nov 2010 02:19:23 +0000 (19:19 -0700)]
Move mv/ref prefetch code to the correct location
Prefetching of top blocks should be done under if(top), not if(left).

13 years agoLink x264cli explicitly against lavf
Reinhard Tartler [Wed, 10 Nov 2010 07:57:12 +0000 (23:57 -0800)]
Link x264cli explicitly against lavf
Fixes some problems with crappy linkers.

13 years agoFix CBR ratecontrol bug with extremely high qscales
Fiona Glaser [Tue, 9 Nov 2010 06:14:58 +0000 (22:14 -0800)]
Fix CBR ratecontrol bug with extremely high qscales
Caused CBR ratecontrol to take a very long time to recover from extreme situations (e.g. /dev/urandom).

13 years agoDisable overflow compensation in CRF mode
Fiona Glaser [Tue, 9 Nov 2010 05:03:01 +0000 (21:03 -0800)]
Disable overflow compensation in CRF mode
Wasn't designed with CRF in mind, and acts really weird with CRF+VBV.

13 years agoFix stupid bug in B-frame VBV size prediction
Fiona Glaser [Tue, 9 Nov 2010 03:56:29 +0000 (19:56 -0800)]
Fix stupid bug in B-frame VBV size prediction

13 years agoFix regression in checkasm in r1666
Oskar Arvidsson [Fri, 29 Oct 2010 11:13:25 +0000 (13:13 +0200)]
Fix regression in checkasm in r1666
Buffer is uint16_t* regardless of whether x264 was compiled with high bit depth or not.

13 years agoFix overflows in satd, sa8d and hadamard_ac with high bit depth
Oskar Arvidsson [Fri, 29 Oct 2010 11:11:09 +0000 (13:11 +0200)]
Fix overflows in satd, sa8d and hadamard_ac with high bit depth

13 years agoFix potential problem with overflows in ssd_nv12
Oskar Arvidsson [Fri, 29 Oct 2010 10:34:42 +0000 (12:34 +0200)]
Fix potential problem with overflows in ssd_nv12
The risk of overflows increases exponentially with the bit depth.
The 8-bit asm versions may still overflow with image widths >= 11008 (or 6604 if interlaced).

13 years agoFix syntax for some parameterless functions
Fiona Glaser [Sat, 30 Oct 2010 21:36:01 +0000 (14:36 -0700)]
Fix syntax for some parameterless functions
Technically, such functions should be declared with (void), not ().

13 years agoFix fps reporting on mingw64
Steven Walters [Sat, 30 Oct 2010 20:51:01 +0000 (16:51 -0400)]
Fix fps reporting on mingw64
_ftime on mingw64 uses __timeb32 which is broken.
Use ftime instead.

13 years agoFix compilation on PPC with some recent GCCs
Manuel Rommel [Sun, 31 Oct 2010 18:19:10 +0000 (19:19 +0100)]
Fix compilation on PPC with some recent GCCs

13 years agoFix Altivec SATD with small strides
Manuel Rommel [Mon, 11 Oct 2010 20:50:09 +0000 (13:50 -0700)]
Fix Altivec SATD with small strides
Fixes chroma ME and some of lookahead on PPC.

13 years agoAddress remaining cacheline split issues in avg2
Holger Lubitz [Sun, 3 Oct 2010 17:07:00 +0000 (19:07 +0200)]
Address remaining cacheline split issues in avg2
Slightly improved performance on core 2.
Also fix profiling misattribution of w8/16/20 mmxext cacheline loops.

13 years agoTrim a few bytes off some x86 intra pred functions
Fiona Glaser [Thu, 30 Sep 2010 00:56:27 +0000 (18:56 -0600)]
Trim a few bytes off some x86 intra pred functions

13 years agoMove DTS compression from libx264 to x264cli
Yusuke Nakamura [Thu, 30 Sep 2010 15:37:39 +0000 (00:37 +0900)]
Move DTS compression from libx264 to x264cli
DTS compression is an ugly stupid hack and starting to encroach on unrelated areas like VBV.
Some people want it in the mp4 muxer for devices and/or splitters that don't support Edit Boxes.
We just say "throw these broken devices out the window".
DTS compression will remain as a muxer option, --dts-compress, at the user's own risk.
This option is disabled by default.

13 years agoUse a larger pic_init_qp with high bit depth
Fiona Glaser [Fri, 1 Oct 2010 05:24:51 +0000 (22:24 -0700)]
Use a larger pic_init_qp with high bit depth
Modify pic_init_qs for consistency.

13 years agoUpdate some of the information in doc/
Fiona Glaser [Sun, 3 Oct 2010 06:56:52 +0000 (23:56 -0700)]
Update some of the information in doc/

13 years agoUpdate header in depth.c
Fiona Glaser [Wed, 29 Sep 2010 00:48:00 +0000 (17:48 -0700)]
Update header in depth.c

13 years agoRemove some old unused stuff in the build tree
Fiona Glaser [Sun, 3 Oct 2010 06:12:41 +0000 (23:12 -0700)]
Remove some old unused stuff in the build tree
Regression test (hasn't been updated since svn).
Doxy (was never used).

13 years agoVarious cosmetics
Anton Mitrofanov [Wed, 29 Sep 2010 07:19:06 +0000 (00:19 -0700)]
Various cosmetics
Exorcise some CamelCase.

13 years agoAdd missing mod4 stack check to sse2_misalign mc_chroma
Fiona Glaser [Sun, 10 Oct 2010 11:39:36 +0000 (04:39 -0700)]
Add missing mod4 stack check to sse2_misalign mc_chroma
Required for ICC compilation.

13 years agoFix 2pass ratecontrol with --nal-hrd cbr
Anton Mitrofanov [Fri, 8 Oct 2010 14:08:23 +0000 (18:08 +0400)]
Fix 2pass ratecontrol with --nal-hrd cbr

13 years agoFix minor bug in intra pred with intra refresh
Fiona Glaser [Mon, 4 Oct 2010 20:33:23 +0000 (13:33 -0700)]
Fix minor bug in intra pred with intra refresh
i8x8 blocks didn't properly avoid predicting from top-right when necessary.
This could cause intra refresh to not completely refresh the frame.

13 years agoFix filter parsing with --extra-cflags="-DNDEBUG"
Anton Mitrofanov [Wed, 29 Sep 2010 18:06:27 +0000 (22:06 +0400)]
Fix filter parsing with --extra-cflags="-DNDEBUG"

13 years agoMake sigint handler variable volatile
Fiona Glaser [Wed, 29 Sep 2010 07:15:14 +0000 (00:15 -0700)]
Make sigint handler variable volatile
Didn't actually cause any problems, but is necessary because it can be modified by another thread (the signal call).

13 years agoAdd High 10 Intra profile support (AVC-Intra)
Fiona Glaser [Mon, 27 Sep 2010 04:04:30 +0000 (21:04 -0700)]
Add High 10 Intra profile support (AVC-Intra)
x264 should now be able to encode compliant AVC-Intra 50.
With a 10-bit-compiled version of x264, a sample commandline for 1080i25 might be:
--interlaced --keyint 1 --vbv-bufsize 2000 --bitrate 50000 --vbv-maxrate 50000 --nal-hrd cbr

Also print "Constrained Baseline" for baseline profile, since that's all x264 (and everything else in the world) supports.
Also reorganize parameter validation a bit to reduce some spurious warnings.

13 years agoFinish support for high-depth video throughout x264
Oskar Arvidsson [Mon, 27 Sep 2010 14:02:20 +0000 (16:02 +0200)]
Finish support for high-depth video throughout x264
Add support for high depth input in libx264.
Add support for 16-bit colorspaces in the filtering system.
Add support for input bit depths in the interval [9,16] with the raw demuxer.
Add a depth filter to dither input to x264.

13 years agoChroma mode decision/subpel for B-frames
Alex Wright [Sun, 19 Sep 2010 12:08:22 +0000 (05:08 -0700)]
Chroma mode decision/subpel for B-frames
Improves compression ~0.4-1%. Helps more on videos with lots of chroma detail.
Enabled at subme 9 (preset slower) and higher.

13 years agoVarious cosmetics
Fiona Glaser [Mon, 27 Sep 2010 12:39:02 +0000 (05:39 -0700)]
Various cosmetics

13 years agoMake slice-max-size more aggressive in considering escape bytes
Fiona Glaser [Wed, 22 Sep 2010 00:11:00 +0000 (17:11 -0700)]
Make slice-max-size more aggressive in considering escape bytes
The x264 assumption of randomly distributed escape bytes fails in the case of CABAC + an enormous number of identical macroblocks.
This patch attempts to compensate for this.
It is probably safe to assume in calling applications that x264 practically never violates the slice size limitation.

13 years agoAdd missing emms for dump-yuv
Fiona Glaser [Mon, 27 Sep 2010 12:39:13 +0000 (05:39 -0700)]
Add missing emms for dump-yuv

13 years agoFix CFR ratecontrol with timebase != 1/fps
Anton Mitrofanov [Sat, 25 Sep 2010 22:55:32 +0000 (15:55 -0700)]
Fix CFR ratecontrol with timebase != 1/fps
Fixes VBV + DTS compression, among other things.

13 years agoFix DTS/bitrate calculation if the first PTS wasn't zero
Anton Mitrofanov [Mon, 20 Sep 2010 09:10:13 +0000 (13:10 +0400)]
Fix DTS/bitrate calculation if the first PTS wasn't zero
Fix bitrate calculation with DTS compression.

13 years agoFix regression in r1716
Anton Mitrofanov [Sun, 19 Sep 2010 15:11:06 +0000 (19:11 +0400)]
Fix regression in r1716

13 years agoCosmetics in me.c and frame.c
Fiona Glaser [Sun, 19 Sep 2010 07:25:27 +0000 (00:25 -0700)]
Cosmetics in me.c and frame.c

13 years agoAdd support for arbitrary user SEIs
Kieran Kunhya [Mon, 13 Sep 2010 14:09:06 +0000 (15:09 +0100)]
Add support for arbitrary user SEIs
This allows calling applications to insert SEIs that x264 doesn't know about while maintaining HRD/VBV accuracy.

13 years agoAdd full chroma input flag to swscale
Steven Walters [Thu, 16 Sep 2010 00:42:08 +0000 (20:42 -0400)]
Add full chroma input flag to swscale
Improves quality of colorspace conversions involving RGB(A).

13 years agoAdd --disable-gpl option to configure
James Darnley [Fri, 17 Sep 2010 11:06:59 +0000 (04:06 -0700)]
Add --disable-gpl option to configure
Used for commercially-licensed versions of x264.
Doesn't currently change anything, but may be used to disable GPL-only CLI tools, such as video filters, in the future.
Also print the x264 license and libavformat license in version info.

13 years agoUpdate source file headers
Fiona Glaser [Fri, 17 Sep 2010 11:03:27 +0000 (04:03 -0700)]
Update source file headers
Update dates, improve file descriptions, make things more consistent.
Also add information about commercial licensing.

13 years agoFix intra refresh to not exceed max recovery_frame_cnt
Fiona Glaser [Wed, 15 Sep 2010 19:06:47 +0000 (12:06 -0700)]
Fix intra refresh to not exceed max recovery_frame_cnt
The spec constrains recovery_frame_cnt to [0, MaxFrameNum-1].
So make MaxFrameNum bigger in the case of intra refresh.

13 years agoMake intra refresh finish one frame faster
Fiona Glaser [Thu, 16 Sep 2010 10:36:17 +0000 (03:36 -0700)]
Make intra refresh finish one frame faster
In some cases, the last frame of intra refresh was redundant.
Saves a few bits.

13 years agoFix intra refresh to not predict from invalid pixels
Fiona Glaser [Tue, 14 Sep 2010 19:20:00 +0000 (12:20 -0700)]
Fix intra refresh to not predict from invalid pixels
The blocks on the right side of the intra refresh column should not predict from top-right.