Grok 20.3.2
WaveletFwd.cpp File Reference
#include "hwy_arm_disable_targets.h"
#include "TFSingleton.h"
#include "CodeStreamLimits.h"
#include "TileWindow.h"
#include "Quantizer.h"
#include "Logger.h"
#include "buffer.h"
#include "GrkObjectWrapper.h"
#include "ISparseCanvas.h"
#include "ImageComponentFlow.h"
#include "IStream.h"
#include "GrkImageMeta.h"
#include "GrkImage.h"
#include "PLMarker.h"
#include "SIZMarker.h"
#include "PPMMarker.h"
#include "CodingParams.h"
#include "ICoder.h"
#include "CoderPool.h"
#include "BitIO.h"
#include "TagTree.h"
#include "CodeblockCompress.h"
#include "CodeblockDecompress.h"
#include "Precinct.h"
#include "Subband.h"
#include "Resolution.h"
#include "TileComponentWindow.h"
#include "WaveletCommon.h"
#include "WaveletReverse.h"
#include "WaveletFwd.h"
#include <hwy/foreach_target.h>
#include <hwy/highway.h>

Classes

struct  grk::HWY_NAMESPACE::WaveletFwdScheduleDataImpl< T, DWT >
struct  grk::HWY_NAMESPACE::WaveletFwdScheduleDataImpl< T, DWT >::LevelPass

Namespaces

namespace  grk
 ResWindow.
namespace  grk::HWY_NAMESPACE

Macros

#define HWY_TARGET_INCLUDE   "wavelet/WaveletFwd.cpp"

Functions

 HWY_BEFORE_NAMESPACE ()
template<typename T>
void grk::HWY_NAMESPACE::deinterleave_h (const T *src, T *dst, const uint32_t dn, const uint32_t sn, const uint32_t stride, const uint32_t parity, const uint32_t numrows)
template<typename T>
void grk::HWY_NAMESPACE::deinterleave_v (const T *src, T *dst, const uint32_t dn, const uint32_t sn, const uint32_t stride, const uint32_t parity, const uint32_t numcols)
HWY_ATTR void grk::HWY_NAMESPACE::encode_53_v (int32_t *resolution, int32_t *scratch, const uint32_t height, const uint8_t parity, const uint32_t stride, const uint32_t numcols, int32_t dcShift)
HWY_ATTR void grk::HWY_NAMESPACE::encode_53_h (int32_t *resolution, int32_t *scratch, const uint32_t width, const uint8_t parity, const uint32_t stride, const uint32_t numrows, int32_t dcShift)
void grk::HWY_NAMESPACE::encode_97_h (float *res, float *scratch, const uint32_t width, const uint8_t parity, const uint32_t stride, const uint32_t numrows, float dcShift)
void grk::HWY_NAMESPACE::encode_97_v (float *res, float *scratch, const uint32_t height, const uint8_t parity, const uint32_t stride, const uint32_t numcols, float dcShift, bool intInput)
static HWY_ATTR void grk::HWY_NAMESPACE::narrow_row (const int32_t *src, int16_t *dst, uint32_t numcols)
static HWY_ATTR void grk::HWY_NAMESPACE::widen_row (const int16_t *src, int32_t *dst, uint32_t numcols)
HWY_ATTR void grk::HWY_NAMESPACE::encode_53_16_v (int32_t *resolution, int16_t *scratch, const uint32_t height, const uint8_t parity, const uint32_t stride, const uint32_t numcols, int32_t dcShift)
HWY_ATTR void grk::HWY_NAMESPACE::encode_53_16_h (int32_t *resolution, int16_t *scratch, const uint32_t width, const uint8_t parity, const uint32_t stride, const uint32_t numrows)
bool grk::HWY_NAMESPACE::encode_53_16 (TileComponent *tilec, int32_t dcShift)
static int16_t grk::HWY_NAMESPACE::fwd_mf15 (int16_t a, int16_t b)
 Q1.15 fixed-point multiply (scalar fallback for forward 9/7).
HWY_ATTR void grk::HWY_NAMESPACE::encode_97_16_v (int32_t *resolution, int16_t *scratch, const uint32_t height, const uint8_t parity, const uint32_t stride, const uint32_t numcols, float dcShift, bool intInput)
HWY_ATTR void grk::HWY_NAMESPACE::encode_97_16_h (int32_t *resolution, int16_t *scratch, const uint32_t width, const uint8_t parity, const uint32_t stride, const uint32_t numrows)
HWY_ATTR void grk::HWY_NAMESPACE::encode_97_16_h_nohalf (int32_t *resolution, int16_t *scratch, const uint32_t width, const uint8_t parity, const uint32_t stride, const uint32_t numrows)
bool grk::HWY_NAMESPACE::encode_97_16 (TileComponent *tilec, float dcShift, bool intInput)
template<typename T, typename DWT>
void grk::HWY_NAMESPACE::encode_h (encode_info< T, DWT > *task)
template<typename T, typename DWT>
void grk::HWY_NAMESPACE::encode_v (encode_info< T, DWT > *task)
template<typename T, typename DWT>
bool grk::HWY_NAMESPACE::encode (TileComponent *tilec, T dcShiftVal, bool intInput=false)
bool grk::HWY_NAMESPACE::encode_53 (TileComponent *tilec, int32_t dcShift)
bool grk::HWY_NAMESPACE::encode_97 (TileComponent *tilec, float dcShift, bool intInput)
template<typename T, typename DWT>
std::unique_ptr< WaveletFwdScheduleDatagrk::HWY_NAMESPACE::schedule_encode (TileComponent *tilec, T dcShiftVal, std::vector< std::pair< FlowComponent *, FlowComponent * > > &levelFlows, bool intInput=false)
std::unique_ptr< WaveletFwdScheduleDatagrk::HWY_NAMESPACE::schedule_encode_53 (TileComponent *tilec, int32_t dcShift, std::vector< std::pair< FlowComponent *, FlowComponent * > > &levelFlows)
std::unique_ptr< WaveletFwdScheduleDatagrk::HWY_NAMESPACE::schedule_encode_97 (TileComponent *tilec, float dcShift, std::vector< std::pair< FlowComponent *, FlowComponent * > > &levelFlows, bool intInput)
std::unique_ptr< WaveletFwdScheduleDatagrk::HWY_NAMESPACE::schedule_encode_97_16 (TileComponent *tilec, int32_t dcShift, std::vector< std::pair< FlowComponent *, FlowComponent * > > &levelFlows, bool intInput)
 HWY_AFTER_NAMESPACE ()

Variables

static const float grk::HWY_NAMESPACE::alpha = -1.586134342f
static const float grk::HWY_NAMESPACE::beta = -0.052980118f
static const float grk::HWY_NAMESPACE::gamma = 0.882911075f
static const float grk::HWY_NAMESPACE::delta = 0.443506852f
static const float grk::HWY_NAMESPACE::K = 1.230174105f
static const float grk::HWY_NAMESPACE::invK = (float)(1.0 / 1.230174105)
static const int16_t grk::HWY_NAMESPACE::fwd97_g = (int16_t)(0.5 + 0.413865658 * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_4beta = (int16_t)(-0.5 + 4.0 * (-0.052980118) * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_half_gamma = (int16_t)(0.5 + 0.882911075 / 2.0 * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_2delta = (int16_t)(0.5 + 2.0 * 0.443506852 * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_invK = (int16_t)(0.5 + (1.0 / 1.230174105) * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_K_frac = (int16_t)(0.5 + (1.230174105 - 1.0) * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_nsc_0 = (int16_t)(-0.5 + (1.0 + (-1.586134342)) * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_nsc_2beta = (int16_t)(-0.5 + 2.0 * (-0.052980118) * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_nsc_gamma = (int16_t)(0.5 + 0.882911075 * (double)(1 << 15))
static const int16_t grk::HWY_NAMESPACE::fwd97_nsc_delta = (int16_t)(0.5 + 0.443506852 * (double)(1 << 15))

Macro Definition Documentation

◆ HWY_TARGET_INCLUDE

#define HWY_TARGET_INCLUDE   "wavelet/WaveletFwd.cpp"

Function Documentation

◆ HWY_AFTER_NAMESPACE()

HWY_AFTER_NAMESPACE ( )

◆ HWY_BEFORE_NAMESPACE()

HWY_BEFORE_NAMESPACE ( )