| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Ppmtoyuvsplit User Manual" 1 "06 March 2003" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
ppmtoyuvsplit - convert a PPM image to 3 subsampled raw YUV files |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBppmtoyuvsplit\fP |
| 16 |
\fIbasename\fP |
| 17 |
[\fIppmfile\fP] |
| 18 |
|
| 19 |
.UN description |
| 20 |
.SH DESCRIPTION |
| 21 |
.PP |
| 22 |
This program is part of |
| 23 |
.BR "Netpbm" (1)\c |
| 24 |
\&. |
| 25 |
.PP |
| 26 |
\fBppmtoyuvsplit\fP reads a PPM image as input. Produces 3 raw |
| 27 |
files \fIbasename\fP.Y, \fIbasename\fP.U and \fIbasename\fP.V as |
| 28 |
output. |
| 29 |
.PP |
| 30 |
The output files are the subsampled raw YUV representation of the |
| 31 |
input PPM image, as required by the Stanford MPEG codec. The Y output |
| 32 |
file contains a byte for each pixel in the image, with the rows going |
| 33 |
from top to bottom and the columns within each row going left to |
| 34 |
right. The U and V output files are arranged similarly, except that |
| 35 |
each byte represents a square of 4 pixels of the image. The value is |
| 36 |
the arithmetic mean of the value for each of those 4 pixels. Hence, the |
| 37 |
Y file is 4 times the size of the U file or V file. |
| 38 |
.PP |
| 39 |
The YUV values are scaled according to CCIR.601, as assumed by |
| 40 |
MPEG. |
| 41 |
|
| 42 |
.UN options |
| 43 |
.SH OPTIONS |
| 44 |
.PP |
| 45 |
There are no command line options defined specifically |
| 46 |
for \fBppmtoyuvsplit\fP, but it recognizes the options common to all |
| 47 |
programs based on libnetpbm (See |
| 48 |
.UR index.html#commonoptions |
| 49 |
Common Options |
| 50 |
.UE |
| 51 |
\&.) |
| 52 |
|
| 53 |
.UN seealso |
| 54 |
.SH SEE ALSO |
| 55 |
.BR "yuvsplittoppm" (1)\c |
| 56 |
\&, |
| 57 |
.BR "ppmtoyuv" (1)\c |
| 58 |
\&, |
| 59 |
.BR "ppmtoeyuv" (1)\c |
| 60 |
\&, |
| 61 |
.BR "ppmtompeg" (1)\c |
| 62 |
\&, |
| 63 |
.BR "ppm" (1)\c |
| 64 |
\& |
| 65 |
|
| 66 |
.UN author |
| 67 |
.SH AUTHOR |
| 68 |
.PP |
| 69 |
Copyright (C) 1993 by Andre Beck. (\[email protected]\fP) |
| 70 |
.PP |
| 71 |
Based on ppmtoyuv.c |
| 72 |
.SH DOCUMENT SOURCE |
| 73 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 74 |
source. The master documentation is at |
| 75 |
.IP |
| 76 |
.B http://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html |
| 77 |
.PP |