[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.2 - (download) (annotate)
Thu Mar 28 20:57:25 2002 UTC (21 years, 5 months ago) by edgomez
Branch: MAIN
Changes since 1.1: +1 -1 lines
Big patch, use it with care (tests done with GNU/Linux) :
 - Trivial warnings in encoder.c line 282 ret1 = ret 2 = 0;
 - Lot of "New line at end of file missing" warnings fixed (gcc3)
 - All 2d arrays have been turned into 1d arrays
   To force alignment of matrices on stack, use DECLARE_ALIGNED_MATRIX
   (read portab.h)

Win32 users should give feedback.
#ifndef _MB_CODING_H_
#define _MB_CODING_H_

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

void create_vlc_tables(void);
void destroy_vlc_tables(void);

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);

int get_coeff(Bitstream * bs, int *run, int *last, int intra, int short_video_header);

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