File: JPEGQuantizationTable.java

package info (click to toggle)
java-imaging-utilities 0.14.2%2B3-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,280 kB
  • ctags: 3,725
  • sloc: java: 31,190; sh: 238; makefile: 53; xml: 30
file content (45 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package net.sourceforge.jiu.codecs.jpeg;

/**
 * Data for a JPEG bitstream quantization table.
 * Includes quantization data, table id (0 to 3)
 * and element precision in bits (8 or 16).
 * @author Marco Schmidt
 * @since 0.13.0
 */
public class JPEGQuantizationTable
{
	private int[] data;
	private int elementPrecision;
	private int id;
	
	public int[] getData()
	{
		return data;
	}

	public int getElementPrecision()
	{
		return elementPrecision;
	}

	public int getId()
	{
		return id;
	}

	public void setData(int[] is)
	{
		data = is;
	}

	public void setElementPrecision(int i)
	{
		elementPrecision = i;
	}

	public void setId(int i)
	{
		id = i;
	}
}