summaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
Commit message (Collapse)AuthorAgeFilesLines
* libx264: change i_qfactor to use x264cli's defaultJohn Van Sickle2013-02-231-1/+3
| | | | | | | | This also allows libx264 to modify its i_qfactor value when using the "-tune" setting. Previously it had a static value of 1.25 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx264: introduce -x264-params private optionGavriloaie Eugen-Andrei2013-01-251-0/+18
| | | | | It is a shortcut to set all the params using x264_param_parse, makes simpler importing settings from other software using x264.
* libx264: use the library specific default rc_initial_buffer_occupancyLuca Barbato2013-01-151-1/+2
| | | | | | | | By default libav sets it to 3/4 while x264 sets it to 9/10. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-26/+26
|
* libx264: change default to closed gop to match x264cliJohn Van Sickle2012-09-241-0/+1
| | | | | | open-gop can be enabled with "-flags -cgop" Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx264: add forgotten ;Anton Khirnov2012-09-211-1/+1
|
* libx264: add support for nal-hrd, required for Blu-ray streams.John Van Sickle2012-09-191-0/+9
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avopt: Explicitly store float/double option defaults in .dblMartin Storsjö2012-09-041-4/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-041-18/+18
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-041-13/+13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* libx264: support aspect ratio switchingJULIAN GARDNER2012-07-091-0/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-061-11/+11
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* libx264: add 'stats' private option for setting 2pass stats filename.Anton Khirnov2012-03-131-0/+3
| | | | | | | x264 always opens the file itself with fopen, so we cannot use the standard lavc stats mechanism. CC: libav-stable@libav.org
* libx264: fix help text for slice-max-size option.Anton Khirnov2012-03-131-1/+1
| | | | CC: libav-stable@libav.org
* libx264: Allow overriding the sliced threads optionMartin Storsjö2012-03-061-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libx264: implement encode2().Anton Khirnov2012-02-081-18/+29
|
* libx264: split extradata writing out of encode_nals().Anton Khirnov2012-02-081-12/+14
| | | | This is done in preparation for the following patch.
* libx264: fix indentation.Anton Khirnov2012-02-021-5/+5
|
* lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-61/+0
|
* libx264: Don't leave max_b_frames as -1 if the user didn't set itMartin Storsjö2012-01-141-0/+3
| | | | | | | | | | | | | | | max_b_frames is initialized to -1 for libx264, to allow distinguishing between an explicit user set 0 and a default not touched 0 (see bb73cda2). If max_b_frames is left as -1, this affects dts generation (where expressions like max_b_frames != 0 are used), so make sure it is left at the default 0 after the libx264 init function returns. This avoids unnecessarily producing dts != pts when using profile=baseline. Signed-off-by: Martin Storsjö <martin@martin.st>
* threads: introduce CODEC_CAP_AUTO_THREADS and add it to libx264Janne Grunau2012-01-011-1/+1
| | | | | | Some external codecs have their own code to determine the best number of threads. This number is not necessary the number of cpu cores. Thread_count will be only 0 if the codec has CODEC_CAP_AUTO_THREADS.
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-121-41/+41
|
* libx264: support yuv422/444 output.Anton Khirnov2011-10-121-1/+23
|
* libx264: support 9- and 10-bit output.Anton Khirnov2011-10-061-1/+28
|
* libx264: introduce slice-max-size optionLuca Barbato2011-09-161-0/+5
| | | | Yet another option useful for low latency streaming.
* libx264: fix setting some more parametersAnton Khirnov2011-09-071-27/+36
| | | | | | | Specifically, trellis, nr, me_range, me_method, subq, b_strategy, keyint_min, chroma_me and coder. Change their defaults to -1 and apply them after x264_param_default_preset() if the user explicitly set them.
* libx264: fix setting the H.264 levelAndrej Peterka2011-09-071-3/+3
| | | | | | Move setting it after x264_param_default_preset() Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx264: add 'direct-pred' private optionAnton Khirnov2011-09-071-2/+10
| | | | Deprecate AVCodecContext.directpred
* libx264: add 'partitions' private optionAnton Khirnov2011-09-071-14/+16
| | | | Deprecate AVCodecContext.partitions.
* libx264: add 'cplxblur' private optionAnton Khirnov2011-09-061-2/+6
| | | | Deprecate AVCodecContext.complexityblur
* libx264: add 'deblock' private optionAnton Khirnov2011-09-061-6/+14
| | | | Deprecate AVCodecContext.deblockalpha/deblockbeta
* libx264: add 'b-bias' private optionAnton Khirnov2011-09-061-1/+6
| | | | Deprecate AVCodecContext.bframebias.
* libx264: fix setting some options.Anton Khirnov2011-09-061-13/+28
| | | | | | | | | | | Specifically: gop_size, max_b_frames, scenechange_threshold, qmin, qmax, max_qdiff, qblur, qcompress and refs. Change their default values to -1 and only use them if the user explicitly set them. Otherwise x264 defaults are used. Move setting those options after x264_param_default_preset(), so they don't get overwritten by it.
* libx264: remove useless assignmentAnton Khirnov2011-09-061-1/+0
| | | | priv_data is memset to 0.
* libx264: use X264_THREADS_AUTO constant instead of 0.Anton Khirnov2011-09-011-1/+1
|
* libx264: set default thread count to 0 (auto)Anton Khirnov2011-08-311-0/+1
|
* libx264: add 'mbtree' private option.Anton Khirnov2011-08-311-1/+5
| | | | Deprecate CODEC_FLAG2_MBTREE
* libx264: add 'psy' private option.Anton Khirnov2011-08-311-2/+5
| | | | Deprecate CODEC_FLAG2_PSY
* libx264: add 'aud' private option.Anton Khirnov2011-08-311-2/+5
| | | | Deprecate CODEC_FLAG2_AUD.
* libx264: add 'fast-pskip' private option.Anton Khirnov2011-08-311-1/+5
| | | | Deprecate CODEC_FLAG2_FASTPSKIP.
* libx264: add '8x8dct' private option.Anton Khirnov2011-08-311-1/+5
| | | | Deprecate CODEC_FLAG2_8X8DCT.
* libx264: add 'mixed-refs' private option.Anton Khirnov2011-08-311-2/+5
| | | | Deprecate CODEC_FLAG2_MIXED_REFS.
* libx264: add 'weightb' private option.Anton Khirnov2011-08-311-2/+5
| | | | Deprecate CODEC_FLAG2_BPYRAMID.
* libx264: add 'b-pyramid' private option.Anton Khirnov2011-08-311-2/+8
| | | | Deprecate CODEC_FLAG2_BPYRAMID.
* libx264: add 'intra-refresh' private option.Anton Khirnov2011-08-311-1/+5
| | | | Deprecate CODEC_FLAG2_INTRA_REFRESH.
* libx264: add 'ssim' private option.Anton Khirnov2011-08-311-1/+5
| | | | Deprecate CODEC_FLAG2_SSIM.
* libx264: make options compatible with x264Anton Khirnov2011-08-311-12/+10
| | | | | Replace '_' with '-', merge psy-trellis into psy-rd and rename cqp->qp Also fix typo pdy-rd -> psy-rd
* libx264: add 'crf_max' private option.Anton Khirnov2011-08-241-0/+5
| | | | Deprecate corresponding global option.
OpenPOWER on IntegriCloud