URL
https://opencores.org/ocsvn/mkjpeg/mkjpeg/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 36 |
Rev 42 |
Line 30... |
Line 30... |
constant C_HDR_SIZE : integer := 623;
|
constant C_HDR_SIZE : integer := 623;
|
|
|
-- 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 := 640;
|
constant C_MAX_LINE_WIDTH : integer := 1280;
|
|
|
-- 0=highest clock per pixel performance
|
-- 0=highest clock per pixel performance
|
-- 1=memory used by BUF_FIFO halved, speed performance reduced by circa 18%
|
-- 1=memory used by BUF_FIFO halved, speed performance reduced by circa 18%
|
constant C_MEMORY_OPTIMIZED : integer := 1;
|
constant C_MEMORY_OPTIMIZED : integer := 0;
|
|
|
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.