OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2001 Fabrice Bellard | 2 * Copyright (c) 2001 Fabrice Bellard |
3 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> | 3 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 {"amv", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_AMV, INT_MIN, INT_MAX, V|D, "bug"}, | 146 {"amv", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_AMV, INT_MIN, INT_MAX, V|D, "bug"}, |
147 {"ac_vlc", "illegal vlc bug (autodetected per fourcc)", 0, FF_OPT_TYPE_CONST, FF
_BUG_AC_VLC, INT_MIN, INT_MAX, V|D, "bug"}, | 147 {"ac_vlc", "illegal vlc bug (autodetected per fourcc)", 0, FF_OPT_TYPE_CONST, FF
_BUG_AC_VLC, INT_MIN, INT_MAX, V|D, "bug"}, |
148 {"qpel_chroma", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_QPEL_CHROMA, INT_MIN, INT_MAX
, V|D, "bug"}, | 148 {"qpel_chroma", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_QPEL_CHROMA, INT_MIN, INT_MAX
, V|D, "bug"}, |
149 {"std_qpel", "old standard qpel (autodetected per fourcc/version)", 0, FF_OPT_TY
PE_CONST, FF_BUG_STD_QPEL, INT_MIN, INT_MAX, V|D, "bug"}, | 149 {"std_qpel", "old standard qpel (autodetected per fourcc/version)", 0, FF_OPT_TY
PE_CONST, FF_BUG_STD_QPEL, INT_MIN, INT_MAX, V|D, "bug"}, |
150 {"qpel_chroma2", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_QPEL_CHROMA2, INT_MIN, INT_M
AX, V|D, "bug"}, | 150 {"qpel_chroma2", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_QPEL_CHROMA2, INT_MIN, INT_M
AX, V|D, "bug"}, |
151 {"direct_blocksize", "direct-qpel-blocksize bug (autodetected per fourcc/version
)", 0, FF_OPT_TYPE_CONST, FF_BUG_DIRECT_BLOCKSIZE, INT_MIN, INT_MAX, V|D, "bug"}
, | 151 {"direct_blocksize", "direct-qpel-blocksize bug (autodetected per fourcc/version
)", 0, FF_OPT_TYPE_CONST, FF_BUG_DIRECT_BLOCKSIZE, INT_MIN, INT_MAX, V|D, "bug"}
, |
152 {"edge", "edge padding bug (autodetected per fourcc/version)", 0, FF_OPT_TYPE_CO
NST, FF_BUG_EDGE, INT_MIN, INT_MAX, V|D, "bug"}, | 152 {"edge", "edge padding bug (autodetected per fourcc/version)", 0, FF_OPT_TYPE_CO
NST, FF_BUG_EDGE, INT_MIN, INT_MAX, V|D, "bug"}, |
153 {"hpel_chroma", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_HPEL_CHROMA, INT_MIN, INT_MAX
, V|D, "bug"}, | 153 {"hpel_chroma", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_HPEL_CHROMA, INT_MIN, INT_MAX
, V|D, "bug"}, |
154 {"dc_clip", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_DC_CLIP, INT_MIN, INT_MAX, V|D, "
bug"}, | 154 {"dc_clip", NULL, 0, FF_OPT_TYPE_CONST, FF_BUG_DC_CLIP, INT_MIN, INT_MAX, V|D, "
bug"}, |
155 {"ms", "workaround various bugs in microsofts broken decoders", 0, FF_OPT_TYPE_C
ONST, FF_BUG_MS, INT_MIN, INT_MAX, V|D, "bug"}, | 155 {"ms", "workaround various bugs in microsofts broken decoders", 0, FF_OPT_TYPE_C
ONST, FF_BUG_MS, INT_MIN, INT_MAX, V|D, "bug"}, |
| 156 {"trunc", "trancated frames", 0, FF_OPT_TYPE_CONST,FF_BUG_TRUNCATED, INT_MIN, IN
T_MAX, V|D, "bug"}, |
156 {"lelim", "single coefficient elimination threshold for luminance (negative valu
es also consider dc coefficient)", OFFSET(luma_elim_threshold), FF_OPT_TYPE_INT,
DEFAULT, INT_MIN, INT_MAX, V|E}, | 157 {"lelim", "single coefficient elimination threshold for luminance (negative valu
es also consider dc coefficient)", OFFSET(luma_elim_threshold), FF_OPT_TYPE_INT,
DEFAULT, INT_MIN, INT_MAX, V|E}, |
157 {"celim", "single coefficient elimination threshold for chrominance (negative va
lues also consider dc coefficient)", OFFSET(chroma_elim_threshold), FF_OPT_TYPE_
INT, DEFAULT, INT_MIN, INT_MAX, V|E}, | 158 {"celim", "single coefficient elimination threshold for chrominance (negative va
lues also consider dc coefficient)", OFFSET(chroma_elim_threshold), FF_OPT_TYPE_
INT, DEFAULT, INT_MIN, INT_MAX, V|E}, |
158 {"strict", "how strictly to follow the standards", OFFSET(strict_std_compliance)
, FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|V|D|E, "strict"}, | 159 {"strict", "how strictly to follow the standards", OFFSET(strict_std_compliance)
, FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|V|D|E, "strict"}, |
159 {"very", "strictly conform to a older more strict version of the spec or referen
ce software", 0, FF_OPT_TYPE_CONST, FF_COMPLIANCE_VERY_STRICT, INT_MIN, INT_MAX,
V|D|E, "strict"}, | 160 {"very", "strictly conform to a older more strict version of the spec or referen
ce software", 0, FF_OPT_TYPE_CONST, FF_COMPLIANCE_VERY_STRICT, INT_MIN, INT_MAX,
V|D|E, "strict"}, |
160 {"strict", "strictly conform to all the things in the spec no matter what conseq
uences", 0, FF_OPT_TYPE_CONST, FF_COMPLIANCE_STRICT, INT_MIN, INT_MAX, V|D|E, "s
trict"}, | 161 {"strict", "strictly conform to all the things in the spec no matter what conseq
uences", 0, FF_OPT_TYPE_CONST, FF_COMPLIANCE_STRICT, INT_MIN, INT_MAX, V|D|E, "s
trict"}, |
161 {"normal", NULL, 0, FF_OPT_TYPE_CONST, FF_COMPLIANCE_NORMAL, INT_MIN, INT_MAX, V
|D|E, "strict"}, | 162 {"normal", NULL, 0, FF_OPT_TYPE_CONST, FF_COMPLIANCE_NORMAL, INT_MIN, INT_MAX, V
|D|E, "strict"}, |
162 {"inofficial", "allow unofficial extensions", 0, FF_OPT_TYPE_CONST, FF_COMPLIANC
E_INOFFICIAL, INT_MIN, INT_MAX, V|D|E, "strict"}, | 163 {"inofficial", "allow unofficial extensions", 0, FF_OPT_TYPE_CONST, FF_COMPLIANC
E_INOFFICIAL, INT_MIN, INT_MAX, V|D|E, "strict"}, |
163 {"experimental", "allow non standardized experimental things", 0, FF_OPT_TYPE_CO
NST, FF_COMPLIANCE_EXPERIMENTAL, INT_MIN, INT_MAX, V|D|E, "strict"}, | 164 {"experimental", "allow non standardized experimental things", 0, FF_OPT_TYPE_CO
NST, FF_COMPLIANCE_EXPERIMENTAL, INT_MIN, INT_MAX, V|D|E, "strict"}, |
164 {"b_qoffset", "qp offset between P and B frames", OFFSET(b_quant_offset), FF_OPT
_TYPE_FLOAT, 1.25, -FLT_MAX, FLT_MAX, V|E}, | 165 {"b_qoffset", "qp offset between P and B frames", OFFSET(b_quant_offset), FF_OPT
_TYPE_FLOAT, 1.25, -FLT_MAX, FLT_MAX, V|E}, |
165 {"er", "set error detection aggressivity", OFFSET(error_recognition), FF_OPT_TYP
E_INT, FF_ER_CAREFUL, INT_MIN, INT_MAX, A|V|D, "er"}, | 166 {"er", "set error detection aggressivity", OFFSET(error_recognition), FF_OPT_TYP
E_INT, FF_ER_CAREFUL, INT_MIN, INT_MAX, A|V|D, "er"}, |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 } | 461 } |
461 | 462 |
462 void avcodec_get_context_defaults(AVCodecContext *s){ | 463 void avcodec_get_context_defaults(AVCodecContext *s){ |
463 avcodec_get_context_defaults2(s, CODEC_TYPE_UNKNOWN); | 464 avcodec_get_context_defaults2(s, CODEC_TYPE_UNKNOWN); |
464 } | 465 } |
465 | 466 |
466 AVCodecContext *avcodec_alloc_context(void){ | 467 AVCodecContext *avcodec_alloc_context(void){ |
467 return avcodec_alloc_context2(CODEC_TYPE_UNKNOWN); | 468 return avcodec_alloc_context2(CODEC_TYPE_UNKNOWN); |
468 } | 469 } |
469 | 470 |
OLD | NEW |