Annotation of margi2/decoder.h, revision 1.1
1.1 ! cvs 1: /*
! 2: decoder.h
! 3:
! 4: Copyright (C) Christian Wolff for convergence integrated media.
! 5:
! 6: This program is free software; you can redistribute it and/or modify
! 7: it under the terms of the GNU General Public License as published by
! 8: the Free Software Foundation; either version 2 of the License, or
! 9: (at your option) any later version.
! 10:
! 11: This program is distributed in the hope that it will be useful,
! 12: but WITHOUT ANY WARRANTY; without even the implied warranty of
! 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 14: GNU General Public License for more details.
! 15:
! 16: You should have received a copy of the GNU General Public License
! 17: along with this program; if not, write to the Free Software
! 18: Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
! 19: */
! 20:
! 21: #ifndef CVDV_DECODER_H
! 22: #define CVDV_DECODER_H
! 23:
! 24: #include "cardbase.h"
! 25:
! 26:
! 27: int DecoderGetNavi(struct cvdv_cards *card, u8 * navidata);
! 28:
! 29: // returns 1 on overrun, 0 on no error
! 30: int DecoderQueueNavi(struct cvdv_cards *card, u8 * navidata);
! 31:
! 32: u32 ParseSCR(const u8 * scrdata);
! 33:
! 34: u32 SetSCR(struct cvdv_cards *card, u32 SCR_base);
! 35:
! 36: void DecoderPause(struct cvdv_cards *card);
! 37:
! 38: void DecoderUnPause(struct cvdv_cards *card);
! 39:
! 40: void CloseCard(struct cvdv_cards *card);
! 41:
! 42:
! 43: void DecoderReadAudioInfo(struct cvdv_cards *card);
! 44:
! 45: void DecoderReadAuxFifo(struct cvdv_cards *card);
! 46:
! 47: void DecoderReadDataFifo(struct cvdv_cards *card);
! 48:
! 49: int DecoderReadNavipack(struct cvdv_cards *card);
! 50:
! 51: int AudioStart(struct cvdv_cards *card);
! 52:
! 53: // Slow mode: displays every field <slowfactor> times
! 54: // slowfactor=0 disables this mode.
! 55: void VideoSlow(struct cvdv_cards *card, int slowfactor);
! 56:
! 57: // Puts decoder in pause after so many fields
! 58: void StepsToPause(struct cvdv_cards *card, int steps);
! 59:
! 60: void L64021Intr(struct cvdv_cards *card);
! 61: //static void L64021Intr(struct cvdv_cards *card);
! 62:
! 63: // Enable the IRQ Masks
! 64: void L64021InstallIntr(struct cvdv_cards *card);
! 65:
! 66: int L64021RemoveIntr(struct cvdv_cards *card);
! 67:
! 68: int L64021Reset(struct cvdv_cards *card);
! 69:
! 70: int L64021Setup(struct cvdv_cards *card);
! 71:
! 72: int L64021Init(struct cvdv_cards *card);
! 73:
! 74: #endif /* CVDV_DECODER_H */
LinuxTV legacy CVS <linuxtv.org/cvs>