summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
AgeCommit message (Collapse)Author
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
2006-12-10underrun message correctioniovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@229 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-10multiplexing of vorbis-theora streams correctediovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@228 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-09Patch for non-compliant window managers,iovar
by Andreas Zwinkau git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@227 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-09corrected(added) eos on both streamsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@226 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-09minor corrections in sound handlingiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@225 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-08reverted to 1.5iovar
memcmp isn't faster after all (it just doesn't register at gprof) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@224 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-08faster CompareBlocksiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@223 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-04string formattingiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@212 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-04Added custom X error handler, toiovar
avoid BadWindow on XGetWindowAttributes, with XQueryTree git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@210 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-22fix for paused condition, stop counting total framesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@195 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-16added 1 more byte in base_name malloc(terminating zero was missing from length).iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@172 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-14got rid of all the casting madness, from the threads.iovar
(casting happens only during pthread_create now to avoid the warning) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@164 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-14file streams flushing before final coseiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@163 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-11cache cleanup on SIGABRTiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@161 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-11Cache files are now broken on 500mb parts, measured always as uncomressed bytesiovar
as gzwrite returns them, in order to avoid gzlib 2 gb file size limit. CacheFileN,SwapCacheFilesWrite,SwapCacheFilesRead functions have been added to achieve this without messing with normal operation(i.e. the rest of the program keeps operating on the same file pointer). Also PurgeCache function has been added to separate the task from encoding itself. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@160 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-09Writting and reading cache, is changed to happen throughiovar
normal fwrites-freads, when zero compression is selected as an option git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@159 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-08Replaced all files with the ones in the rMD-exp module.iovar
(this should have been a branch not a module, but it's too late now. rMD-exp module will be purged but if anyone's interested on the not-so descriptive commit logs, they'll be on the attic. This is the start of the 0.3 branch. Files will will be tagged as v0_3_0 in a new branch before final release. Snapshot prior to this release has tagged as v0_2_7 in a new branch. All releases will be tagged and branched from now on. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@153 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-23reverted to version 1.4iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@109 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-23reopen device handlingiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@107 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-23av sync imporovementsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@106 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-23non-blocking audio openiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@105 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-01check if file was opened succesfullyiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@81 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-01major segfault bug, related to libogg thread safety, resolvediovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@78 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-01more leaks fixediovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@77 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-01*** empty log message ***iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@76 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-10-01major memory leakage fixediovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@75 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-28fix, in order to not hang on the encoderiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@74 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-28fix, in order to not hang on the encoderiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@73 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-28frame duplication instead of dropping soundiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@72 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-28framedrop counteriovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@71 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-15exit status valuesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@48 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-15v0.2.5, xfixes cursoriovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@47 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-08-13updated contact in license notice, added missing license notes,authors ↵biocrasher
contact updated git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@43 f606c939-3180-4ac9-a4b8-4b8779d57d0a
© All Rights Reserved