| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package UAV::Pilot::Video::RawHandler; |
|
2
|
1
|
|
|
1
|
|
1777
|
use v5.14; |
|
|
1
|
|
|
|
|
5
|
|
|
|
1
|
|
|
|
|
36
|
|
|
3
|
1
|
|
|
1
|
|
420
|
use Moose::Role; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
requires 'process_raw_frame'; |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
1; |
|
8
|
|
|
|
|
|
|
__END__ |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
UAV::Pilot::Video::RawHandler |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
A Moose role for processing raw video frames. There is one required method, |
|
19
|
|
|
|
|
|
|
C<process_raw_frame>. It will be passed: |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=over 4 |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=item * $width |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=item * $height |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=item * $decoder |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=back |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
The C<$decoder> object is a C<UAV::Pilot::Video::H264Decoder>, which will have processed the |
|
32
|
|
|
|
|
|
|
most recent frame data. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |