version 1.2, 2000/12/12 02:09:11
|
version 1.3, 2001/01/22 05:01:52
|
Line 112 void DecoderUnPause(struct cvdv_cards *c
|
Line 112 void DecoderUnPause(struct cvdv_cards *c
|
void CloseCard(struct cvdv_cards *card) |
void CloseCard(struct cvdv_cards *card) |
{ |
{ |
printk(KERN_DEBUG LOGNAME ": Closing card\n"); |
printk(KERN_DEBUG LOGNAME ": Closing card\n"); |
|
card->DecoderOpen = 1; |
|
DecoderClose(card); |
|
DecoderUnPrepare(card); |
DecoderStreamReset(card); |
DecoderStreamReset(card); |
DecoderSetupReset(card); |
DecoderSetupReset(card); |
DecoderUnPrepare(card); |
|
DecoderClose(card); |
|
|
|
AudioClose(card); |
AudioClose(card); |
OSDClose(card); |
OSDClose(card); |
Line 1044 void L64021Intr(struct cvdv_cards *card)
|
Line 1045 void L64021Intr(struct cvdv_cards *card)
|
vs = card->VideoESSize; |
vs = card->VideoESSize; |
if (vs > 0) vp = (100 * v) / vs; |
if (vs > 0) vp = (100 * v) / vs; |
else vp = 0; |
else vp = 0; |
if (vp > 60) { |
if (vp > 80) { |
printk(KERN_DEBUG LOGNAME ": Delayed Video Decoder start\n"); |
printk(KERN_DEBUG LOGNAME ": Delayed Video Decoder start\n"); |
card->startingV = 0; |
card->startingV = 0; |
DecoderStartDecode(card); |
DecoderStartDecode(card); |
Line 1062 printk(KERN_DEBUG LOGNAME ": Delayed Vid
|
Line 1063 printk(KERN_DEBUG LOGNAME ": Delayed Vid
|
as = card->AudioESSize; |
as = card->AudioESSize; |
if (as > 0) ap = (100 * a) / as; |
if (as > 0) ap = (100 * a) / as; |
else ap = 0; |
else ap = 0; |
if (ap > 60) { |
if (ap > 80) { |
printk(KERN_DEBUG LOGNAME ": Delayed Audio Decoder start\n"); |
printk(KERN_DEBUG LOGNAME ": Delayed Audio Decoder start\n"); |
AudioSetPlayMode(card, AUDIO_PLAY); |
AudioSetPlayMode(card, AUDIO_PLAY); |
if (!AudioStart(card)) { |
if (!AudioStart(card)) { |