|
Public Member Functions |
| | VFrame (unsigned char *data, int w, int h, int color_model=BC_RGBA8888, long bytes_per_line=-1) |
| | VFrame (unsigned char *data, long y_offset, long u_offset, long v_offset, int w, int h, int color_model=BC_RGBA8888, long bytes_per_line=-1) |
| | VFrame (unsigned char *png_data) |
| | VFrame (const PngData &png_data) |
| | VFrame (VFrame &vframe) |
| | VFrame () |
| | ~VFrame () |
| int | equivalent (VFrame *src) |
| int | reallocate (unsigned char *data, long y_offset, long u_offset, long v_offset, int w, int h, int color_model, long bytes_per_line) |
| void | set_memory (unsigned char *data, long y_offset, long u_offset, long v_offset) |
| void | set_compressed_memory (unsigned char *data, int data_size, int data_allocated) |
| int | read_png (unsigned char *data) |
| int | read_png (const PngData &png_data) |
| int | equals (VFrame *frame) |
| int | params_match (int w, int h, int color_model) |
| long | set_shm_offset (long offset) |
| long | get_shm_offset () |
| int | copy_from (VFrame *frame) |
| int | clear_frame () |
| int | allocate_compressed_data (long bytes) |
| long | get_number () |
| void | set_number (long number) |
| long | get_compressed_allocated () |
| long | get_compressed_size () |
| long | set_compressed_size (long size) |
| int | get_color_model () |
| unsigned char * | get_data () |
| unsigned char ** | get_rows () |
| unsigned char * | get_y () |
| unsigned char * | get_u () |
| unsigned char * | get_v () |
| int | get_w () |
| int | get_h () |
| int | get_w_fixed () |
| int | get_h_fixed () |
| int | get_bytes_per_pixel () |
| long | get_bytes_per_line () |
| long | get_data_size () |
| void | rotate270 () |
| void | rotate90 () |
| void | flip_vert () |
| int | get_field2_offset () |
| int | set_field2_offset (int value) |
| void | set_keyframe (int value) |
| int | get_keyframe () |
| void | overlay (VFrame *src, int out_x1, int out_y1) |
Static Public Member Functions |
| static int | get_scale_tables (int *column_table, int *row_table, int in_x1, int in_y1, int in_x2, int in_y2, int out_x1, int out_y1, int out_x2, int out_y2) |
| static int | calculate_bytes_per_pixel (int colormodel) |
| static long | calculate_data_size (int w, int h, int bytes_per_line=-1, int color_model=BC_RGB888) |
Private Member Functions |
| int | clear_objects () |
| int | reset_parameters () |
| void | create_row_pointers () |
| int | allocate_data (unsigned char *data, long y_offset, long u_offset, long v_offset, int w, int h, int color_model, long bytes_per_line) |
Private Attributes |
| int | field2_offset |
| int | shared |
| long | shm_offset |
| long | bytes_per_line |
| int | bytes_per_pixel |
| unsigned char * | data |
| unsigned char ** | rows |
| int | color_model |
| long | compressed_allocated |
| long | compressed_size |
| unsigned char * | y |
| unsigned char * | u |
| unsigned char * | v |
| long | y_offset |
| long | u_offset |
| long | v_offset |
| int | w |
| int | h |
| unsigned char * | image |
| long | image_offset |
| long | image_size |
| long | sequence_number |
| int | is_keyframe |
Friends |
| class | PngReadFunction |