// direct copy with no alpha
int copy_from(VFrame *frame);
// BC_CModels::transfer
- int transfer_from(VFrame *frame, int bg_color=0);
+ int transfer_from(VFrame *frame, int bg_color, int in_x, int in_y, int in_w, int in_h);
+ int transfer_from(VFrame *frame, int bg_color=0) {
+ return transfer_from(frame, bg_color, 0,0, frame->get_w(),frame->get_h());
+ }
// Required for YUV
int clear_frame();
int allocate_compressed_data(long bytes);
long get_compressed_allocated() { return compressed_allocated; }
long get_compressed_size() { return compressed_size; }
void set_compressed_size(long size) { compressed_size = size; }
- double get_timestamp() { return timestamp; }
+ double get_timestamp() { return timestamp; }
void set_timestamp(double time) { timestamp = time; }
// return an array of pointers to rows
-
-
// ================================ OpenGL functions ===========================
// Defined in vframe3d.C
// Location of working image if OpenGL playback
// This clears the stacks and the param table
void clear_stacks();
- void draw_rect(int x1, int y1, int x2, int y2);
- void draw_line(int x1, int y1, int x2, int y2);
void draw_pixel(int x, int y);
- void draw_arrow(int x1, int y1, int x2, int y2);
+ void draw_line(int x1, int y1, int x2, int y2);
+ void draw_smooth(int x1, int y1, int x2, int y2, int x3, int y3);
+ void smooth_draw(int x1, int y1, int x2, int y2, int x3, int y3);
+ void draw_rect(int x1, int y1, int x2, int y2);
+ void draw_arrow(int x1, int y1, int x2, int y2, int sz=10);
+ void draw_x(int x1, int y1, int sz=2);
+ void draw_t(int x1, int y1, int sz=2);
// 3D scene graphs
// Not integrated with shmem because that only affects codecs