#include <vidl_vil1_mpegcodec.h>
Inheritance diagram for vidl_vil1_mpegcodec:

Definition at line 30 of file vidl_vil1_mpegcodec.h.
Public Member Functions | |
| vidl_vil1_mpegcodec () | |
| ~vidl_vil1_mpegcodec () | |
| vidl_vil1_mpegcodec * | castto_vidl_vil1_mpegcodec () |
| bool | get_section (int frame_position, void *ib, int x0, int y0, int xs, int ys) const |
| int | put_section (int, void *, int, int, int, int) |
| virtual bool | probe (vcl_string const &fname) |
| Return true if fname looks like something we can read. | |
| virtual vidl_vil1_codec_sptr | load (vcl_string const &fname, char mode= 'r') |
| Try to load fname, and if successful, return the codec that did it. | |
| bool | save (vidl_vil1_movie *, vcl_string const &) |
| Take a vidl_vil1_movie, and save in the format of this codec. | |
| virtual vcl_string | type () const |
| void | set_grey_scale (bool grey) |
| void | set_demux_video () |
| void | set_pid (vcl_string pid) |
| bool | init () |
| virtual vidl_vil1_image_list_codec * | castto_vidl_vil1_image_list_codec () |
| virtual vidl_vil1_avicodec * | castto_vidl_vil1_avicodec () |
| void | set_number_frames (int n=0) |
| void | set_name (vcl_string n="") |
| void | set_description (vcl_string d="") |
| void | set_format (char f= '\0') |
| void | set_image_class (char t= 'M') |
| void | set_bits_pixel (int d=0) |
| void | set_width (int x=0) |
| void | set_height (int y=0) |
| void | set_size_z (int z=1) |
| void | set_size_t (int t=1) |
| int | length () const |
| vcl_string | get_name () const |
| vcl_string | get_description () const |
| char | get_image_class () const |
| char | get_format () const |
| int | width () const |
| int | height () const |
| int | get_bits_pixel () const |
| int | get_bytes_pixel () const |
| virtual void | close () |
| Perform any operations required to close down the codec. | |
| void | ref () |
| void | unref () |
| int | get_references () const |
| bool | is_referenced () const |
Private Attributes | |
| vidl_vil1_mpegcodec_helper * | decoder_ |
| frame_buffer * | buffers_ |
| bool | inited |
| vidl_vil1_mpegcodec::vidl_vil1_mpegcodec | ( | ) |
Definition at line 200 of file vidl_vil1_mpegcodec.cxx.
| vidl_vil1_mpegcodec::~vidl_vil1_mpegcodec | ( | ) |
Definition at line 208 of file vidl_vil1_mpegcodec.cxx.
| vidl_vil1_mpegcodec* vidl_vil1_mpegcodec::castto_vidl_vil1_mpegcodec | ( | ) | [inline, virtual] |
| bool vidl_vil1_mpegcodec::get_section | ( | int | frame_position, | |
| void * | ib, | |||
| int | x0, | |||
| int | y0, | |||
| int | xs, | |||
| int | ys | |||
| ) | const [virtual] |
| int vidl_vil1_mpegcodec::put_section | ( | int | , | |
| void * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) | [inline, virtual] |
| bool vidl_vil1_mpegcodec::probe | ( | vcl_string const & | fname | ) | [virtual] |
Return true if fname looks like something we can read.
Implements vidl_vil1_codec.
Definition at line 327 of file vidl_vil1_mpegcodec.cxx.
| vidl_vil1_codec_sptr vidl_vil1_mpegcodec::load | ( | vcl_string const & | fname, | |
| char | mode = 'r' | |||
| ) | [virtual] |
Try to load fname, and if successful, return the codec that did it.
Implements vidl_vil1_codec.
Definition at line 237 of file vidl_vil1_mpegcodec.cxx.
| bool vidl_vil1_mpegcodec::save | ( | vidl_vil1_movie * | , | |
| vcl_string const & | ||||
| ) | [inline, virtual] |
Take a vidl_vil1_movie, and save in the format of this codec.
Implements vidl_vil1_codec.
Definition at line 65 of file vidl_vil1_mpegcodec.h.
| virtual vcl_string vidl_vil1_mpegcodec::type | ( | ) | const [inline, virtual] |
| void vidl_vil1_mpegcodec::set_grey_scale | ( | bool | grey | ) |
Definition at line 221 of file vidl_vil1_mpegcodec.cxx.
| void vidl_vil1_mpegcodec::set_demux_video | ( | ) |
Definition at line 340 of file vidl_vil1_mpegcodec.cxx.
| void vidl_vil1_mpegcodec::set_pid | ( | vcl_string | pid | ) |
Definition at line 346 of file vidl_vil1_mpegcodec.cxx.
| bool vidl_vil1_mpegcodec::init | ( | ) |
Definition at line 354 of file vidl_vil1_mpegcodec.cxx.
| virtual vidl_vil1_image_list_codec* vidl_vil1_codec::castto_vidl_vil1_image_list_codec | ( | ) | [inline, virtual, inherited] |
Definition at line 39 of file vidl_vil1_codec.h.
| virtual vidl_vil1_avicodec* vidl_vil1_codec::castto_vidl_vil1_avicodec | ( | ) | [inline, virtual, inherited] |
| void vidl_vil1_codec::set_number_frames | ( | int | n = 0 |
) | [inline, inherited] |
Definition at line 44 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_name | ( | vcl_string | n = "" |
) | [inline, inherited] |
Definition at line 45 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_description | ( | vcl_string | d = "" |
) | [inline, inherited] |
Definition at line 46 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_format | ( | char | f = '\0' |
) | [inline, inherited] |
Definition at line 47 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_image_class | ( | char | t = 'M' |
) | [inline, inherited] |
Definition at line 48 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_bits_pixel | ( | int | d = 0 |
) | [inline, inherited] |
Definition at line 49 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_width | ( | int | x = 0 |
) | [inline, inherited] |
Definition at line 50 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_height | ( | int | y = 0 |
) | [inline, inherited] |
Definition at line 51 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_size_z | ( | int | z = 1 |
) | [inline, inherited] |
Definition at line 52 of file vidl_vil1_codec.h.
| void vidl_vil1_codec::set_size_t | ( | int | t = 1 |
) | [inline, inherited] |
Definition at line 53 of file vidl_vil1_codec.h.
| int vidl_vil1_codec::length | ( | ) | const [inline, inherited] |
Definition at line 57 of file vidl_vil1_codec.h.
| vcl_string vidl_vil1_codec::get_name | ( | ) | const [inline, inherited] |
Definition at line 58 of file vidl_vil1_codec.h.
| vcl_string vidl_vil1_codec::get_description | ( | ) | const [inline, inherited] |
Definition at line 59 of file vidl_vil1_codec.h.
| char vidl_vil1_codec::get_image_class | ( | ) | const [inline, inherited] |
Definition at line 61 of file vidl_vil1_codec.h.
| char vidl_vil1_codec::get_format | ( | ) | const [inline, inherited] |
Definition at line 62 of file vidl_vil1_codec.h.
| int vidl_vil1_codec::width | ( | ) | const [inline, inherited] |
Definition at line 63 of file vidl_vil1_codec.h.
| int vidl_vil1_codec::height | ( | ) | const [inline, inherited] |
Definition at line 64 of file vidl_vil1_codec.h.
| int vidl_vil1_codec::get_bits_pixel | ( | ) | const [inline, inherited] |
Definition at line 65 of file vidl_vil1_codec.h.
| int vidl_vil1_codec::get_bytes_pixel | ( | ) | const [inline, inherited] |
Definition at line 66 of file vidl_vil1_codec.h.
| virtual void vidl_vil1_codec::close | ( | ) | [inline, virtual, inherited] |
Perform any operations required to close down the codec.
This will typically be called just before program exit.
Definition at line 97 of file vidl_vil1_codec.h.
Definition at line 33 of file vidl_vil1_mpegcodec.h.
frame_buffer* vidl_vil1_mpegcodec::buffers_ [private] |
Definition at line 34 of file vidl_vil1_mpegcodec.h.
bool vidl_vil1_mpegcodec::inited [private] |
Definition at line 35 of file vidl_vil1_mpegcodec.h.
1.5.1