X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbccapture.h;h=787fb4a6455fb94d429235b780580ff598604621;hb=17b4e5a06157865391c2d07b552b81d84665bcae;hp=ab86daea34706953dc934b7a368c004998e7f3a4;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bccapture.h b/cinelerra-5.1/guicast/bccapture.h index ab86daea..787fb4a6 100644 --- a/cinelerra-5.1/guicast/bccapture.h +++ b/cinelerra-5.1/guicast/bccapture.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef BCCAPTURE_H @@ -39,7 +39,8 @@ public: int init_window(const char *display_path); // x1 and y1 are automatically adjusted if out of bounds - int capture_frame(VFrame *frame, int &x1, int &y1); + int capture_frame(VFrame *frame, int &x1, int &y1, + int do_cursor=0); // the scale of the cursor if nonzero int get_w(); int get_h(); @@ -51,7 +52,7 @@ private: int delete_data(); int get_top_w(); int get_top_h(); - + inline void import_RGB565_to_RGB888(unsigned char* &output, unsigned char* &input) { *output++ = (*input & 0xf800) >> 8;