summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
AgeCommit message (Collapse)Author
2007-08-03get_frame.c: fix segmentation fault with x, y !=0 when using --full-shotsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@398 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-08-03queryextensions.c: recordMyDesktop can run now without the presenceiovar
of XDamage, if --full-shots is specified. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@397 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-17get_frame.c: extra parameters pdata->brwind.rgeom.x andiovar
pdata->brwind.rgeom.y in BlocksFromList rectinsert.c: added x_offset, y_offset arguments in BlocksFromList to fix segfaults when recording an area instead of the whole desktop. initialize_data.c: initialize dummy_p_size on all cases git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@391 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-17capture_sound.c: fix incorrect allocation of newbuffiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@390 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08update_image.c: removed mutex locking from UpdateImageiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@375 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08rmdthreads.c: header inclusion changes.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@374 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08rectinsert.c: added BlocksFromList function to extract changed areasiovar
for cache from the damage list. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@373 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08recordmydesktop.c: added initialization for cache block arrays.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@372 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08poll_damage.c: header inclusion changesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@371 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08opendev.c: header inclusion changes to avoid recompilationiovar
when not needed git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@370 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08initialize_data.c: whitespace changesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@369 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08get_frame.c: enabled dbuffering on full shots and fixed cursor issueiovar
on it. Uncommented glx code(preliminary-unsupported-unfunctional). It can be enabled with CFLAGS='-DUSE_GLX_CAP' and LDFLAGS='-lGL -lGLU ' . git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@368 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-07-08cache_frame.c: removed changed blocks calculation as thisiovar
information is now extracted at rgb2yuv conversion for full shots and from damage events in xdamage mode. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@367 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-11get_frame.c:trivial commit,moved a declaration on top of the block, with the ↵iovar
rest git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@351 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-10get_frame.c: removed some duplicated code, related to handlingiovar
the xfixes and dummy cursors. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@349 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-08get_frame.c: calculate x and y offset of the cursor so that it will appeariovar
correctly. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@346 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-08rmd_jack.c: increased client-name buffersize to 32 from 22iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@345 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-08rmd_jack.c: postfixed jack client name with application pid, so multipleiovar
instances of recordMyDesktop can connect to a Jack Server. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@344 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-08get_frame.c: free back_buffer shared pixmap when dbuff is enablediovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@343 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-01setbrwindow.c: preserve windowid in brwin struct (do not overwrite with root ↵iovar
window) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@342 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-06-01poll_damage.c: additional XDamageCreate on root windowiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@341 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-05-24Restored --full-shots functionality by disabling double bufferingiovar
(since there will be some time before the feature is completed and meanwhile, it is better for CVS to be completely functional). get_frame.c:106 Change 0 to pdata->args.full_shots to reenable dbuffering git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@340 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-05-08removed a testing fprintfiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@335 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-05-08changed zero-compression to compress-cacheiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@334 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-05-08added double buffering when capturing in full-shots.iovar
This way, only pixels that have changed are converted to yuv git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@333 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-05-03added xhot,yhot in xfixes cursor positioning.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@331 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-04-14well... it only took me a few months to notice that the Ub and Vr componentsiovar
are the same and don't need to be held on separate arrays... (replaced them with on UbVr array) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@304 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-03-13fixed xdamage with xshm andiovar
removed anything related to conditional shared memory usage. Added GetZPixmapShm.Cleaned up pdata stuct from unneeded members. Removed argumednts related to conditional shared (--no-cond-shared, --shared threshold).Changed default for Shm and --with-shared is now --no-shared. Also, dummy cursor has been shaped up a bit. Version changed to 0.3.4-cvs. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@293 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-27top_srcdir instead of ../ in include pathiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@291 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-20added configurable ringbuffer size,iovar
corrected a mistake that blocked compilation(from last commit at shminfo initialization), removed the options from USAGE in the manpage and the program ,since it's too bloated to be usefull git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@285 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-19added check so program will exit before the attach, when it fails to obtain ↵iovar
the shared memory git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@284 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-15*** empty log message ***iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@283 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-07Added support for recording audio through jack.iovar
libjack is dlopened so there's no runtime dependency on it. Ports must be connected at startup. New files: src/rmd_jack.c git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@273 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-02changed OSS buffer scheme, to work with frames(like ALSA) and reduce ifdefsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@272 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-02Fixed bug on >1 channels audio recording with OSSiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@271 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-29Fixed all condition variables, to be waited with correct mutexes.iovar
This fixed also the wakeup from pause bug. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@269 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-29added check in configure.ac for machine/endian.h (BSD).iovar
Fixed fpe in FlushBlock git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@268 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-29Added support for compilation with OSS, instead of ALSA.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@267 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-27Changed cache format to utilize better interframe encodingiovar
and thus require sufficiently less hard disk space. Instead of the old (plane_width/16)*(plane_height/16) blocksize, now we are using 16x16 for the y plane and 8x8 blocks for the u,v planes. Also this byte alignment allows comparing of blocks to happen by first casting into a larger datatype(u_int64_t if available, u_int32_t else). This way we do as little as 1/8 or 1/4 of comparisons. This essentially offsets the higher CPU required to check the now increased number of blocks, and even provides a slight performance boost from the previous way of caching. Also, the load cache loop has been debloated, by moving much of the functionality that previously resided in an if evaluation statement, into anew function(ReadFrame). For further abstraction, ReadFrame utilizes ReadZF to do the actual reading. ReadZF determines if a gzread or an fread has to be done. Another improvement in the program is that, now, write operations on the disk, happen in 4 kbytes pages, minimizing thus the overall cost of access. Last change in this set is that the indexes in the CachedFrame and FrameHeader datatypes, are now u_int32_t's, to accomodate the possibly large number of blocks(could have been 16 bit types but that would give 4096*4096 max resolution, which might have caused problems in the future) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@266 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-21changed formatting of the code, to never go beyond column 80iovar
(rule is purely for visual purposes, macro expansions are not taken into account). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@262 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-21Added support for 16bpp color depth.iovar
Currently the UPDATE_*_PLANE(S)_* macros are duplicated, so they might need some reworking (they are perfectly functional though). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@260 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-20Concatated all UPDATE_YUV_BUFFER_* macros into one, UPDATE_YUV_BUFFER.iovar
This one is further broken into UPDATE_(X)_PLANE(S)_(Y) macros, where X is Y or UV and Y is 32 or 16(color depth). This will allow easier incorporation of 16bpp support, without code duplication(where it can be avoided) and without bloating the toplevel calls of these macros with multiple similar blocks of code. Also changed toplevel check of depth, to allow running on 16 bpp git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@259 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-18New files: initialize_data.c, rmdthreads.c.iovar
Cleaned-up main, moved initialization tasks to InitializeData and all thread creation in rmdThreads. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@258 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-18New file: encode_cache.c.iovar
Moved some of the code on cache encoding, from main to a new fuction(EncodeCache). Added EncodeCache declaration in rmdfunc.h git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@257 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-15removed unused variable tmutiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@240 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-15replaced wait on cond_var with a usleep for the duration of the first frameiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@239 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-15made sure that sound capture will wait for the firstiovar
time expiration,before it starts(wait on cond_var before loop). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@238 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-13added -buffer-size option,iovar
along with relevant documentation, arg parsing, etc. Removed obolete and unused encoding variable. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@237 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-11removed fprintf line that caused segfault after unpauseiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@233 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-10Many changes, mostly focusing around proper interleaving ofiovar
theora and vorbis streams (which should now be correct). Also missing eos has been taken care. New condition variables have been added to signal end of encoding threads and avoid lockups, caused by the new configuration for eos. Also the main thread handles better the joins now, making sure that the encoding threads do not get stuck waiting. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@230 f606c939-3180-4ac9-a4b8-4b8779d57d0a
© All Rights Reserved