version 1.3, 2001/01/22 05:01:52
|
version 1.4, 2001/01/31 14:19:02
|
Line 111 void DecoderUnPause(struct cvdv_cards *c
|
Line 111 void DecoderUnPause(struct cvdv_cards *c
|
|
|
void CloseCard(struct cvdv_cards *card) |
void CloseCard(struct cvdv_cards *card) |
{ |
{ |
|
MargiFlush(card); |
printk(KERN_DEBUG LOGNAME ": Closing card\n"); |
printk(KERN_DEBUG LOGNAME ": Closing card\n"); |
card->DecoderOpen = 1; |
card->DecoderOpen = 1; |
DecoderClose(card); |
DecoderClose(card); |
Line 120 void CloseCard(struct cvdv_cards *card)
|
Line 121 void CloseCard(struct cvdv_cards *card)
|
|
|
AudioClose(card); |
AudioClose(card); |
OSDClose(card); |
OSDClose(card); |
|
L64021Init(card); |
} |
} |
|
|
|
|
Line 1045 void L64021Intr(struct cvdv_cards *card)
|
Line 1047 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 > 80) { |
if (vp > 40) { |
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 1063 printk(KERN_DEBUG LOGNAME ": Delayed Vid
|
Line 1065 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 > 80) { |
if (ap > 40) { |
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)) { |