PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/pods/SDL/MPEG.pod

http://github.com/PerlGameDev/SDL
Unknown | 76 lines | 38 code | 38 blank | 0 comment | 0 complexity | 0310d96872778f017a440d8b9256942e MD5 | raw file
 1
 2=pod
 3
 4=head1 NAME
 5
 6SDL::MPEG - a SDL perl extension
 7
 8=head1 CATEGORY
 9
10TODO
11
12=head1 SYNOPSIS
13
14  $info = SDL::MPEG->new( -from => $mpeg );
15
16=head1 DESCRIPTION
17
18C<SDL::MPEG> provides an interface to querying the status
19of a SMPEG stream.  
20
21=head2 METHODS 
22
23=over 4
24
25=item *
26
27C<SDL::MPEG::has_audio> returns true if it has audio track
28
29=item *
30
31C<SDL::MPEG::has_video> returns true if it has a video track
32
33=item *
34
35C<SDL::MPEG::width> returns the width of the video in pixels
36
37=item *
38
39C<SDL::MPEG::height> returns the height of the video in pixels
40
41=item *
42
43C<SDL::MPEG::size> returns the total size of the clip in bytes
44
45=item *
46
47C<SDL::MPEG::offset> returns the offset into the clip in bytes
48
49=item *
50
51C<SDL::MPEG::frame> returns the offset into the clip in frames 
52
53=item *
54
55C<SDL::MPEG::fps> returns the play rate in frames per second
56
57=item *
58
59C<SDL::MPEG::time> returns the current play time in seconds
60
61=item *
62
63C<SDL::MPEG::length> returns the total play time in seconds
64
65=back
66
67=head1 AUTHOR
68
69David J. Goehrig
70
71=head1 SEE ALSO
72
73perl(1) SDL::Video(3)
74
75=cut
76