OpenCores
URL https://opencores.org/ocsvn/mb-jpeg/mb-jpeg/trunk

Subversion Repositories mb-jpeg

[/] [mb-jpeg/] [tags/] [Step2_2/] [encoder/] [zzq.h] - Blame information for rev 68

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 33 quickwayne
#ifndef _ZZQ_H
2
#define _ZZQ_H 1
3
 
4
#define MATRIX_SIZE 8
5
#define NUMBER_OF_PIXELS MATRIX_SIZE*MATRIX_SIZE
6
 
7
 
8
 
9
 
10
/*
11
 * ZigZag order the pixelmatrix and quantify its values, if endode == 0 the
12
 * inverse operation will be caried out.
13
 */
14
void zzq(signed short pixelmatrix[MATRIX_SIZE][MATRIX_SIZE], signed char *bitstream, int compression, int encode);
15
#else
16
#error "ERROR file zzq.h multiple times included"
17
#endif /* --- _ZZQ_H --- */
18
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.