[Ffmpeg-devel] [PATCH] add all and none options for partitions config
Limin Wang
lance.lmwang
Sat Mar 24 14:53:41 CET 2007
Hi,
$subj, please review it. It'll helpful to configure partitions.
Thanks,
Limin
-------------- next part --------------
Index: libavcodec/utils.c
===================================================================
--- libavcodec/utils.c (revision 8492)
+++ libavcodec/utils.c (working copy)
@@ -705,6 +705,8 @@
{"partp4x4", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P4X4, INT_MIN, INT_MAX, V|E, "partitions"},
{"partp8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P8X8, INT_MIN, INT_MAX, V|E, "partitions"},
{"partb8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"},
+{"none", NULL, 0, FF_OPT_TYPE_CONST, 0, INT_MIN, INT_MAX, V|E, "partitions"},
+{"all", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_I4X4 | X264_PART_I8X8 | X264_PART_P4X4 | X264_PART_P8X8 | X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"},
{"sc_factor", "multiplied by qscale for each frame and added to scene_change_score", OFFSET(scenechange_factor), FF_OPT_TYPE_INT, 6, 0, INT_MAX, V|E},
{"mv0_threshold", NULL, OFFSET(mv0_threshold), FF_OPT_TYPE_INT, 256, 0, INT_MAX, V|E},
{"ivlc", "intra vlc table", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_VLC, INT_MIN, INT_MAX, V|E, "flags2"},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070324/2bfe2c05/attachment.pgp>
More information about the ffmpeg-devel
mailing list