Global NamespaceΒΆ

// namespaces

namespace xf
    namespace xf::codec
        namespace xf::codec::details
    namespace xf::common
        namespace xf::common::utils_hw
            namespace xf::common::utils_hw::details

// typedefs

typedef uint16_t CHType
typedef ap_uint <14> HCODE_T
typedef ap_int <8* (4)> DT
typedef ap_uint <32> HLS_SIZE_T
typedef ap_uint <5> HLS_CHANNEL_T

// structs

struct Config
struct ConfigKernel3
struct Quantizer

// classes

template <
    int ROWS,
    int COLS,
    typename T,
    int RESHAPE = 0
    >
class LineBuffer

template <
    int ROWS,
    int COLS,
    typename T
    >
class LineBuffer <ROWS, COLS, T, 1>

template <
    int ROWS,
    int COLS,
    typename T
    >
class LineBuffer <ROWS, COLS, T, 0>

template <
    int ROWS,
    int COLS,
    typename T
    >
class Window

// global variables

const float kDCTScales2[2]
const float kIDCTScales2[2]
const float kDCTScales4[4]
const float kIDCTScales4[4]
const float kDCTScales8[8]
const float kIDCTScales8[8]
const float kIDCTScales16[16]
const float kDCTScales16[16]
const float kIDCTScales32[32]
const float kDCTScales32[32]
const float kL1Norm2[2]
const float kL1Norm4[4]
const float kL1Norm8[8]
const float kL1Norm16[16]
const float kL1Norm32[32]
const float kL1NormInv2[2]
const float kL1NormInv4[4]
const float kL1NormInv8[8]
const float kL1NormInv16[16]
const float kL1NormInv32[32]
const float dequant0_matrix4x4[3][64]
const float dequant0_matrix8x8[3][64]
const float dequant0_matrix16x16[3][256]
const float dequant0_matrix32x32[3][1024]
const float dequant1_matrix4x4[3][64]
const float dequant1_matrix8x8[3][64]
const float dequant1_matrix16x16[3][256]
const float dequant1_matrix32x32[3][1024]
const float inv_dequant0_matrix8x8[3][64]
const float inv_dequant0_matrix16x16[3][256]
const float inv_dequant0_matrix32x32[3][1024]
const float inv_dequant_matrix4x4[3][64]
const float inv_dequant_matrix8x8[3][64]
const float inv_dequant_matrix16x16[3][256]
const float inv_dequant_matrix32x32[3][1024]
const float dequantY_matrix4x4[64]
const float dequantY_matrix8x8[64]
const float dequantY_matrix16x16[256]
const float dequantY_matrix32x32[1024]
const float inv_dequantY_matrix4x4[64]
const float inv_dequantY_matrix8x8[64]
const float inv_dequantY_matrix16x16[256]
const float inv_dequantY_matrix32x32[1024]
const float dequantDCx
const float dequantDCy
const float dequantDCb
const float invDequantDCx
const float invDequantDCy
const float invDequantDCb
static const int depth_to_buf
static const int kRadius
static const float kScaleR
static const float kScaleG
static const float kInvScaleR
static const float kInvScaleG
static const double kGaborishInverse
static const float kOpsinAbsorbanceMatrix[9]
static const float kOpsinAbsorbanceBias[3]
static const double kGaborish[5]
static float qmxlocal[64]
static float qmblocal[64]
static float qmxglb[64]
static float qmbglb[64]

// macros

#define ACGROUP_SIZE
#define AC_N
#define ALL_PIXEL
#define AXI_CMAP
#define AXI_OUT
#define AXI_QF
#define AXI_SZ
#define AXI_WIDTH
#define AXI_WIDTH
#define BLKDIM
#define BLOCK_SIZE
#define BUF_DEPTH
#define BURST_LENTH
#define BURST_LENTH

#define B_SHORT( \
    v1, \
    v2 \
    )

#define CH_W
#define CMPhuff
#define DCGROUP_SIZE
#define DC_N
#define DEBUG
#define DEBUGAXItoPikAcStream
#define DEBUGAXItoStream

#define DEVLI( \
    s, \
    n \
    )

#define DHT1
#define DHT2
#define DHT_M
#define DHT_S

#define DIVCEIL( \
    a, \
    b \
    )

#define DT_SZ
#define ELEM_SPACE
#define MAXCMP_BC
#define MAX_AC_GROUP
#define MAX_AC_HISTO_SIZE
#define MAX_AC_SIZE
#define MAX_DC_GROUP
#define MAX_DC_HISTO_SIZE
#define MAX_DC_SIZE
#define MAX_DEC_PIX
#define MAX_EXPONENT_PIX
#define MAX_NUM_AC
#define MAX_NUM_BLOCK88
#define MAX_NUM_BLOCK88
#define MAX_NUM_BLOCK88_H
#define MAX_NUM_BLOCK88_H
#define MAX_NUM_BLOCK88_H_TITLE
#define MAX_NUM_BLOCK88_W
#define MAX_NUM_BLOCK88_W
#define MAX_NUM_BLOCK88_W_TITLE
#define MAX_NUM_COEF
#define MAX_NUM_COLOR
#define MAX_NUM_COLOR
#define MAX_NUM_CONFIG
#define MAX_NUM_DC
#define MAX_NUM_GROUP
#define MAX_NUM_ORDER
#define MAX_NUM_PIX
#define MAX_NUM_PIXEL
#define MAX_PIX_H
#define MAX_PIX_W
#define MAX_SIZE_COEF
#define OUT_WIDTH
#define SCALE1
#define SCALE2
#define TILE_SIZE
#define XBLOCKS_32X32
#define XF_UTILS_HW_ASSERT(b)

#define XF_UTILS_HW_STATIC_ASSERT( \
    b, \
    m \
    )

#define XGROUPS_512X512
#define YBLOCKS_32X32
#define YGROUPS_512X512
#define _UTILS_XACC_JPEG_HPP_
#define _XACC_JPEGDECODER_HPP_
#define _XF_IMAGE_PRINT(msg...)
#define _XF_IMAGE_VOID_CAST
#define hls_ANS_LOG_TAB_SIZE
#define hls_ANS_SIGNATURE
#define hls_ANS_TAB_MASK
#define hls_ANS_TAB_SIZE
#define hls_MAX_ALPHABET_SIZE
#define hls_NumHistograms
#define hls_kANSBufferSize
#define hls_kAlphabetSize
#define hls_kClustersLimit
#define hls_kDcGroupDimInBlocks
#define hls_kEntropyCodingNumSymbols
#define hls_kGroupDim
#define hls_kHybridEncodingDirectSplitExponent
#define hls_kHybridEncodingSplitToken
#define hls_kMaxBufSize
#define hls_kMinClustersForHistogramRemap
#define hls_kNumContexts
#define hls_kNumPredictors
#define hls_kNumStaticContexts
#define hls_kNumStaticOrderFreeContexts
#define hls_kNumStaticZdensContexts
#define hls_kOrderContexts
#define hls_kRleSymStart
#define hls_kTileDim
#define hls_kTokenMaxSize
#define hls_kTotalSize