本文整理汇总了Python中MCTF_parser.MCTF_parser.quantization_texture方法的典型用法代码示例。如果您正苦于以下问题:Python MCTF_parser.quantization_texture方法的具体用法?Python MCTF_parser.quantization_texture怎么用?Python MCTF_parser.quantization_texture使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MCTF_parser.MCTF_parser
的用法示例。
在下文中一共展示了MCTF_parser.quantization_texture方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: MCTF_parser
# 需要导入模块: from MCTF_parser import MCTF_parser [as 别名]
# 或者: from MCTF_parser.MCTF_parser import quantization_texture [as 别名]
## The parser module provides an interface to Python's internal parser
# and byte-code compiler.
parser = MCTF_parser(description="Encodes a sequence of pictures.")
parser.pixels_in_x(pixels_in_x)
parser.pixels_in_y(pixels_in_y)
parser.always_B(always_B)
parser.block_overlaping(block_overlaping)
parser.block_size(block_size)
parser.block_size_min(block_size_min)
parser.border_size(border_size)
parser.GOPs(GOPs)
parser.clayers_motion(clayers_motion)
parser.quantization_step(quantization_step)
parser.quantization_motion(quantization_motion)
parser.quantization_texture(quantization_texture)
parser.search_range(search_range)
parser.subpixel_accuracy(subpixel_accuracy)
parser.TRLs(TRLs)
parser.SRLs(SRLs)
parser.nLayers(nLayers)
parser.update_factor(update_factor)
## A script may only parse a few of the command-line arguments,
# passing the remaining arguments on to another script or program.
args = parser.parse_known_args()[0]
if args.pixels_in_x:
pixels_in_x = int(args.pixels_in_x)
if args.pixels_in_y:
pixels_in_y = int(args.pixels_in_y)
if args.always_B: