[cvs] / xvidcore / src / bitstream / mbcoding.h Repository:
ViewVC logotype

View of /xvidcore/src/bitstream/mbcoding.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.10 - (download) (annotate)
Sun Nov 17 00:57:57 2002 UTC (17 years, 9 months ago) by edgomez
Branch: MAIN
CVS Tags: release-0_9_0, release-0_9_1, release-0_9_2
Branch point for: release-0_9_1-fixes
Changes since 1.9: +56 -0 lines
License changed
 *  - Macro Block coding functions -
 *  Copyright(C) 2002 Michael Militzer <isibaar@xvid.org>
 *  (at your option) any later version.
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  GNU General Public License for more details.
 *  holders of XVID explicitly forbid distribution in the following
 *  countries:
 *    - Japan
 *    - United States of America
 *  Linking XviD statically or dynamically with other modules is making a
 *  GNU General Public License cover the whole combination.
 *  permission to link XviD with independent modules that communicate with
 *  which is not derived from or based on XviD.
 *  permission to release a modified version without this exception; this
 *  exception also makes it possible to release a modified version which
 *  carries forward this exception.
 * $Id: mbcoding.h,v 1.10 2002/11/17 00:57:57 edgomez Exp $

#ifndef _MB_CODING_H_
#define _MB_CODING_H_

#include "../portab.h"
#include "../global.h"
#include "bitstream.h"

void init_vlc_tables(void);

int check_resync_marker(Bitstream * bs, int addbits);

int get_mcbpc_intra(Bitstream * bs);
int get_mcbpc_inter(Bitstream * bs);
int get_cbpy(Bitstream * bs,
			 int intra);
int get_mv(Bitstream * bs,
		   int fcode);

int get_dc_dif(Bitstream * bs,
			   uint32_t dc_size);
int get_dc_size_lum(Bitstream * bs);
int get_dc_size_chrom(Bitstream * bs);

void get_intra_block(Bitstream * bs,
					 int16_t * block,
					 int direction,
					 int coeff);
void get_inter_block(Bitstream * bs,
					 int16_t * block);

#endif /* _MB_CODING_H_ */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4