summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/ppmtoyuvsplit.1
blob: f9997609c0ab8be1a701d4acf74a6aaed7acf457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Ppmtoyuvsplit User Manual" 0 "06 March 2003" "netpbm documentation"

.SH NAME

ppmtoyuvsplit - convert a PPM image to 3 subsampled raw YUV files

.UN synopsis
.SH SYNOPSIS

\fBppmtoyuvsplit\fP
\fIbasename\fP
[\fIppmfile\fP]

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBppmtoyuvsplit\fP reads a PPM image as input.  Produces 3 raw
files \fIbasename\fP.Y, \fIbasename\fP.U and \fIbasename\fP.V as
output.
.PP
The output files are the subsampled raw YUV representation of the
input PPM image, as required by the Stanford MPEG codec.  The Y output
file contains a byte for each pixel in the image, with the rows going
from top to bottom and the columns within each row going left to
right.  The U and V output files are arranged similarly, except that
each byte represents a square of 4 pixels of the image.  The value is
the arithmetic mean of the value for each of those 4 pixels.  Hence, the
Y file is 4 times the size of the U file or V file.
.PP
The YUV values are scaled according to CCIR.601, as assumed by
MPEG.

.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBppmtoyuvsplit\fP, but it recognizes the options common to all
programs based on libnetpbm (See 
.UR index.html#commonoptions
 Common Options
.UE
\&.)

.UN seealso
.SH SEE ALSO
.BR "yuvsplittoppm" (1)\c
\&,
.BR "ppmtoyuv" (1)\c
\&,
.BR "ppmtoeyuv" (1)\c
\&,
.BR "ppmtompeg" (1)\c
\&,
.BR "ppm" (1)\c
\&

.UN author
.SH AUTHOR
.PP
Copyright (C) 1993 by Andre Beck. (\fIAndre_Beck@IRS.Inf.TU-Dresden.de\fP)
.PP
Based on ppmtoyuv.c
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html
.PP