URL
https://opencores.org/ocsvn/mkjpeg/mkjpeg/trunk
[/] [mkjpeg/] [trunk/] [design/] [common/] [JPEG_PKG.vhd] - Diff between revs 49 and 52
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 49 |
Rev 52 |
Line 32... |
Line 32... |
-- warning! this parameter heavily affects memory size required
|
-- warning! this parameter heavily affects memory size required
|
-- if expected image width is known change this parameter to match this
|
-- if expected image width is known change this parameter to match this
|
-- otherwise some onchip RAM will be wasted and never used
|
-- otherwise some onchip RAM will be wasted and never used
|
constant C_MAX_LINE_WIDTH : integer := 1280;
|
constant C_MAX_LINE_WIDTH : integer := 1280;
|
|
|
-- 0=highest clock per pixel performance
|
|
-- 1=memory used by BUF_FIFO halved, speed performance reduced by circa 18%
|
|
constant C_MEMORY_OPTIMIZED : integer := 0;
|
|
|
|
-- 24 bit format RGB 888 bits
|
-- 24 bit format RGB 888 bits
|
-- 16 bit format RGB 565 bits
|
-- 16 bit format RGB 565 bits
|
constant C_PIXEL_BITS : integer := 16;
|
constant C_PIXEL_BITS : integer := 24;
|
|
|
type T_SM_SETTINGS is record
|
type T_SM_SETTINGS is record
|
x_cnt : unsigned(15 downto 0);
|
x_cnt : unsigned(15 downto 0);
|
y_cnt : unsigned(15 downto 0);
|
y_cnt : unsigned(15 downto 0);
|
cmp_idx : unsigned(1 downto 0);
|
cmp_idx : unsigned(1 downto 0);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.