Home | History | Annotate | Download | only in barcode_tools

Lines Matching full:yuv

18   This function crops one frame going through all the YUV planes and cropping
22 yuv_file(file): The opened (for binary reading) YUV file.
25 planes (Y, U, V) of the YUV file plus the crop_height scaled for every
48 """Crops rows of pixels from the top of the YUV frames.
54 yuv_file_name(string): The name of the YUV file to be cropped.
57 width(int): The width of the original YUV file.
58 height(int): The height of the original YUV file.
85 help=('Width of the YUV file\'s frames. '
88 help=('Height of the YUV file\'s frames. '
91 help=('How much of the top of the YUV file to crop. '
94 help=('The YUV file to be cropped.'))
95 parser.add_option('--output_file', type='string', default='output.yuv',
96 help=('The output YUV file containing the cropped YUV. '
100 parser.error('yuv_file argument missing. Please specify input YUV file!')
105 """A tool to crop rows of pixels from the top part of a YUV file.
115 sys.stderr.write('Error: The YUV file you have passed has size 0. The '