summaryrefslogtreecommitdiffstats
path: root/libavcodec/options.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-3/+1
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-1/+1
|
* lavc: add const to AVCodec* function parameters.Anton Khirnov2012-08-181-2/+4
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Move AVFormatContext/AVCodecContext option tables to separate files.Anton Khirnov2012-03-201-368/+3
| | | | This will allow us to automatically generate manpages for them.
* lavc: deprecate AVCodecContext.sub_id.Anton Khirnov2012-03-041-0/+2
| | | | | | | In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field.
* libvorbis: fix use of minrate/maxrate AVOptionsJustin Ruggles2012-02-291-2/+2
| | | | | | - enable the options for audio encoding - properly check for user-set maxrate - use correct calling order in vorbis_encode_setup_managed()
* mpegvideo_enc: add quantizer_noise_shaping private option.Anton Khirnov2012-02-291-1/+3
| | | | Deprecate corresponding AVCodecContext field.
* lavc: deprecate AVCodecContext.inter_threshold.Anton Khirnov2012-02-291-0/+2
| | | | It's unused.
* lavc: deprecate AVCodecContext.color_table_id.Anton Khirnov2012-02-291-0/+2
| | | | | It's currently only used as temporary storage by the mov demuxer. Make it use a local variable instead.
* mpegvideo_enc: add chroma/luma_elim_threshold private options.Anton Khirnov2012-02-291-0/+2
| | | | Deprecate corresponding AVCodecContext fields.
* mpegvideo_enc: add cbp_rd flag to mpv_flags.Anton Khirnov2012-02-291-1/+1
| | | | Deprecate CODEC_FLAG_CBP_RD.
* mpegvideo_enc: add qp_rd flag to mpv_flags.Anton Khirnov2012-02-291-1/+3
| | | | Deprecate CODEC_FLAG_QP_RD.
* mpegvideo_enc: add strict_gop flag to mpv_flags.Anton Khirnov2012-02-291-1/+3
| | | | Deprecate CODEC_FLAG2_STRICT_GOP.
* lavc: add -mpv_flags to mpegvideo_enc-based encoders.Anton Khirnov2012-02-291-1/+3
| | | | | Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags flag.
* Move PS2 MMI code below the mips subdirectory, where it belongs.Diego Biurrun2012-02-131-1/+1
| | | | | Also give a more suitable name to the MMI-optimized IDCT; it is not PS2-specific, as the name currently suggests.
* Remove Sun medialib glue code.Diego Biurrun2012-02-081-2/+0
| | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* lavc: set AVCodecContext.codec in avcodec_get_context_defaults3().Anton Khirnov2012-01-311-0/+1
| | | | | | | | | This way, if the AVCodecContext is allocated for a specific codec, the caller doesn't need to store this codec separately and then pass it again to avcodec_open2(). It also allows to set codec private options using av_opt_set_* before opening the codec.
* lavc: add avcodec_is_open().Anton Khirnov2012-01-311-1/+1
| | | | | | | It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
* lavc: remove disabled FF_API_PARSE_FRAME cruft.Anton Khirnov2012-01-271-3/+0
|
* lavc: remove disabled FF_API_MJPEG_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-3/+0
|
* lavc: remove disabled FF_API_LAME_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-9/+1
|
* lavc: remove disabled FF_API_ER cruft.Anton Khirnov2012-01-271-8/+0
|
* lavc: remove disabled FF_API_DRC_SCALE cruft.Anton Khirnov2012-01-271-3/+0
|
* lavc: remove disabled FF_API_ALLOC_CONTEXT cruft.Anton Khirnov2012-01-271-27/+0
|
* lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-14/+0
|
* lavc: remove disabled FF_API_ANTIALIAS_ALGO cruft.Anton Khirnov2012-01-271-7/+0
|
* lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-26/+0
|
* lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-50/+1
|
* lavc: remove the deprecated "ab" option.Anton Khirnov2012-01-271-1/+0
|
* threads: change the default for threads back to 1Janne Grunau2012-01-211-1/+1
| | | | | | Using threaded decoding by default breaks backward compatibility if AVHWAccel is used or if an appliction sets threadunsafe callbacks. Avconv and avplay still use -threads auto if not specified.
* lavc: rename err_filter option to err_detect and document itDustin Brody2012-01-211-5/+5
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: ifdef out parse_only AVOptionAnton Khirnov2012-01-121-0/+2
|
* mpegenc: use avctx->slices as number of slicesJanne Grunau2012-01-021-1/+1
| | | | | | Adds a new member to MpegEncContext to hold the number of used slice contexts. Fixes segfaults with '-threads 17 -thread_type slice' and fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
* threads: default to automatic thread count detectionJanne Grunau2011-12-311-1/+1
|
* options: set minimum for "threads" to zeroJanne Grunau2011-12-221-1/+2
| | | | | A negative number of threads does not make sense and 0 is used for autodetection. Adds a symbolic name for autodetection.
* avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles2011-11-191-1/+1
| | | | | | | | A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
* avcodec: use av_opt_set() instead of deprecated av_set_string3()Justin Ruggles2011-11-191-1/+1
|
* avcodec: fix some const warningsJustin Ruggles2011-11-191-2/+2
| | | | | | | libavcodec/options.c:583: warning: assignment discards qualifiers from pointer target type libavcodec/options.c:589: warning: initialization discards qualifiers from pointer target type
* avcodec: remove pointless AVOption, internal_buffer_countJustin Ruggles2011-11-191-1/+0
|
* libx264: Set the default of the rc_lookahead option to -1Martin Storsjö2011-11-041-1/+1
| | | | | | | | This allows it to use the defaults specified by preset/tune, without overwriting it with the default value from the AVCodecContext field. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Set flags2 default value depending on availabilityMartin Storsjö2011-11-041-1/+11
| | | | | | | This makes the code compile when FF_API_X264_GLOBAL_OPTS or FF_API_LAME_GLOBAL_OPTS is 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Make sure codec_type is set by avcodec_get_context_defaults2Martin Storsjö2011-11-031-0/+1
| | | | | | | | | | This function used to set codec_type. With the current fallback implementation based on avcodec_get_context_defaults3, codec_type won't be set to the value passed in, but will be set to AVMEDIA_TYPE_UNKNOWN. Legacy callers of this function might expect this field to be set to the value passed in. Signed-off-by: Martin Storsjö <martin@martin.st>
* add -err_filter AVOptions to access flag-based error recognitionDustin Brody2011-10-221-2/+7
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: make avcodec_get_context_defaults3 "officially" publicAnton Khirnov2011-10-191-20/+20
| | | | Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
* lavc: rename deprecation symbol FF_API_VERY_AGGRESSIVE to FF_API_ERDustin Brody2011-10-141-2/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-121-388/+388
|
* AVOptions: add new API for enumerating children.Anton Khirnov2011-10-121-13/+19
| | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts.
* lavc: use designated initializers for av_codec_context_classAnton Khirnov2011-10-051-1/+8
|
* lavc: add video/audio/encoding flags to global_quality optionAnton Khirnov2011-10-011-1/+1
|
OpenPOWER on IntegriCloud