LinuxTV

CVS log for libsoftmpeg/src/internal.h

[BACK] Up to [DVB] / libsoftmpeg / src

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Mar 31 10:46:12 2004 UTC (20 years, 2 months ago) by hunold
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -4 lines
- fix compilation against very recent DirectFB versions

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Mar 23 11:20:51 2004 UTC (20 years, 2 months ago) by hunold
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -1 lines
- include SOFTMPEG_DEBUG_AVSYNC if build with "--enable-debug"
- make some debug messages more verbose
- simplify / fix calculation of additional wait cycles to compensate non-50Hz timings
- adjust high watermark down to 50% (66% before)
- simplify handling in audio_playout

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 17 14:23:06 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -2 lines
- rip out all fusionsound stuff from main audio.c, put it to a_fusionsound.c, put a lean api around it
- check for availble audio ouput "devices" in audio.c, support fusionsound, follow changes in audio.c
- add copyright headers to all of the new files
- make all functions static in v_directfb.c

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Mar 16 14:40:04 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -2 lines
- rip out all DirectFB functionality from video.c and put it into a separate file v_directfb.c

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Mar 11 16:44:59 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -1 lines
- added el-cheapo skipping mode SOFTMPEG_SKIP, which can skip a specified amount of seconds

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:18:58 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
- replace ..._pause() function with a more generic softmpeg_decoder_set_mode() function
- follow these changes in demo application

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Mar 11 13:40:15 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -0 lines
- added a simple pause function. basically works, but won't work this way with rewind/fast forward

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Mar 10 19:59:05 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1 lines
- accidently enabled unconditional debug messages

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Mar 10 19:58:33 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2 lines
- make sure to set the fd to O_NONBLOCK, so that the feed thread doesn't block in read()
- add softmpeg_decoder_hard_resync(), call that if audio.c detects pts skew and other weird stuff where a resync is necessary
- extend softmpeg_decoder_set_pids() so you can specify an fd. the polling thread will use this new fd afterwards. useful for switching between live-tv and recordings
- fixed some debug messages in audio.c

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 10 13:34:43 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -0 lines
- add callback function to softmpeg_decoder_polling_thread_create(). if data
has been processed you are called back; this is useful if you'd like to implement
pvr functionality with softmpeg

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 9 11:28:39 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -0 lines
- implement audio_set_volume() for easier and safer muting/unmuting
- add structure init to video_create()/audio_create()
- move inital_sync handling to function

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 2 13:47:26 2004 UTC (20 years, 3 months ago) by hunold
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -3 lines
- shuffle around some debug messages:
  - replace AUDIO_PES with AUDIO_DEBUG and VIDEO_PES with VIDEO_DEBUG
    to make debugging a/v desyncing easier
  - add debug messages that the pts of every video frame and the pts
    of every audio chunk
  - disable VIDEO_PES and AUDIO_PES messages by default, the produce too
    much noise when debugging
- if the audio buffer has not enough data, make sure that we insert enough
  silence, make sure that our ->len information is accurate, otherwise
  audio underflow occurs when enough data is lost

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 21 16:23:47 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +11 -2 lines
- make "--enable-debug" configure switch actually work

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 18 22:15:50 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -0 lines
- add mutex to protect the FusionSound stream, needed because the
  stream may be changed anytime when the sample rate changes
- don't exit(-1) when audio decoding fails (usefull for vdr...)
- add a avsync_thread for long term av sync, currently it only fetches
  some informations and prints it out
- don't let the feed thread catch any signals

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Feb 17 17:34:28 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -0 lines
- use pthread_cond_timedwait() instead of pthread_cond_wait() and check
for d->cancel_threads every 80ms. this prevents hanging upon softmpeg exit

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Feb 17 12:02:16 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
- disable SOFMPEG_AUDIO_DEBUG by default again
- enhance the audio experience while zapping: mute the FusionSound stream before zapping, unmute it when a/v sync is achieved
- enhance the video experience while zapping: blank the video before zapping
- lock access to the audio setting with video mutex
- add a couple of sanity checks to check_and_write_audio_pes() to make the code more robust
- check for multiple creation of the feed thread, wait for init using sched_yield()
- upon softmpec_decoder_stop(), set alls pids to 0x1fff, so nothing is decoded anymore
- fix debug output if VIDEO_AVSYNC() is used

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Feb 13 19:01:06 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -0 lines
- don't erase the buffer ptr when resetting the audio decoder
- remove some dead code
- make ERRORs about decoding failures only WARNings
- keep the video threads from catching any signals

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Feb 13 14:32:53 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
- make is_pes_packet_start() return the stream identifier in case it is a pes packet start
- make raw audio pes buffer use malloc() instead of a static array
- add audio_decoder_destroy(), use it in softmpeg core
- change all AUDIO_PES_TO_FRAME_DEBUG message to use new AUDIO_PES()
- move sync logic from audio_handle_pes_data() to separate function
- fix pes deconding for raw pes frames (like vdr spits out)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 13 13:29:42 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -0 lines
- remove some obsolete debug messages from demo application
- add c++ foo to external softmpeg header file
- split packet handling into ts handling and pes packet handling for both audio and video (pes handling isn't working yet)
- remove some commonly used pes header parsing stuff to internal.h

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 13 10:17:58 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -0 lines
DOKs last changes:
- fix return code handling for feed thread
- use softmpeg_sleep() to sleep if audio buffer is filled too much (useful for file playback)

Other changes:
- add SOFTMPEG_FATAL() which terminates execution (currently only used if avcodec cannot be reinitialized, although it was initialized before)
- remove some dead code that was only used in the very beginning
- change lots of fprintf()s from critical erros to SOFTMPEG_ERROR
- remove old style pprintf()
- add a couple of "fixme"s for important things to do
-

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Feb 13 09:53:14 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +69 -0 lines
some more of DOKs changes:
- add SOFTMPEG_DEBUG(), SOFTMPEG_ERROR() and SOFTMPEG_WARN() macros inspired from DirectFB
- replace audio printf()s with SOFTMPEG_DEBUG_AUDIO macro (maps to SOFTMPEG_DEBUG())
- replace fixed prebuffering delay with low/mid/high watermarks (should be in 16.16 percent though) change code accordingly
- remove bogus "manual prebuffering" hack (fixed in FusionSound)
- add "DFBBoolean playing;" to audio_decocer, keep track of current playback status
- add softmpeg_sleep() replacement for dozens of nanosleep() calls
- add softmpeg_get_millis() replacement for gettimeofday() calls
- compile fix for missing variable in video.c caused by last checking

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 13 09:27:45 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -2 lines
- apply DOKs cosmetic changes

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 10 12:46:49 2004 UTC (20 years, 4 months ago) by dok
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Avoid endless loop in feed thread.

Added myself to the copyright headers.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 10 12:32:56 2004 UTC (20 years, 4 months ago) by dok
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -0 lines
Stabilized A/V sync and decoding by using correct arrangements
of Flip(), WaitForSync(), SetField() and fine tuned timings.

Automatically use deinterlacing if supported.

Increased audio prebuffering from 25% to 50%.

Use SCHED_RR for feed thread.

Use dfb_memcpy() by adding a hackish extern declaration for it.

Enhanced debugging output.

Cleaned up demo application code.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Feb 6 10:56:16 2004 UTC (20 years, 4 months ago) by hunold
Branches: MAIN
Initial release. It's done.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

LinuxTV legacy CVS <linuxtv.org/cvs>