bio.c File Reference

#include "opj_includes.h"
#include <memory.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <time.h>
#include <stdio.h>
#include <stdarg.h>
#include <ctype.h>
#include <stdbool.h>
#include "crc.h"
#include "rs.h"

Functions

opj_bio_tbio_create (void)
 Create a new BIO handle.
void bio_destroy (opj_bio_t *bio)
 Destroy a previously created BIO handle.
int bio_numbytes (opj_bio_t *bio)
 Number of bytes written.
void bio_init_enc (opj_bio_t *bio, unsigned char *bp, int len)
 Init encoder.
void bio_init_dec (opj_bio_t *bio, unsigned char *bp, int len)
 Init decoder.
void bio_write (opj_bio_t *bio, int v, int n)
 Write bits.
int bio_read (opj_bio_t *bio, int n)
 Read bits.
int bio_flush (opj_bio_t *bio)
 Flush bits.
int bio_inalign (opj_bio_t *bio)
 Passes the ending bits (coming from flushing).
Local static functions

static void bio_putbit (opj_bio_t *bio, int b)
 Write a bit.
static int bio_getbit (opj_bio_t *bio)
 Read a bit.
static int bio_byteout (opj_bio_t *bio)
 Write a byte.
static int bio_bytein (opj_bio_t *bio)
 Read a byte.
Generated on Sat Jan 22 13:12:11 2011 for OpenJPEG by  doxygen 1.6.3