mpeg12vlc.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * MPEG-1/2 VLC
  3. * copyright (c) 2000,2001 Fabrice Bellard
  4. * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
  5. *
  6. * This file is part of FFmpeg.
  7. *
  8. * FFmpeg is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Lesser General Public
  10. * License as published by the Free Software Foundation; either
  11. * version 2.1 of the License, or (at your option) any later version.
  12. *
  13. * FFmpeg is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with FFmpeg; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21. */
  22. /**
  23. * @file
  24. * MPEG-1/2 VLC.
  25. */
  26. #ifndef AVCODEC_MPEG12VLC_H
  27. #define AVCODEC_MPEG12VLC_H
  28. #include "vlc.h"
  29. #define DC_VLC_BITS 9
  30. #define MV_VLC_BITS 9
  31. #define TEX_VLC_BITS 9
  32. #define MBINCR_VLC_BITS 9
  33. #define MB_PAT_VLC_BITS 9
  34. #define MB_PTYPE_VLC_BITS 6
  35. #define MB_BTYPE_VLC_BITS 6
  36. extern VLC ff_dc_lum_vlc;
  37. extern VLC ff_dc_chroma_vlc;
  38. extern VLC ff_mbincr_vlc;
  39. extern VLC ff_mb_ptype_vlc;
  40. extern VLC ff_mb_btype_vlc;
  41. extern VLC ff_mb_pat_vlc;
  42. extern VLC ff_mv_vlc;
  43. void ff_mpeg12_init_vlcs(void);
  44. #endif /* AVCODEC_MPEG12VLC_H */