summaryrefslogtreecommitdiff
path: root/libavformat/x11grab.c
Commit message (Collapse)AuthorAge
* Correct one Doxygen entry, replacing NOMEM with AVERROR(ENOMEM).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* implement new grabbing interface, as described here:Ramiro Polla2007-02-14
| | | | | | | | | | ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920 patch by Ramiro Polla % ramiro A lisha P ufsc P br % Original thread: Date: Jan 31, 2007 8:56 PM Subject: [Ffmpeg-devel] [PATCH] New grabbing interface Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated PIX_FMT names by the newer variants.Diego Biurrun2007-02-07
| | | | Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make x11grab output its warning that it couldn't find the mouse pointer onlyPanagiotis Issaris2007-02-02
| | | | | | | once. This prevents flooding of the terminal when grabbing from a different X-screen. Originally committed as revision 7808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: pallete --> paletteDiego Biurrun2007-01-13
| | | | Originally committed as revision 7444 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow provision of displaynumber, screennumber, x-offset and y-offset parametersPanagiotis Issaris2006-12-15
| | | | | | to the x11grab device. Originally committed as revision 7320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont segv is ap->device is not set, display error messageBaptiste Coudurier2006-12-13
| | | | Originally committed as revision 7312 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation, use the standard INT64_C macroBaptiste Coudurier2006-12-13
| | | | Originally committed as revision 7311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove trailing whitespace left overGuillaume Poirier2006-12-13
| | | | Originally committed as revision 7310 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Feedback from Karl H. Beckers about mouse cursorEdouard Gomez2006-12-13
| | | | | | (patch by Edouard Gomez) Originally committed as revision 7309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 6: Overall cleanups again.Edouard Gomez2006-12-13
| | | | | | | | | | | | | | | | | | | - License should be fixed now (finally) - Added doxygen comments - Cleaned up the X11Grab structure - Renamed X11Grab structure to x11_grab_s - Changed some Java stylish named functions to more C'stylish ones - Changed order of some parameters so they are more libc alike with destination as first parameter - Use AVRational where relevant - Fixed time calculation - Cleaned up a few little tiny things around the sources + removed a goto + removed unused vars + etc... (Patch by Edouard Gomez) Originally committed as revision 7308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 5: Mouse cursor painting reduc and more cleanupsEdouard Gomez2006-12-13
| | | | | | | | | - License is for FFmpeg, not "this program" - Rewrite mouse cursor painting functions - Cosmetic on 2 function declarations (patch by Edouard Gomez) Originally committed as revision 7307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 3&4 stage: FFmpeg style aint't my styleEdouard Gomez2006-12-13
| | | | | | | | - Tabs are 4 width - No tabs allowed (patch by Edouard Gomez) Originally committed as revision 7306 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 2 stage: First feedback from review commentsEdouard Gomez2006-12-13
| | | | | | | | | | | | | - License is GPL, simplify the license header to make it clear - Add myself to license header, clarify who did what - Use 64 bit PTS - Move mouse bitmaps to the mouse cursor painting function. Make them const again - Properly detach X11 from the shared memory segment on close - Destroy X11 image on close (patch by Edouard Gomez) Originally committed as revision 7305 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 1 stage: Improve maintainability of the cursoir painting codeEdouard Gomez2006-12-13
| | | | | | | | | | | - Turned the mouse cursor painting code into a macro for more maintainability - Dropped mouse cursor painting in 8bit mode - Removed log when dropping frames - Free the shared memory segment on close (patch by Edouard Gomez) Originally committed as revision 7304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adapt the patch to more recent FFmpeg habitsEdouard Gomez2006-12-13
| | | | | | | | | | - Indentation - Use av_log instead of fprintf - Removed strdup of the device name. It was unused - Cleaned things a bit (patch by Edouard Gomez) Originally committed as revision 7303 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original X11 device demuxer patch from Clemens FruhwirthGuillaume Poirier2006-12-13
| | | | | | | | | | - Build system integration is equivalent to RFC #6 patch - Same rule applies to ffmpeg.c/allformats.[c|h] - x11grab.c is from Clemens Fruhwirth except the x11 grab structure for libavformat registration is renamed to match build system integration. Originally committed as revision 7302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert broken commit of x11 device demuxer patchGuillaume Poirier2006-12-13
| | | | Originally committed as revision 7301 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Feedback from Karl H. Beckers about mouse cursorGuillaume Poirier2006-12-12
| | | | | | Reverse direction of the mouse cursor pointer Originally committed as revision 7300 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 6: Overall cleanups again.Guillaume Poirier2006-12-12
| | | | | | | | | | | | | | | | | | - License should be fixed now (finally) - Added doxygen comments - Cleaned up the X11Grab structure - Renamed X11Grab structure to x11_grab_s - Changed some Java stylish named functions to more C'stylish ones - Changed order of some parameters so they are more libc alike with destination as first parameter - Use AVRational where relevant - Fixed time calculation - Cleaned up a few little tiny things around the sources + removed a goto + removed unused vars + etc... Originally committed as revision 7299 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 5: Mouse cursor painting reduc and more cleanupsGuillaume Poirier2006-12-12
| | | | | | | | - License is for FFmpeg, not "this program" - Rewrite mouse cursor painting functions - Cosmetic on 2 function declarations Originally committed as revision 7298 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 3&4 stage: FFmpeg style aint't my styleGuillaume Poirier2006-12-12
| | | | | | | - Tabs are 4 width - No tabs allowed Originally committed as revision 7297 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 2 stage: First feedback from review commentsGuillaume Poirier2006-12-12
| | | | | | | | | | | | - License is GPL, simplify the license header to make it clear - Add myself to license header, clarify who did what - Use 64 bit PTS - Move mouse bitmaps to the mouse cursor painting function. Make them const again - Properly detach X11 from the shared memory segment on close - Destroy X11 image on close Originally committed as revision 7296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RFC 1 stage: Improve maintainability of the cursoir painting codeGuillaume Poirier2006-12-12
| | | | | | | | | | - Turned the mouse cursor painting code into a macro for more maintainability - Dropped mouse cursor painting in 8bit mode - Removed log when dropping frames - Free the shared memory segment on close Originally committed as revision 7295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adapt the patch to more recent FFmpeg habitsGuillaume Poirier2006-12-12
| | | | | | | | | - Indentation - Use av_log instead of fprintf - Removed strdup of the device name. It was unused - Cleaned things a bit Originally committed as revision 7294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original X11 device demuxer patch from Clemens FruhwirthGuillaume Poirier2006-12-12
- Build system integration is equivalent to RFC #6 patch - Same rule applies to ffmpeg.c/allformats.[c|h] - x11grab.c is from Clemens Fruhwirth except the x11 grab structure for libavformat registration is renamed to match build system integration. Originally committed as revision 7293 to svn://svn.ffmpeg.org/ffmpeg/trunk