uint16_t          127 source/common/common.h typedef uint16_t pixel;
uint16_t          134 source/common/common.h typedef uint16_t sum_t;
uint16_t          153 source/common/constants.cpp const uint16_t x265_chroma_lambda2_offset_tab[MAX_CHROMA_LAMBDA_OFFSET+1] =
uint16_t          364 source/common/constants.cpp const uint16_t g_scan2x2[][2*2] =
uint16_t          370 source/common/constants.cpp const uint16_t g_scan8x8[NUM_SCAN_TYPE][8 * 8] =
uint16_t          380 source/common/constants.cpp ALIGN_VAR_16(const uint16_t, g_scan4x4[NUM_SCAN_TYPE + 1][4 * 4]) =
uint16_t          388 source/common/constants.cpp const uint16_t g_scan16x16[16 * 16] =
uint16_t          408 source/common/constants.cpp const uint16_t g_scan8x8diag[8 * 8] =
uint16_t          420 source/common/constants.cpp const uint16_t g_scan32x32[32 * 32] =
uint16_t          456 source/common/constants.cpp const uint16_t* const g_scanOrder[NUM_SCAN_TYPE][NUM_SCAN_SIZE] =
uint16_t          463 source/common/constants.cpp const uint16_t* const g_scanOrderCG[NUM_SCAN_TYPE][NUM_SCAN_SIZE] =
uint16_t           35 source/common/constants.h extern const uint16_t x265_chroma_lambda2_offset_tab[MAX_CHROMA_LAMBDA_OFFSET + 1];
uint16_t           80 source/common/constants.h extern const uint16_t* const g_scanOrder[NUM_SCAN_TYPE][NUM_SCAN_SIZE];
uint16_t           81 source/common/constants.h extern const uint16_t* const g_scanOrderCG[NUM_SCAN_TYPE][NUM_SCAN_SIZE];
uint16_t           82 source/common/constants.h extern const uint16_t g_scan8x8diag[8 * 8];
uint16_t           83 source/common/constants.h ALIGN_VAR_16(extern const uint16_t, g_scan4x4[NUM_SCAN_TYPE + 1][4 * 4]);  // +1 for safe buffer area for codeCoeffNxN assembly optimize, there have up to 15 bytes beyond bound read
uint16_t          338 source/common/cudata.h     const uint16_t *scan;
uint16_t          339 source/common/cudata.h     const uint16_t *scanCG;
uint16_t          744 source/common/dct.cpp static void denoiseDct_c(int16_t* dctCoef, uint32_t* resSum, const uint16_t* offset, int numCoeff)
uint16_t          757 source/common/dct.cpp static int scanPosLast_c(const uint16_t *scan, const coeff_t *coeff, uint16_t *coeffSign, uint16_t *coeffFlag, uint8_t *coeffNum, int numSig, const uint16_t* /*scanCG4x4*/, const int /*trSize*/)
uint16_t          782 source/common/dct.cpp         coeffSign[cgIdx] += (uint16_t)(((uint32_t)curCoeff >> 31) << coeffNum[cgIdx]);
uint16_t          783 source/common/dct.cpp         coeffFlag[cgIdx] = (coeffFlag[cgIdx] << 1) + (uint16_t)isNZCoeff;
uint16_t          791 source/common/dct.cpp static uint32_t findPosFirstLast_c(const int16_t *dstCoeff, const intptr_t trSize, const uint16_t scanTbl[16])
uint16_t          833 source/common/dct.cpp static uint32_t costCoeffNxN_c(const uint16_t *scan, const coeff_t *coeff, intptr_t trSize, uint16_t *absCoeff, const uint8_t *tabSigCtx, uint32_t scanFlagMask, uint8_t *baseCtx, int offset, int scanPosSigOff, int subPosBase)
uint16_t          835 source/common/dct.cpp     ALIGN_VAR_32(uint16_t, tmpCoeff[SCAN_SET_SIZE]);
uint16_t          844 source/common/dct.cpp         tmpCoeff[i * MLS_CG_SIZE + 0] = (uint16_t)abs(coeff[i * trSize + 0]);
uint16_t          845 source/common/dct.cpp         tmpCoeff[i * MLS_CG_SIZE + 1] = (uint16_t)abs(coeff[i * trSize + 1]);
uint16_t          846 source/common/dct.cpp         tmpCoeff[i * MLS_CG_SIZE + 2] = (uint16_t)abs(coeff[i * trSize + 2]);
uint16_t          847 source/common/dct.cpp         tmpCoeff[i * MLS_CG_SIZE + 3] = (uint16_t)abs(coeff[i * trSize + 3]);
uint16_t          887 source/common/dct.cpp static uint32_t costCoeffRemain_c(uint16_t *absCoeff, int numNonZero, int idx)
uint16_t          934 source/common/dct.cpp static uint32_t costC1C2Flag_c(uint16_t *absCoeff, intptr_t numC1Flag, uint8_t *baseCtxMod, intptr_t ctxOffset)
uint16_t           85 source/common/ipfilter.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t          170 source/common/ipfilter.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t          247 source/common/ipfilter.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t          325 source/common/ipfilter.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t           66 source/common/lowres.cpp     CHECKED_MALLOC(propagateCost, uint16_t, cuCount);
uint16_t           88 source/common/lowres.cpp             CHECKED_MALLOC(lowresCosts[i][j], uint16_t, cuCount);
uint16_t          131 source/common/lowres.h     uint16_t* lowresCostForRc;
uint16_t          132 source/common/lowres.h     uint16_t(*lowresCosts[X265_BFRAME_MAX + 2][X265_BFRAME_MAX + 2]);
uint16_t          158 source/common/lowres.h     uint16_t* propagateCost;
uint16_t          925 source/common/param.cpp     OPT("min-luma") p->minLuma = (uint16_t)atoi(value);
uint16_t          926 source/common/param.cpp     OPT("max-luma") p->maxLuma = (uint16_t)atoi(value);
uint16_t          301 source/common/picyuv.cpp         uint16_t mask = (1 << X265_DEPTH) - 1;
uint16_t          305 source/common/picyuv.cpp         uint16_t *yShort = (uint16_t*)pic.planes[0];
uint16_t          323 source/common/picyuv.cpp             uint16_t *uShort = (uint16_t*)pic.planes[1];
uint16_t          324 source/common/picyuv.cpp             uint16_t *vShort = (uint16_t*)pic.planes[2];
uint16_t          121 source/common/pixel.cpp int ads_x4(int encDC[4], uint32_t *sums, int delta, uint16_t *costMvX, int16_t *mvs, int width, int thresh)
uint16_t          138 source/common/pixel.cpp int ads_x2(int encDC[2], uint32_t *sums, int delta, uint16_t *costMvX, int16_t *mvs, int width, int thresh)
uint16_t          153 source/common/pixel.cpp int ads_x1(int encDC[1], uint32_t *sums, int, uint16_t *costMvX, int16_t *mvs, int width, int thresh)
uint16_t          867 source/common/pixel.cpp static void planecopy_sp_c(const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask)
uint16_t          879 source/common/pixel.cpp static void planecopy_sp_shl_c(const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask)
uint16_t          893 source/common/pixel.cpp static void estimateCUPropagateCost(int* dst, const uint16_t* propagateIn, const int32_t* intraCosts, const uint16_t* interCosts,
uint16_t          922 source/common/pixel.cpp static void cuTreeFix8Pack(uint16_t *dst, double *src, int count)
uint16_t          925 source/common/pixel.cpp         dst[i] = (uint16_t)(src[i] * 256.0);
uint16_t          928 source/common/pixel.cpp static void cuTreeFix8Unpack(double *dst, uint16_t *src, int count)
uint16_t          283 source/common/ppc/dct_altivec.cpp inline void denoiseDct_unroll8_altivec(int16_t* dctCoef, uint32_t* resSum, const uint16_t* offset, int numCoeff, int index_offset)
uint16_t          360 source/common/ppc/dct_altivec.cpp void denoiseDct_altivec(int16_t* dctCoef, uint32_t* resSum, const uint16_t* offset, int numCoeff)
uint16_t          103 source/common/ppc/ipfilter_altivec.cpp     const uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t          239 source/common/ppc/ipfilter_altivec.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t          457 source/common/ppc/ipfilter_altivec.cpp     const uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t          829 source/common/ppc/ipfilter_altivec.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t         1065 source/common/ppc/ipfilter_altivec.cpp     uint16_t maxVal = (1 << X265_DEPTH) - 1;
uint16_t           77 source/common/ppc/pixel_altivec.cpp typedef uint16_t sum_t ;
uint16_t          129 source/common/primitives.h typedef int(*pixelcmp_ads_t)(int encDC[], uint32_t *sums, int delta, uint16_t *costMvX, int16_t *mvs, int width, int thresh);
uint16_t          146 source/common/primitives.h typedef void (*denoiseDct_t)(int16_t* dctCoef, uint32_t* resSum, const uint16_t* offset, int numCoeff);
uint16_t          199 source/common/primitives.h typedef void (*planecopy_sp_t) (const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask);
uint16_t          202 source/common/primitives.h typedef void (*cutree_propagate_cost) (int* dst, const uint16_t* propagateIn, const int32_t* intraCosts, const uint16_t* interCosts, const int32_t* invQscales, const double* fpsFactor, int len);
uint16_t          204 source/common/primitives.h typedef void (*cutree_fix8_unpack)(double *dst, uint16_t *src, int count);
uint16_t          205 source/common/primitives.h typedef void (*cutree_fix8_pack)(uint16_t *dst, double *src, int count);
uint16_t          207 source/common/primitives.h typedef int (*scanPosLast_t)(const uint16_t *scan, const coeff_t *coeff, uint16_t *coeffSign, uint16_t *coeffFlag, uint8_t *coeffNum, int numSig, const uint16_t* scanCG4x4, const int trSize);
uint16_t          208 source/common/primitives.h typedef uint32_t (*findPosFirstLast_t)(const int16_t *dstCoeff, const intptr_t trSize, const uint16_t scanTbl[16]);
uint16_t          210 source/common/primitives.h typedef uint32_t (*costCoeffNxN_t)(const uint16_t *scan, const coeff_t *coeff, intptr_t trSize, uint16_t *absCoeff, const uint8_t *tabSigCtx, uint32_t scanFlagMask, uint8_t *baseCtx, int offset, int scanPosSigOff, int subPosBase);
uint16_t          211 source/common/primitives.h typedef uint32_t (*costCoeffRemain_t)(uint16_t *absCoeff, int numNonZero, int idx);
uint16_t          212 source/common/primitives.h typedef uint32_t (*costC1C2Flag_t)(uint16_t *absCoeff, intptr_t numC1Flag, uint8_t *baseCtxMod, intptr_t ctxOffset);
uint16_t          250 source/common/quant.cpp     const uint16_t* scan = codeParams.scan;
uint16_t          253 source/common/quant.cpp     uint16_t coeffSign[MLS_GRP_NUM];    // bit mask map for non-zero coeff sign
uint16_t          254 source/common/quant.cpp     uint16_t coeffFlag[MLS_GRP_NUM];    // bit mask map for non-zero coeff
uint16_t          694 source/common/quant.cpp     uint16_t coeffSign[MLS_GRP_NUM];    // bit mask map for non-zero coeff sign
uint16_t          695 source/common/quant.cpp     uint16_t coeffFlag[MLS_GRP_NUM];    // bit mask map for non-zero coeff
uint16_t         1437 source/common/quant.cpp                     minPos = (uint16_t)minPos;
uint16_t           71 source/common/quant.h     uint16_t nrOffsetDenoise[MAX_NUM_TR_CATEGORIES][MAX_NUM_TR_COEFFS];
uint16_t           72 source/common/quant.h     uint16_t (*offset)[MAX_NUM_TR_COEFFS];
uint16_t           43 source/common/x86/dct8.h void PFX(denoise_dct_sse4)(int16_t* dct, uint32_t* sum, const uint16_t* offset, int size);
uint16_t           44 source/common/x86/dct8.h void PFX(denoise_dct_avx2)(int16_t* dct, uint32_t* sum, const uint16_t* offset, int size);
uint16_t           40 source/common/x86/mc.h     void PFX(mbtree_propagate_cost_ ## cpu)(int* dst, const uint16_t* propagateIn, const int32_t* intraCosts, \
uint16_t           41 source/common/x86/mc.h                                               const uint16_t* interCosts, const int32_t* invQscales, const double* fpsFactor, int len);
uint16_t           50 source/common/x86/mc.h     void PFX(cutree_fix8_unpack_ ## cpu)(double *dst, uint16_t *src, int count);
uint16_t           58 source/common/x86/mc.h     void PFX(cutree_fix8_pack_## cpu)(uint16_t *dst, double *src, int count);
uint16_t           40 source/common/x86/pixel-util.h     uint32_t PFX(costCoeffRemain_ ## cpu(uint16_t *absCoeff, int numNonZero, int idx)); \
uint16_t           41 source/common/x86/pixel-util.h     uint32_t PFX(costC1C2Flag_sse2(uint16_t *absCoeff, intptr_t numNonZero, uint8_t *baseCtxMod, intptr_t ctxOffset)); \
uint16_t           55 source/common/x86/pixel-util.h int PFX(scanPosLast_x64(const uint16_t *scan, const coeff_t *coeff, uint16_t *coeffSign, uint16_t *coeffFlag, uint8_t *coeffNum, int numSig, const uint16_t* scanCG4x4, const int trSize));
uint16_t           56 source/common/x86/pixel-util.h int PFX(scanPosLast_avx2_bmi2(const uint16_t *scan, const coeff_t *coeff, uint16_t *coeffSign, uint16_t *coeffFlag, uint8_t *coeffNum, int numSig, const uint16_t* scanCG4x4, const int trSize));
uint16_t           57 source/common/x86/pixel-util.h uint32_t PFX(findPosFirstLast_ssse3(const int16_t *dstCoeff, const intptr_t trSize, const uint16_t scanTbl[16]));
uint16_t           58 source/common/x86/pixel-util.h uint32_t PFX(costCoeffNxN_sse4(const uint16_t *scan, const coeff_t *coeff, intptr_t trSize, uint16_t *absCoeff, const uint8_t *tabSigCtx, uint32_t scanFlagMask, uint8_t *baseCtx, int offset, int scanPosSigOff, int subPosBase));
uint16_t           59 source/common/x86/pixel-util.h uint32_t PFX(costCoeffNxN_avx2_bmi2(const uint16_t *scan, const coeff_t *coeff, intptr_t trSize, uint16_t *absCoeff, const uint8_t *tabSigCtx, uint32_t scanFlagMask, uint8_t *baseCtx, int offset, int scanPosSigOff, int subPosBase));
uint16_t           33 source/common/x86/pixel.h void PFX(downShift_16_sse2)(const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask);
uint16_t           34 source/common/x86/pixel.h void PFX(downShift_16_avx2)(const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask);
uint16_t           35 source/common/x86/pixel.h void PFX(upShift_16_sse2)(const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask);
uint16_t           36 source/common/x86/pixel.h void PFX(upShift_16_avx2)(const uint16_t* src, intptr_t srcStride, pixel* dst, intptr_t dstStride, int width, int height, int shift, uint16_t mask);
uint16_t          322 source/dynamicHDR10/metadataFromJson.cpp     const uint16_t extendedInfoframeType = 0x0004;
uint16_t          357 source/dynamicHDR10/metadataFromJson.cpp         const uint16_t extendedInfoframeType = 0x0004;
uint16_t          376 source/dynamicHDR10/metadataFromJson.cpp     const uint16_t terminalProviderCode = 0x003C;
uint16_t          377 source/dynamicHDR10/metadataFromJson.cpp     const uint16_t terminalProviderOrientedCode = 0x0001;
uint16_t          392 source/dynamicHDR10/metadataFromJson.cpp     uint16_t numWindows = 1 + static_cast<uint16_t>(ellipsesNum);
uint16_t          409 source/dynamicHDR10/metadataFromJson.cpp             static_cast<uint16_t>(ellipseJsonObject[EllipseNames::CenterOfEllipseX].int_value()),
uint16_t          413 source/dynamicHDR10/metadataFromJson.cpp             static_cast<uint16_t>(ellipseJsonObject[EllipseNames::CenterOfEllipseY].int_value()),
uint16_t          420 source/dynamicHDR10/metadataFromJson.cpp         uint16_t semimajorExternalAxis =
uint16_t          421 source/dynamicHDR10/metadataFromJson.cpp             static_cast<uint16_t>(ellipseJsonObject[EllipseNames::SemiMajorAxisExternalEllipse].int_value());
uint16_t          423 source/dynamicHDR10/metadataFromJson.cpp         uint16_t semiminorExternalAxis =
uint16_t          424 source/dynamicHDR10/metadataFromJson.cpp             static_cast<uint16_t>(ellipseJsonObject[EllipseNames::SemiMinorAxisExternalEllipse].int_value());
uint16_t          426 source/dynamicHDR10/metadataFromJson.cpp         uint16_t semimajorInternalEllipse =
uint16_t          427 source/dynamicHDR10/metadataFromJson.cpp             static_cast<uint16_t>(ellipseJsonObject[EllipseNames::SemiMajorAxisInternalEllipse].int_value());
uint16_t          465 source/dynamicHDR10/metadataFromJson.cpp         mPimpl->appendBits(metadata, static_cast<uint16_t>((int)luminanceData.maxRLuminance & 0xFFFF), 16);
uint16_t          467 source/dynamicHDR10/metadataFromJson.cpp         mPimpl->appendBits(metadata, static_cast<uint16_t>((int)luminanceData.maxGLuminance & 0xFFFF), 16);
uint16_t          469 source/dynamicHDR10/metadataFromJson.cpp         mPimpl->appendBits(metadata, static_cast<uint16_t>((int)luminanceData.maxBLuminance & 0xFFFF), 16);
uint16_t          472 source/dynamicHDR10/metadataFromJson.cpp         mPimpl->appendBits(metadata, static_cast<uint16_t>((int)luminanceData.averageLuminance & 0xFFFF), 16);
uint16_t          488 source/dynamicHDR10/metadataFromJson.cpp             uint16_t lowValue = static_cast<uint16_t>(ithPercentile & 0xFFFF);
uint16_t          494 source/dynamicHDR10/metadataFromJson.cpp         uint16_t fractionBrightPixels = 1;
uint16_t          533 source/dynamicHDR10/metadataFromJson.cpp             uint16_t kneePointX = static_cast<uint16_t>(curveData.sPx);
uint16_t          535 source/dynamicHDR10/metadataFromJson.cpp             uint16_t kneePointY = static_cast<uint16_t>(curveData.sPy);
uint16_t          544 source/dynamicHDR10/metadataFromJson.cpp                 uint16_t anchor = static_cast<uint16_t>(curveData.coeff.at(i));
uint16_t           44 source/encoder/bitcost.cpp             s_costs[qp] = X265_MALLOC(uint16_t, 4 * BC_MAX_MV + 1) + 2 * BC_MAX_MV;
uint16_t           54 source/encoder/bitcost.cpp                 s_costs[qp][i] = s_costs[qp][-i] = (uint16_t)X265_MIN(s_bitsizes[i] * lambda + 0.5f, (1 << 15) - 1);
uint16_t           64 source/encoder/bitcost.cpp                 s_fpelMvCosts[qp][j] = X265_MALLOC(uint16_t, BC_MAX_MV + 1) + (BC_MAX_MV >> 1);
uint16_t           87 source/encoder/bitcost.cpp uint16_t *BitCost::s_costs[BC_MAX_QP];
uint16_t           89 source/encoder/bitcost.cpp uint16_t* BitCost::s_fpelMvCosts[BC_MAX_QP][4];
uint16_t           45 source/encoder/bitcost.h     inline uint16_t mvcost(const MV& mv) const      { return m_cost_mvx[mv.x] + m_cost_mvy[mv.y]; }
uint16_t           64 source/encoder/bitcost.h     uint16_t *m_cost_mvx;
uint16_t           66 source/encoder/bitcost.h     uint16_t *m_cost_mvy;
uint16_t           68 source/encoder/bitcost.h     uint16_t *m_cost;
uint16_t           70 source/encoder/bitcost.h     uint16_t *m_fpelMvCosts[4];
uint16_t           87 source/encoder/bitcost.h     static uint16_t *s_costs[BC_MAX_QP];
uint16_t           89 source/encoder/bitcost.h     static uint16_t *s_fpelMvCosts[BC_MAX_QP][4];
uint16_t          244 source/encoder/encoder.cpp         m_offsetEmergency = (uint16_t(*)[MAX_NUM_TR_CATEGORIES][MAX_NUM_TR_COEFFS])X265_MALLOC(uint16_t, MAX_NUM_TR_CATEGORIES * MAX_NUM_TR_COEFFS * (QP_MAX_MAX - QP_MAX_SPEC));
uint16_t          265 source/encoder/encoder.cpp                 uint16_t *nrOffset = m_offsetEmergency[q][cat];
uint16_t          303 source/encoder/encoder.cpp                     nrOffset[i] = (uint16_t)X265_MIN(bias + 0.5, INT16_MAX);
uint16_t         1628 source/encoder/encoder.cpp         stats->maxFALL        = (uint16_t)(m_analyzeAll.m_maxFALL / m_analyzeAll.m_numPics);
uint16_t           54 source/encoder/encoder.h     uint16_t      m_maxCLL;
uint16_t          106 source/encoder/encoder.h     uint16_t           (*m_offsetEmergency)[MAX_NUM_TR_CATEGORIES][MAX_NUM_TR_COEFFS];
uint16_t          520 source/encoder/entropy.cpp     const uint16_t* scan = (sizeId == 0 ? g_scan4x4[SCAN_DIAG] : g_scan8x8diag);
uint16_t         1767 source/encoder/entropy.cpp uint32_t costCoeffRemain_c0(uint16_t *absCoeff, int numNonZero)
uint16_t         1834 source/encoder/entropy.cpp     uint16_t coeffSign[MLS_GRP_NUM];    // bit mask map for non-zero coeff sign
uint16_t         1835 source/encoder/entropy.cpp     uint16_t coeffFlag[MLS_GRP_NUM];    // bit mask map for non-zero coeff
uint16_t         1903 source/encoder/entropy.cpp     ALIGN_VAR_32(uint16_t, absCoeff[(1 << MLS_CG_SIZE) + 1]);   // extra 2 bytes(+1) space for AVX2 assembly, +1 because (numNonZero<=1) in costCoeffNxN path
uint16_t         1913 source/encoder/entropy.cpp     absCoeff[0] = (uint16_t)abs(coeff[posLast]);
uint16_t         1995 source/encoder/entropy.cpp                 ALIGN_VAR_32(uint16_t, tmpCoeff[SCAN_SET_SIZE]);
uint16_t         2000 source/encoder/entropy.cpp                     tmpCoeff[i * MLS_CG_SIZE + 0] = (uint16_t)abs(coeff[blkPosBase + i * trSize + 0]);
uint16_t         2001 source/encoder/entropy.cpp                     tmpCoeff[i * MLS_CG_SIZE + 1] = (uint16_t)abs(coeff[blkPosBase + i * trSize + 1]);
uint16_t         2002 source/encoder/entropy.cpp                     tmpCoeff[i * MLS_CG_SIZE + 2] = (uint16_t)abs(coeff[blkPosBase + i * trSize + 2]);
uint16_t         2003 source/encoder/entropy.cpp                     tmpCoeff[i * MLS_CG_SIZE + 3] = (uint16_t)abs(coeff[blkPosBase + i * trSize + 3]);
uint16_t          158 source/encoder/frameencoder.cpp         m_sliceAddrBits = (uint16_t)(tmp + 1);
uint16_t          555 source/encoder/frameencoder.cpp     m_sliceGroupSize = (uint16_t)sliceGroupSize;
uint16_t         1102 source/encoder/frameencoder.cpp                 memcpy(nr->nrOffsetDenoise, m_nr->nrOffsetDenoise, sizeof(uint16_t)* MAX_NUM_TR_CATEGORIES * MAX_NUM_TR_COEFFS);
uint16_t         1905 source/encoder/frameencoder.cpp             m_nr->nrOffsetDenoise[cat][i] = (uint16_t)(value / denom);
uint16_t          149 source/encoder/frameencoder.h     uint16_t                 m_sliceAddrBits;
uint16_t          150 source/encoder/frameencoder.h     uint16_t                 m_sliceGroupSize;
uint16_t         1042 source/encoder/motion.cpp         const uint16_t *p_cost_omvx = m_cost_mvx + omv.x * 4;
uint16_t         1043 source/encoder/motion.cpp         const uint16_t *p_cost_omvy = m_cost_mvy + omv.y * 4;
uint16_t         1044 source/encoder/motion.cpp         uint16_t i = 1;
uint16_t         1242 source/encoder/motion.cpp         const uint16_t *p_cost_mvx = m_cost_mvx - qmvp.x;
uint16_t         1243 source/encoder/motion.cpp         const uint16_t *p_cost_mvy = m_cost_mvy - qmvp.y;
uint16_t         1257 source/encoder/motion.cpp         uint16_t *fpelCostMvX = m_fpelMvCosts[-qmvp.x & 3] + (-qmvp.x >> 2);
uint16_t          670 source/encoder/ratecontrol.cpp                 m_cuTreeStats.qpBuffer[0] = X265_MALLOC(uint16_t, m_ncu * 4 * sizeof(uint16_t));
uint16_t          672 source/encoder/ratecontrol.cpp                     m_cuTreeStats.qpBuffer[1] = X265_MALLOC(uint16_t, m_ncu * 4 * sizeof(uint16_t));
uint16_t          676 source/encoder/ratecontrol.cpp                 m_cuTreeStats.qpBuffer[0] = X265_MALLOC(uint16_t, m_ncu * sizeof(uint16_t));
uint16_t          678 source/encoder/ratecontrol.cpp                     m_cuTreeStats.qpBuffer[1] = X265_MALLOC(uint16_t, m_ncu * sizeof(uint16_t));
uint16_t         1556 source/encoder/ratecontrol.cpp                 if (fread(m_cuTreeStats.qpBuffer[m_cuTreeStats.qpBufPos], sizeof(uint16_t), ncu, m_cutreeStatFileIn) != (size_t)ncu)
uint16_t         2822 source/encoder/ratecontrol.cpp         if (fwrite(m_cuTreeStats.qpBuffer[0], sizeof(uint16_t), ncu, m_cutreeStatFileOut) < (size_t)ncu)
uint16_t          229 source/encoder/ratecontrol.h         uint16_t *qpBuffer[2]; /* Global buffers for converting MB-tree quantizer data. */
uint16_t           82 source/encoder/rdcost.h             uint16_t lambdaOffset = m_psyRd ? x265_chroma_lambda2_offset_tab[chroma_offset_idx] : 256;
uint16_t          284 source/encoder/search.h     uint16_t        m_limitTU;
uint16_t           77 source/encoder/sei.h     uint16_t displayPrimaryX[3];
uint16_t           78 source/encoder/sei.h     uint16_t displayPrimaryY[3];
uint16_t           79 source/encoder/sei.h     uint16_t whitePointX, whitePointY;
uint16_t          113 source/encoder/sei.h     uint16_t max_content_light_level;
uint16_t          114 source/encoder/sei.h     uint16_t max_pic_average_light_level;
uint16_t          397 source/encoder/slicetype.cpp             fenc.lowresCosts[0][0][cuXY] = (uint16_t)(X265_MIN(icost, LOWRES_COST_MASK) | (0 << LOWRES_COST_SHIFT));
uint16_t          927 source/encoder/slicetype.cpp                     uint16_t lowresCuCost = curFrame->m_lowres.lowresCostForRc[lowresCuIdx] & LOWRES_COST_MASK;
uint16_t          938 source/encoder/slicetype.cpp                         lowresCuCost = (uint16_t)((lowresCuCost * x265_exp2fix8(qpOffset) + 128) >> 8);
uint16_t         1808 source/encoder/slicetype.cpp     for (uint16_t blocky = 0; blocky < m_8x8Height; blocky++)
uint16_t         1811 source/encoder/slicetype.cpp         for (uint16_t blockx = 0; blockx < m_8x8Width; blockx++, cuIndex++)
uint16_t         1815 source/encoder/slicetype.cpp             for (uint16_t list = 0; list < 2; list++)
uint16_t         1841 source/encoder/slicetype.cpp         for (uint16_t blocky = 0; blocky < m_8x8Height; blocky++)
uint16_t         1844 source/encoder/slicetype.cpp             for (uint16_t blockx = 0; blockx < m_8x8Width; blockx++, cuIndex++)
uint16_t         1886 source/encoder/slicetype.cpp             memset(frames[0]->propagateCost, 0, m_cuCount * sizeof(uint16_t));
uint16_t         1894 source/encoder/slicetype.cpp         memset(frames[0]->propagateCost, 0, m_cuCount * sizeof(uint16_t));
uint16_t         1900 source/encoder/slicetype.cpp         memset(frames[lastnonb]->propagateCost, 0, m_cuCount * sizeof(uint16_t));
uint16_t         1916 source/encoder/slicetype.cpp         memset(frames[curnonb]->propagateCost, 0, m_cuCount * sizeof(uint16_t));
uint16_t         1922 source/encoder/slicetype.cpp             memset(frames[middle]->propagateCost, 0, m_cuCount * sizeof(uint16_t));
uint16_t         1964 source/encoder/slicetype.cpp     uint16_t *refCosts[2] = { frames[p0]->propagateCost, frames[p1]->propagateCost };
uint16_t         1972 source/encoder/slicetype.cpp     uint16_t *propagateCost = frames[b]->propagateCost;
uint16_t         1979 source/encoder/slicetype.cpp         memset(frames[b]->propagateCost, 0, m_8x8Width * sizeof(uint16_t));
uint16_t         1982 source/encoder/slicetype.cpp     for (uint16_t blocky = 0; blocky < m_8x8Height; blocky++)
uint16_t         1997 source/encoder/slicetype.cpp         for (uint16_t blockx = 0; blockx < m_8x8Width; blockx++, cuIndex++)
uint16_t         2006 source/encoder/slicetype.cpp                 for (uint16_t list = 0; list < 2; list++)
uint16_t         2010 source/encoder/slicetype.cpp #define CLIP_ADD(s, x) (s) = (uint16_t)X265_MIN((s) + (x), (1 << 16) - 1)
uint16_t         2484 source/encoder/slicetype.cpp     fenc->lowresCosts[b - p0][p1 - b][cuXY] = (uint16_t)(X265_MIN(bcost, LOWRES_COST_MASK) | (listused << LOWRES_COST_SHIFT));
uint16_t           82 source/output/y4m.cpp         uint16_t *src = (uint16_t*)pic.planes[i];
uint16_t           66 source/output/yuv.cpp             uint16_t *src = (uint16_t*)pic.planes[i];
uint16_t           82 source/output/yuv.cpp             uint16_t *src = (uint16_t*)pic.planes[i];
uint16_t          265 source/test/intrapredharness.cpp     uint16_t srcStride = 96;
uint16_t          318 source/test/mbdstharness.cpp             memset(mushortbuf1, 0,  num * sizeof(uint16_t));
uint16_t           61 source/test/mbdstharness.h     uint16_t mushortbuf1[MAX_TU_SIZE];
uint16_t         1313 source/test/pixelharness.cpp         checked(opt, ushort_test_buff[index] + j, srcStride, opt_dest, dstStride, width, height, (int)8, (uint16_t)((1 << X265_DEPTH) - 1));
uint16_t         1314 source/test/pixelharness.cpp         ref(ushort_test_buff[index] + j, srcStride, ref_dest, dstStride, width, height, (int)8, (uint16_t)((1 << X265_DEPTH) - 1));
uint16_t         1319 source/test/pixelharness.cpp             opt(ushort_test_buff[index] + j, srcStride, opt_dest, dstStride, width, height, (int)8, (uint16_t)((1 << X265_DEPTH) - 1));
uint16_t         1404 source/test/pixelharness.cpp     ALIGN_VAR_32(uint16_t, ref_dest[64 * 64]);
uint16_t         1405 source/test/pixelharness.cpp     ALIGN_VAR_32(uint16_t, opt_dest[64 * 64]);
uint16_t         1419 source/test/pixelharness.cpp         if (memcmp(ref_dest, opt_dest, 64 * 64 * sizeof(uint16_t)))
uint16_t         1511 source/test/pixelharness.cpp     uint16_t ref_coeffSign[MLS_GRP_NUM], opt_coeffSign[MLS_GRP_NUM];    // bit mask map for non-zero coeff sign
uint16_t         1512 source/test/pixelharness.cpp     uint16_t ref_coeffFlag[MLS_GRP_NUM], opt_coeffFlag[MLS_GRP_NUM];    // bit mask map for non-zero coeff
uint16_t         1561 source/test/pixelharness.cpp         const uint16_t* const scanTbl = g_scanOrder[rand_scan_type][rand_scan_size];
uint16_t         1562 source/test/pixelharness.cpp         const uint16_t* const scanTblCG4x4 = g_scan4x4[rand_scan_size <= (MDCS_LOG2_MAX_SIZE - 2) ? rand_scan_type : SCAN_DIAG];
uint16_t         1613 source/test/pixelharness.cpp         const uint16_t* const scanTbl = g_scan4x4[rand_scan_type];
uint16_t         1645 source/test/pixelharness.cpp     ALIGN_VAR_32(uint16_t, ref_absCoeff[(1 << MLS_CG_SIZE)]);
uint16_t         1646 source/test/pixelharness.cpp     ALIGN_VAR_32(uint16_t, opt_absCoeff[(1 << MLS_CG_SIZE) + 4]);
uint16_t         1743 source/test/pixelharness.cpp         const uint16_t* const scanTbl = g_scanOrder[rand_scan_type][rand_scan_size];
uint16_t         1744 source/test/pixelharness.cpp         const uint16_t* const scanTblCG4x4 = g_scan4x4[rand_scan_size <= (MDCS_LOG2_MAX_SIZE - 2) ? rand_scan_type : SCAN_DIAG];
uint16_t         1793 source/test/pixelharness.cpp     ALIGN_VAR_32(uint16_t, absCoeff[(1 << MLS_CG_SIZE) + ITERS]);
uint16_t         1825 source/test/pixelharness.cpp     ALIGN_VAR_32(uint16_t, absCoeff[(1 << MLS_CG_SIZE)]);
uint16_t         1855 source/test/pixelharness.cpp                 absCoeff[numNonZero] = (uint16_t)value;
uint16_t         3253 source/test/pixelharness.cpp         REPORT_SPEEDUP(opt.scanPosLast, ref.scanPosLast, g_scanOrder[SCAN_DIAG][NUM_SCAN_SIZE - 1], coefBuf, (uint16_t*)sbuf1, (uint16_t*)sbuf2, (uint8_t*)psbuf1, 32, g_scan4x4[SCAN_DIAG], 32);
uint16_t         3273 source/test/pixelharness.cpp         uint16_t tmpOut[16];
uint16_t         3291 source/test/pixelharness.cpp         uint16_t abscoefBuf[32 * 32];
uint16_t         3293 source/test/pixelharness.cpp         memset(abscoefBuf + 32 * 31, 1, 32 * sizeof(uint16_t));
uint16_t         3300 source/test/pixelharness.cpp         ALIGN_VAR_32(uint16_t, abscoefBuf[C1FLAG_NUMBER]);
uint16_t           67 source/test/pixelharness.h     uint16_t ushort_test_buff[TEST_CASES][BUFFSIZE];
uint16_t          366 source/x265-extras.cpp static void ditherPlane(uint16_t *src, int srcStride, int width, int height, int16_t *errors, int bitDepth)
uint16_t          400 source/x265-extras.cpp                 src[x] = (uint16_t)tmpDst;
uint16_t          432 source/x265-extras.cpp             uint16_t *plane = (uint16_t*)picIn.planes[i];
uint16_t          445 source/x265-extras.cpp         ditherPlane(((uint16_t*)picIn.planes[i]), picIn.stride[i] / 2, width, height, errorBuf, bitDepth);
uint16_t          170 source/x265.h      uint16_t         maxLumaLevel;
uint16_t          171 source/x265.h      uint16_t         minLumaLevel;
uint16_t          173 source/x265.h      uint16_t         maxChromaULevel;
uint16_t          174 source/x265.h      uint16_t         minChromaULevel;
uint16_t          178 source/x265.h      uint16_t         maxChromaVLevel;
uint16_t          179 source/x265.h      uint16_t         minChromaVLevel;
uint16_t          519 source/x265.h      uint16_t              maxCLL;               /* maximum content light level */
uint16_t          520 source/x265.h      uint16_t              maxFALL;              /* maximum frame average light level */
uint16_t         1357 source/x265.h      uint16_t maxCLL;
uint16_t         1363 source/x265.h      uint16_t maxFALL;
uint16_t         1368 source/x265.h      uint16_t minLuma;
uint16_t         1373 source/x265.h      uint16_t maxLuma;