- switch( frame->get_color_model() ) {
- DRAW_PIXEL(BC_RGB888,x, y, 3, 0, 0xff, unsigned char);
- DRAW_PIXEL(BC_RGBA8888,x, y, 4, 0, 0xff, unsigned char);
- DRAW_PIXEL(BC_RGB_FLOAT,x, y, 3, 0, 1.0, float);
- DRAW_PIXEL(BC_RGBA_FLOAT,x, y, 4, 0, 1.0, float);
- DRAW_PIXEL(BC_YUV888,x, y, 3, 1, 0xff, unsigned char);
- DRAW_PIXEL(BC_YUVA8888,x, y, 4, 1, 0xff, unsigned char);
- DRAW_PIXEL(BC_RGB161616,x, y, 3, 0, 0xffff, uint16_t);
- DRAW_PIXEL(BC_YUV161616,x, y, 3, 1, 0xffff, uint16_t);
- DRAW_PIXEL(BC_RGBA16161616,x, y, 4, 0, 0xffff, uint16_t);
- DRAW_PIXEL(BC_YUVA16161616,x, y, 4, 1, 0xffff, uint16_t);
+int MotionCvVVFrame::draw_pixel(int x, int y)
+{
+ VFrame::draw_pixel(x+0, y+0);
+ for( int i=1; i<n; ++i ) {
+ VFrame::draw_pixel(x-i, y-i);
+ VFrame::draw_pixel(x+i, y+i);