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

Subversion Repositories mpeg2fpga

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 kdv
/*
2
 * motcomp_dctcodes.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
  * motcomp_dctcodes - parameters passed from motcomp_addrgen to motcomp_dcttype, indicating how to re-arrange dct blocks
21
  */
22
 
23
  parameter [2:0]
24
    DCT_C1_PASS                   = 3'd0,  /* 1 8x8 chrominance block,  passthrough */
25
    DCT_C1_FRAME_TO_TOP_FIELD     = 3'd1,  /* 1 8x8 chrominance block,  convert from frame to field order. First 4 rows top field, then 4 rows bottom field */
26
    DCT_L4_PASS                   = 3'd2,  /* 4 8x8 luminance blocks, passthrough */
27
    DCT_L4_TOP_FIELD_TO_FRAME     = 3'd3,  /* 4 8x8 luminance blocks, convert from field to frame order */
28
    DCT_L4_FRAME_TO_TOP_FIELD     = 3'd4;  /* 4 8x8 luminance blocks, convert from frame to field order. First 8 rows top field, then 8 rows bottom field */
29
 
30
/* not truncated */

powered by: WebSVN 2.1.0

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