17
17
* You should have received a copy of the GNU Library General Public
18
18
* License along with this library; if not, write to the
19
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
19
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
20
* Boston, MA 02110-1301, USA.
147
147
{FF_DCT_FASTINT, "Fast Integer", "fastint"},
148
148
{FF_DCT_INT, "Accurate Integer", "int"},
149
149
{FF_DCT_MMX, "MMX", "mmx"},
150
{FF_DCT_MLIB, "MLIB", "mlib"},
151
150
{FF_DCT_ALTIVEC, "ALTIVEC", "altivec"},
152
151
{FF_DCT_FAAN, "FAAN", "faan"},
173
172
{FF_IDCT_SIMPLE, "Simple", "simple"},
174
173
{FF_IDCT_SIMPLEMMX, "Simple MMX", "simplemmx"},
175
174
{FF_IDCT_LIBMPEG2MMX, "LIBMPEG2MMX", "libmpeg2mmx"},
176
{FF_IDCT_PS2, "PS2", "ps2"},
177
{FF_IDCT_MLIB, "MLIB", "mlib"},
178
175
{FF_IDCT_ARM, "ARM", "arm"},
179
176
{FF_IDCT_ALTIVEC, "ALTIVEC", "altivec"},
180
177
{FF_IDCT_SH4, "SH4", "sh4"},
264
261
if (!ffmpeg_flags_type) {
265
262
static const GFlagsValue ffmpeg_flags[] = {
266
{CODEC_FLAG_OBMC, "Use overlapped block motion compensation (h263+)",
268
263
{CODEC_FLAG_QSCALE, "Use fixed qscale", "qscale"},
269
264
{CODEC_FLAG_4MV, "Allow 4 MV per MB", "4mv"},
270
{CODEC_FLAG_H263P_AIV, "H.263 alternative inter VLC", "aiv"},
271
265
{CODEC_FLAG_QPEL, "Quartel Pel Motion Compensation", "qpel"},
272
266
{CODEC_FLAG_GMC, "GMC", "gmc"},
273
267
{CODEC_FLAG_MV0, "Always try a MB with MV (0,0)", "mv0"},
275
"Store MV, DC and AC coefficients in seperate partitions", "part"},
276
268
{CODEC_FLAG_LOOP_FILTER, "Loop filter", "loop-filter"},
277
269
{CODEC_FLAG_GRAY, "Only decode/encode grayscale", "gray"},
278
270
{CODEC_FLAG_NORMALIZE_AQP,
282
274
"global-headers"},
283
275
{CODEC_FLAG_AC_PRED, "H263 Advanced Intra Coding / MPEG4 AC prediction",
285
{CODEC_FLAG_H263P_UMV, "Unlimited Motion Vector", "umv"},
286
277
{CODEC_FLAG_CBP_RD, "Rate Distoration Optimization for CBP", "cbp-rd"},
287
278
{CODEC_FLAG_QP_RD, "Rate Distoration Optimization for QP selection",
289
{CODEC_FLAG_H263P_SLICE_STRUCT, "H263 slice struct", "ss"},
290
{CODEC_FLAG_SVCD_SCAN_OFFSET,
291
"Reserve space for SVCD scan offset user data", "scanoffset"},
292
280
{CODEC_FLAG_CLOSED_GOP, "Closed GOP", "closedgop"},
314
302
/* if TRUE, try to get the default from lavc and ignore the paramspec default */
315
303
gboolean lavc_default;
317
/* these lists are arrays terminated by CODEC_ID_NONE entry:
305
/* these lists are arrays terminated by AV_CODEC_ID_NONE entry:
318
306
* property applies to a codec if it's not in the exclude_list
319
307
* and in exclude_list (or the latter is NULL) */
320
308
gint *include_list;
751
739
g_return_if_fail (base > 0);
753
ctx = avcodec_alloc_context ();
755
avcodec_get_context_defaults (ctx);
741
ctx = avcodec_alloc_context3 (klass->in_plugin);
757
743
g_warning ("could not get context");
759
745
for (list = property_list; list; list = list->next) {