NAME

UAV::Pilot::Video::H264Handler

DESCRIPTION

Objects which do this role can be passed to objects that handle video frames, such as UAV::Pilot::ARDrone::Video. They will handle an h264 video frame-by-frame.

REQUIRED METHODS

process_h264_frame

process_h264_frame(
    $frame, # Arrayref of bytes containing the h264 frame
    $width,
    $height,
    $encoded_width,
    $encoded_height,
);