OpenCores
URL https://opencores.org/ocsvn/mpeg2fpga/mpeg2fpga/trunk

Subversion Repositories mpeg2fpga

[/] [mpeg2fpga/] [trunk/] [rtl/] [mpeg2/] [vld_codes.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 kdv
/*
2
 * vld_codes.v
3
 *
4
 * Copyright (c) 2007 Koen De Vleeschauwer.
5
 *
6
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
7
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
8
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
9
 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
10
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
11
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
12
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
13
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
14
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
15
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
16
 * SUCH DAMAGE.
17
 */
18
 
19
/*
20
 * vld_codes - parameters passed from vld to other modules.
21
 */
22
 
23
  parameter [1:0] /* chroma_format */
24
    CHROMA420     = 2'd1,
25
    CHROMA422     = 2'd2,
26
    CHROMA444     = 2'd3;
27
 
28
  parameter [1:0] /* picture structure */
29
    TOP_FIELD     = 2'd1,
30
    BOTTOM_FIELD  = 2'd2,
31
    FRAME_PICTURE = 2'd3;
32
 
33
  parameter [1:0] /* motion_type */
34
    MC_NONE       = 2'd0,
35
    MC_FIELD      = 2'd1,
36
    MC_FRAME      = 2'd2,
37
    MC_16X8       = 2'd2,
38
    MC_DMV        = 2'd3;
39
 
40
  parameter [1:0] /* mv_format */
41
    MV_FIELD      = 2'd0,
42
    MV_FRAME      = 2'd1;
43
 
44
  parameter [2:0] /* picture coding type, table 6-12 */
45
    I_TYPE        = 3'd1,
46
    P_TYPE        = 3'd2,
47
    B_TYPE        = 3'd3,
48
    D_TYPE        = 3'd4;
49
 
50
  parameter       /* dct_type */
51
    DCT_FIELD     = 1'd1,
52
    DCT_FRAME     = 1'd0;
53
 
54
  parameter [1:0] /* rld_cmd */
55
    RLD_DCT       = 2'd0,
56
    RLD_QUANT     = 2'd1,
57
    RLD_NOOP      = 2'd2;
58
 
59
/* not truncated */

powered by: WebSVN 2.1.0

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