summary refs log tree commit diff
path: root/ppmtoyuvsplit.html
blob: 875d4b7de1c51eb915caebff3d5af10199f1a06d (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Ppmtoyuvsplit User Manual</title></head>
<body>
<h1>ppmtoyuvsplit</h1>
Updated: 06 March 2003
<br>

<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

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

<h2 id="synopsis">SYNOPSIS</h2>

<b>ppmtoyuvsplit</b>
<i>basename</i>
[<i>ppmfile</i>]

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>ppmtoyuvsplit</b> reads a PPM image as input.  Produces 3 raw
files <i>basename</i>.Y, <i>basename</i>.U and <i>basename</i>.V as
output.

<p>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.

<p>The YUV values are scaled according to CCIR.601, as assumed by
MPEG.

<h2 id="options">OPTIONS</h2>

<p>There are no command line options defined specifically
for <b>ppmtoyuvsplit</b>, but it recognizes the options common to all
programs based on libnetpbm (See <a href="index.html#commonoptions">
Common Options</a>.)

<h2 id="seealso">SEE ALSO</h2>

<a href="yuvsplittoppm.html">yuvsplittoppm</a>,
<a href="ppmtoyuv.html">ppmtoyuv</a>,
<a href="ppmtoeyuv.html">ppmtoeyuv</a>,
<a href="ppmtompeg.html">ppmtompeg</a>,
<a href="ppm.html">ppm</a>

<h2 id="author">AUTHOR</h2>

<p>Copyright (C) 1993 by Andre Beck. (<a
href="mailto:Andre_Beck@IRS.Inf.TU-Dresden.de">Andre_Beck@IRS.Inf.TU-Dresden.de</a>)

<p>Based on ppmtoyuv.c

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>