Home
last modified time | relevance | path

Searched refs:iValue (Results 1 – 25 of 35) sorted by relevance

12

/third_party/openh264/codec/encoder/core/src/
Dset_mb_syn_cavlc.cpp119 int32_t iValue = 0, iThreshold, iZeroLeft; in WriteBlockResidualCavlc() local
146 iValue = upCoeffToken[0]; in WriteBlockResidualCavlc()
150 CAVLC_BS_WRITE (n, iValue); in WriteBlockResidualCavlc()
159 iValue = (iValue << iTrailingOnes) + uiSign; in WriteBlockResidualCavlc()
160 CAVLC_BS_WRITE (n, iValue); in WriteBlockResidualCavlc()
194 iValue = ((1 << iLevelSuffixSize) | iLevelSuffix); in WriteBlockResidualCavlc()
195 CAVLC_BS_WRITE (n, iValue); in WriteBlockResidualCavlc()
209 iValue = upTotalZeros[0]; in WriteBlockResidualCavlc()
210 CAVLC_BS_WRITE (n, iValue); in WriteBlockResidualCavlc()
214 iValue = upTotalZeros[0]; in WriteBlockResidualCavlc()
[all …]
Dsvc_set_mb_syn_cabac.cpp245 int32_t iValue = pCurMb->iLumaDQp < 0 ? (-2 * pCurMb->iLumaDQp) : (2 * pCurMb->iLumaDQp - 1); in WelsCabacMbDeltaQp() local
247 if (iValue == 1) { in WelsCabacMbDeltaQp()
251 iValue--; in WelsCabacMbDeltaQp()
252 while ((--iValue) > 0) in WelsCabacMbDeltaQp()
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp705 int32_t iValue = * ((int32_t*)pOption); in SetOption() local
706 int32_t iColorspace = iValue; in SetOption()
717 int32_t iValue = * ((int32_t*)pOption); in SetOption() local
719 "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_IDR_INTERVAL iValue = %d", iValue); in SetOption()
720 if (iValue <= -1) { in SetOption()
721 iValue = 0; in SetOption()
723 if (iValue == (int32_t)m_pEncContext->pSvcParam->uiIntraPeriod) { in SetOption()
726 m_pEncContext->pSvcParam->uiIntraPeriod = (uint32_t)iValue; in SetOption()
847 float iValue = * ((float*)pOption); in SetOption() local
848 if (iValue <= 0) { in SetOption()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp224 GLint iValue; in verifyTexParameters() local
225 gl.getTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, &iValue); in verifyTexParameters()
229 if (iValue != 1) in verifyTexParameters()
232 << "GetTexParameteriv failed. Expected value: 1, Queried value: " << iValue in verifyTexParameters()
245 << "GetTexParameterfv failed. Expected value: 1.0, Queried value: " << iValue in verifyTexParameters()
251 iValue = 2; in verifyTexParameters()
252 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, iValue); in verifyTexParameters()
255 gl.getTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, &iValue); in verifyTexParameters()
258 if (iValue != 2) in verifyTexParameters()
261 << "texParameteri failed. Expected value: 2, Queried value: " << iValue in verifyTexParameters()
[all …]
/third_party/openh264/codec/common/inc/
Dmacros.h300 static inline void WelsSetMemUint32_c (uint32_t* pDst, uint32_t iValue, int32_t iSizeOfData) { in WelsSetMemUint32_c() argument
302 pDst[i] = iValue; in WelsSetMemUint32_c()
306 static inline void WelsSetMemUint16_c (uint16_t* pDst, uint16_t iValue, int32_t iSizeOfData) { in WelsSetMemUint16_c() argument
308 pDst[i] = iValue; in WelsSetMemUint16_c()
312 inline void WelsSetMemMultiplebytes_c (void* pDst, uint32_t iValue, int32_t iSizeOfData, int32_t iD… in WelsSetMemMultiplebytes_c() argument
316 if (0 != iValue) { in WelsSetMemMultiplebytes_c()
318 … WelsSetMemUint32_c (static_cast<uint32_t*> (pDst), static_cast<uint32_t> (iValue), iSizeOfData); in WelsSetMemMultiplebytes_c()
320 … WelsSetMemUint16_c (static_cast<uint16_t*> (pDst), static_cast<uint16_t> (iValue), iSizeOfData); in WelsSetMemMultiplebytes_c()
322 memset (static_cast<uint8_t*> (pDst), static_cast<uint8_t> (iValue), iSizeOfData); in WelsSetMemMultiplebytes_c()
/third_party/openh264/codec/processing/src/common/
Dmemory.h50 inline void* WelsMemset (void* pPointer, int32_t iValue, uint32_t uiSize) { in WelsMemset() argument
51 return ::memset (pPointer, iValue, uiSize); in WelsMemset()
/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp154 int iResult, iValue, iReturn; in TEST_F() local
167 iValue = rand() % 256; in TEST_F()
168 iResult = pPtrEnc->SetOption (eOptionId, &iValue); in TEST_F()
170 if (iValue == 0) in TEST_F()
177 EXPECT_EQ (iValue, iReturn); in TEST_F()
184 iValue = rand() % 256 - 5; in TEST_F()
185 iResult = pPtrEnc->SetOption (eOptionId, &iValue); in TEST_F()
190 if (iValue <= -1) in TEST_F()
191 iValue = 0; in TEST_F()
192 EXPECT_EQ (iValue, iReturn); in TEST_F()
[all …]
/third_party/openh264/codec/decoder/core/inc/
Ddec_golomb.h158 uint32_t iValue = 0; in BsGetUe() local
177 iValue = UBITS (pBs->uiCurBits, iLeadingZeroBits); in BsGetUe()
182 *pCode = ((1u << iLeadingZeroBits) - 1 + iValue); in BsGetUe()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DToken.cpp56 bool Token::iValue(int *value) const in iValue() function in angle::pp::Token
DToken.h88 bool iValue(int *value) const;
DExpressionParser.y352 if (!token->uValue(&val) || (!token->iValue(&testVal) &&
DDirectiveParser.cpp724 if (valid && !token->iValue(&version)) in parseVersion()
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DToken.cpp56 bool Token::iValue(int *value) const in iValue() function in angle::pp::Token
DToken.h88 bool iValue(int *value) const;
Dpreprocessor.y354 if (!token->uValue(&val) || (!token->iValue(&testVal) &&
DDirectiveParser.cpp736 if (valid && !token->iValue(&version)) in parseVersion()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DToken.cpp64 bool Token::iValue(int *value) const in iValue() function in pp::Token
DToken.h93 bool iValue(int *value) const;
DExpressionParser.y366 if (!token->uValue(&val) || (!token->iValue(&testVal) &&
DDirectiveParser.cpp794 if (valid && !token->iValue(&version)) in parseVersion()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp256 int32_t iValue = atoi (strTag[1].c_str()); in ParseConfig() local
257 switch (iValue) { in ParseConfig()
492 int32_t iValue = atoi (argv[n++]); in ParseCommandLine() local
493 switch (iValue) { in ParseCommandLine()
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.h417 double checkRound(DecimalFormat* df, double iValue, double lastParsed);
Dnumfmtst.cpp3359 double iValue=base+(increment*(i*0.1)); in checkRounding() local
3361 if (iValue!=0) { in checkRounding()
3362 smallIncrement*=iValue; in checkRounding()
3365 lastParsed=checkRound(df, iValue-smallIncrement, lastParsed); in checkRounding()
3366 lastParsed=checkRound(df, iValue, lastParsed); in checkRounding()
3367 lastParsed=checkRound(df, iValue+smallIncrement, lastParsed); in checkRounding()
3371 double NumberFormatTest::checkRound(DecimalFormat* df, double iValue, double lastParsed) { in checkRound() argument
3376 df->format(iValue, formattedDecimal, status); in checkRound()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java2567 BigDecimal iValue = base.add(increment.multiply(new BigDecimal(i)).movePointLeft(1)); in checkRounding() local
2569 if (iValue.signum() != 0) { in checkRounding()
2570 smallIncrement.multiply(iValue); // scale unless zero in checkRounding()
2573 lastParsed = checkRound(nf, iValue.subtract(smallIncrement), lastParsed); in checkRounding()
2574 lastParsed = checkRound(nf, iValue, lastParsed); in checkRounding()
2575 lastParsed = checkRound(nf, iValue.add(smallIncrement), lastParsed); in checkRounding()
2579 private BigDecimal checkRound(DecimalFormat nf, BigDecimal iValue, BigDecimal lastParsed) { in checkRound() argument
2580 String formatedBigDecimal = nf.format(iValue); in checkRound()
2581 String formattedDouble = nf.format(iValue.doubleValue()); in checkRound()
2584 errln("Failure at: " + iValue + " (" + iValue.doubleValue() + ")" in checkRound()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java2570 BigDecimal iValue = base.add(increment.multiply(new BigDecimal(i)).movePointLeft(1)); in checkRounding() local
2572 if (iValue.signum() != 0) { in checkRounding()
2573 smallIncrement.multiply(iValue); // scale unless zero in checkRounding()
2576 lastParsed = checkRound(nf, iValue.subtract(smallIncrement), lastParsed); in checkRounding()
2577 lastParsed = checkRound(nf, iValue, lastParsed); in checkRounding()
2578 lastParsed = checkRound(nf, iValue.add(smallIncrement), lastParsed); in checkRounding()
2582 private BigDecimal checkRound(DecimalFormat nf, BigDecimal iValue, BigDecimal lastParsed) { in checkRound() argument
2583 String formatedBigDecimal = nf.format(iValue); in checkRound()
2584 String formattedDouble = nf.format(iValue.doubleValue()); in checkRound()
2587 errln("Failure at: " + iValue + " (" + iValue.doubleValue() + ")" in checkRound()
[all …]

12