/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/samples/sample_hevc_fei_abr/src/dso/ |
H A D | hevc2_cabac.cpp | 110 while (binIdx < cMax) in SaoOffsetAbs() 302 if (cMax > 0) in MergeIdx() 309 while (binIdx < cMax) in MergeIdx() 349 if (cMax > 0) in RefIdxL0() 356 if (binIdx < cMax) in RefIdxL0() 363 while (binIdx < cMax) in RefIdxL0() 385 if (cMax > 0) in RefIdxL1() 392 if (binIdx < cMax) in RefIdxL1() 399 while (binIdx < cMax) in RefIdxL1() 454 while (binIdx < cMax) in CuChromaQpOffsetIdx() [all …]
|
H A D | hevc_cabac.cpp | 61 for(Bs32u cMax = 0; cMax < binTRx0Size; cMax++){ in initBins() local 62 for(Bs32u synVal = 0; synVal <= cMax; synVal++) in initBins() 63 m_binTRx0[cMax].push_back(TR(synVal, cMax, 0)); in initBins() 108 HEVC_CABAC::Bin HEVC_CABAC::TR(Bs32s synVal, Bs32u cMax, Bs32u cRiceParam){ in TR() argument 112 Bs32u cLen = (cMax >> cRiceParam); in TR() 120 if(cRiceParam && cMax > (Bs32u)synVal) in TR() 147 HEVC_CABAC::Bin HEVC_CABAC::FL(Bs32s synVal, Bs32u cMax){ in FL() argument 148 Bs32u fixedLength = CeilLog2( cMax + 1 ); in FL() 222 Bs32u cMax = (4 << m_cRiceParam); in decCAbsLvlR() local 225 Bin b = TR( BS_MIN(cMax, synVal), cMax, m_cRiceParam ); in decCAbsLvlR() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/tools/bs_parser_hevc/src/ |
H A D | hevc2_cabac.cpp | 110 while (binIdx < cMax) in SaoOffsetAbs() 302 if (cMax > 0) in MergeIdx() 309 while (binIdx < cMax) in MergeIdx() 349 if (cMax > 0) in RefIdxL0() 356 if (binIdx < cMax) in RefIdxL0() 363 while (binIdx < cMax) in RefIdxL0() 385 if (cMax > 0) in RefIdxL1() 392 if (binIdx < cMax) in RefIdxL1() 399 while (binIdx < cMax) in RefIdxL1() 454 while (binIdx < cMax) in CuChromaQpOffsetIdx() [all …]
|
H A D | hevc_cabac.cpp | 61 for(Bs32u cMax = 0; cMax < binTRx0Size; cMax++){ in initBins() local 62 for(Bs32u synVal = 0; synVal <= cMax; synVal++) in initBins() 63 m_binTRx0[cMax].push_back(TR(synVal, cMax, 0)); in initBins() 108 HEVC_CABAC::Bin HEVC_CABAC::TR(Bs32s synVal, Bs32u cMax, Bs32u cRiceParam){ in TR() argument 112 Bs32u cLen = (cMax >> cRiceParam); in TR() 120 if(cRiceParam && cMax > (Bs32u)synVal) in TR() 147 HEVC_CABAC::Bin HEVC_CABAC::FL(Bs32s synVal, Bs32u cMax){ in FL() argument 148 Bs32u fixedLength = CeilLog2( cMax + 1 ); in FL() 222 Bs32u cMax = (4 << m_cRiceParam); in decCAbsLvlR() local 225 Bin b = TR( BS_MIN(cMax, synVal), cMax, m_cRiceParam ); in decCAbsLvlR() [all …]
|
/dports/lang/mono-basic/mono-basic-4.7/vbnc/cecil/symbols/pdb/Mono.Cecil.Pdb/ |
H A D | ModuleMetadata.cs | 87 uint EnumFields (ref uint phEnum, uint cl, IntPtr /* uint* */ rFields, uint cMax); in EnumFields() argument 94 uint cMax); in EnumPermissionSets() argument 102 uint EnumEvents (ref uint phEnum, uint td, IntPtr /* uint* */ rEvents, uint cMax); in EnumEvents() argument 451 public uint EnumTypeDefs (ref uint phEnum, uint[] rTypeDefs, uint cMax) in EnumTypeDefs() argument 461 public uint EnumTypeRefs (ref uint phEnum, uint[] rTypeRefs, uint cMax) in EnumTypeRefs() argument 532 public uint EnumMembers (ref uint phEnum, uint cl, uint[] rMembers, uint cMax) in EnumMembers() argument 542 public uint EnumMethods (ref uint phEnum, uint cl, IntPtr rMethods, uint cMax) in EnumMethods() argument 552 public uint EnumFields (ref uint phEnum, uint cl, IntPtr rFields, uint cMax) in EnumFields() argument 562 public uint EnumParams (ref uint phEnum, uint mb, uint[] rParams, uint cMax) in EnumParams() argument 630 public uint EnumEvents (ref uint phEnum, uint td, IntPtr rEvents, uint cMax) in EnumEvents() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/linker/cecil/symbols/pdb/Mono.Cecil.Pdb/ |
H A D | ModuleMetadata.cs | 87 uint EnumFields (ref uint phEnum, uint cl, IntPtr /* uint* */ rFields, uint cMax); in EnumFields() argument 94 uint cMax); in EnumPermissionSets() argument 102 uint EnumEvents (ref uint phEnum, uint td, IntPtr /* uint* */ rEvents, uint cMax); in EnumEvents() argument 451 public uint EnumTypeDefs (ref uint phEnum, uint[] rTypeDefs, uint cMax) in EnumTypeDefs() argument 461 public uint EnumTypeRefs (ref uint phEnum, uint[] rTypeRefs, uint cMax) in EnumTypeRefs() argument 532 public uint EnumMembers (ref uint phEnum, uint cl, uint[] rMembers, uint cMax) in EnumMembers() argument 542 public uint EnumMethods (ref uint phEnum, uint cl, IntPtr rMethods, uint cMax) in EnumMethods() argument 552 public uint EnumFields (ref uint phEnum, uint cl, IntPtr rFields, uint cMax) in EnumFields() argument 562 public uint EnumParams (ref uint phEnum, uint mb, uint[] rParams, uint cMax) in EnumParams() argument 630 public uint EnumEvents (ref uint phEnum, uint td, IntPtr rEvents, uint cMax) in EnumEvents() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/cecil-legacy/symbols/pdb/Mono.Cecil.Pdb/ |
H A D | ModuleMetadata.cs | 87 uint EnumFields (ref uint phEnum, uint cl, IntPtr /* uint* */ rFields, uint cMax); in EnumFields() argument 94 uint cMax); in EnumPermissionSets() argument 102 uint EnumEvents (ref uint phEnum, uint td, IntPtr /* uint* */ rEvents, uint cMax); in EnumEvents() argument 451 public uint EnumTypeDefs (ref uint phEnum, uint[] rTypeDefs, uint cMax) in EnumTypeDefs() argument 461 public uint EnumTypeRefs (ref uint phEnum, uint[] rTypeRefs, uint cMax) in EnumTypeRefs() argument 532 public uint EnumMembers (ref uint phEnum, uint cl, uint[] rMembers, uint cMax) in EnumMembers() argument 542 public uint EnumMethods (ref uint phEnum, uint cl, IntPtr rMethods, uint cMax) in EnumMethods() argument 552 public uint EnumFields (ref uint phEnum, uint cl, IntPtr rFields, uint cMax) in EnumFields() argument 562 public uint EnumParams (ref uint phEnum, uint mb, uint[] rParams, uint cMax) in EnumParams() argument 630 public uint EnumEvents (ref uint phEnum, uint td, IntPtr rEvents, uint cMax) in EnumEvents() argument [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/cecil/symbols/pdb/Mono.Cecil.Pdb/ |
H A D | ModuleMetadata.cs | 87 uint EnumFields (ref uint phEnum, uint cl, IntPtr /* uint* */ rFields, uint cMax); in EnumFields() argument 94 uint cMax); in EnumPermissionSets() argument 102 uint EnumEvents (ref uint phEnum, uint td, IntPtr /* uint* */ rEvents, uint cMax); in EnumEvents() argument 451 public uint EnumTypeDefs (ref uint phEnum, uint[] rTypeDefs, uint cMax) in EnumTypeDefs() argument 461 public uint EnumTypeRefs (ref uint phEnum, uint[] rTypeRefs, uint cMax) in EnumTypeRefs() argument 532 public uint EnumMembers (ref uint phEnum, uint cl, uint[] rMembers, uint cMax) in EnumMembers() argument 542 public uint EnumMethods (ref uint phEnum, uint cl, IntPtr rMethods, uint cMax) in EnumMethods() argument 552 public uint EnumFields (ref uint phEnum, uint cl, IntPtr rFields, uint cMax) in EnumFields() argument 562 public uint EnumParams (ref uint phEnum, uint mb, uint[] rParams, uint cMax) in EnumParams() argument 630 public uint EnumEvents (ref uint phEnum, uint td, IntPtr rEvents, uint cMax) in EnumEvents() argument [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/generic/ |
H A D | color.cxx | 73 sal_uInt8 cMax, cMin; in RGBtoHSB() local 79 cMax = c[0]; in RGBtoHSB() 80 if( c[1] > cMax ) in RGBtoHSB() 81 cMax = c[1]; in RGBtoHSB() 82 if( c[2] > cMax ) in RGBtoHSB() 83 cMax = c[2]; in RGBtoHSB() 86 nBri = cMax * 100 / 255; in RGBtoHSB() 94 sal_uInt8 cDelta = cMax - cMin; in RGBtoHSB() 108 if( c[0] == cMax ) in RGBtoHSB() 112 else if( c[1] == cMax ) in RGBtoHSB() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/generic/ |
H A D | color.cxx | 64 sal_uInt8 cMax, cMin; in RGBtoHSB() local 70 cMax = c[0]; in RGBtoHSB() 71 if( c[1] > cMax ) in RGBtoHSB() 72 cMax = c[1]; in RGBtoHSB() 73 if( c[2] > cMax ) in RGBtoHSB() 74 cMax = c[2]; in RGBtoHSB() 77 nBri = cMax * 100 / 255; in RGBtoHSB() 85 sal_uInt8 cDelta = cMax - cMin; in RGBtoHSB() 99 if( c[0] == cMax ) in RGBtoHSB() 103 else if( c[1] == cMax ) in RGBtoHSB() [all …]
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/mainwindow/ |
H A D | HSLColor.java | 33 int cMax; in initHSLbyRGB() local 46 cMax = iMax(iMax(R, G), B); in initHSLbyRGB() 49 cMinus = cMax - cMin; in initHSLbyRGB() 50 cPlus = cMax + cMin; in initHSLbyRGB() 55 if (cMax == cMin) { in initHSLbyRGB() 68 RDelta = (int)((((cMax - R) * (HSLMAX / 6)) + 0.5) / cMinus); in initHSLbyRGB() 69 GDelta = (int)((((cMax - G) * (HSLMAX / 6)) + 0.5) / cMinus); in initHSLbyRGB() 70 BDelta = (int)((((cMax - B) * (HSLMAX / 6)) + 0.5) / cMinus); in initHSLbyRGB() 72 if (cMax == R) { in initHSLbyRGB() 74 } else if (cMax == G) { in initHSLbyRGB() [all …]
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/interface/ |
H A D | Colour.cpp | 132 const uint8_t cMax = std::max(paletteIndex1, paletteIndex2); in blendColours() local 134 if (BlendColourMap[cMin][cMax] != 0) in blendColours() 136 return BlendColourMap[cMin][cMax]; in blendColours() 139 uint8_t red = (gPalette[cMin].Red + gPalette[cMax].Red) / 2; in blendColours() 140 uint8_t green = (gPalette[cMin].Green + gPalette[cMax].Green) / 2; in blendColours() 141 uint8_t blue = (gPalette[cMin].Blue + gPalette[cMax].Blue) / 2; in blendColours() 143 BlendColourMap[cMin][cMax] = findClosestPaletteIndex(red, green, blue); in blendColours() 144 return BlendColourMap[cMin][cMax]; in blendColours()
|
/dports/games/kjumpingcube/kjumpingcube-21.12.3/src/ |
H A D | ai_newton.cpp | 65 int cMax = maxValues[index]; in assessCube() local 66 if (vacant && nVacant && (cMax == 2)) return OccupyCorner; // Value 4. in assessCube() 67 if (vacant && nVacant && (cMax == 3)) return OccupyEdge; // Value 5. in assessCube() 68 if (vacant && nVacant && (cMax == 4)) return OccupyCenter; // Value 6. in assessCube() 74 if (cMax == 3) return IncreaseEdge; // Value 10. in assessCube() 75 if (cMax == 4) return IncreaseCenter; // Value 11. in assessCube()
|
/dports/games/gogui/Quaqua/src/ch/randelshofer/quaqua/ |
H A D | QuaquaTableHeaderUI.java | 86 int cMax = header.columnAtPoint( ltr ? right : left ); in paint() local 99 if (cMax == -1) { in paint() 100 cMax = cm.getColumnCount()-1; in paint() 109 cellBorder.paintBorder(header,g, cMax, 0, header.getWidth() - cMax, header.getHeight()); in paint() 118 for(int column = cMin; column <= cMax ; column++) { in paint() 128 for(int column = cMax; column >= cMin; column--) { in paint() 173 int cMax = header.columnAtPoint( ltr ? right : left ); in paintOLD() local 180 if (cMax == -1) { in paintOLD() 181 cMax = cm.getColumnCount()-1; in paintOLD() 190 cellBorder.paintBorder(header,g, cMax, 0, header.getWidth() - cMax, header.getHeight()); in paintOLD() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/ |
H A D | ControlPaint.cs | 57 int cMax; in Color2HBS() 67 cMax = Math.Max(Math.Max(r, g), b); in Color2HBS() 70 l = (((cMax+cMin)*HLSMax)+RGBMax)/(2*RGBMax); in Color2HBS() 72 if (cMax==cMin) { // Achromatic in Color2HBS() 80 s=(((cMax-cMin)*HLSMax)+((cMax+cMin)/2))/(cMax+cMin); in Color2HBS() 82 s=(((cMax-cMin)*HLSMax)+((2*RGBMax-cMax-cMin)/2))/(2*RGBMax-cMax-cMin); in Color2HBS() 86 rDelta=(((cMax-r)*(HLSMax/6))+((cMax-cMin)/2))/(cMax-cMin); in Color2HBS() 87 gDelta=(((cMax-g)*(HLSMax/6))+((cMax-cMin)/2))/(cMax-cMin); in Color2HBS() 88 bDelta=(((cMax-b)*(HLSMax/6))+((cMax-cMin)/2))/(cMax-cMin); in Color2HBS() 90 if (r == cMax) { in Color2HBS() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/northwood/ |
H A D | northwood.cpp | 587 cMax = (unsigned char) MAX( MAX(R,G), B ); in RGBtoHLS() 589 hls.l = (((cMax + cMin) * HLSMAX) + RGBMAX) / (2 * RGBMAX); in RGBtoHLS() 591 if( cMax == cMin ) in RGBtoHLS() 601 (((cMax - cMin) * HLSMAX) + ((cMax + cMin) / 2)) / (cMax + cMin); in RGBtoHLS() 603 hls.s= (((cMax - cMin) * HLSMAX) + ((2 * RGBMAX - cMax - cMin) / 2)) in RGBtoHLS() 604 / (2 * RGBMAX - cMax - cMin); in RGBtoHLS() 608 (((cMax - R) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 610 (((cMax - G) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 612 (((cMax - B) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 614 if( R == cMax ) in RGBtoHLS() [all …]
|
/dports/games/openclonk/openclonk-release-8.1-src/src/graphics/ |
H A D | C4Surface.cpp | 207 BYTE cMax,cMin; in ClrByOwner() local 214 cMax = std::max<int>(std::max<int>(R,G),B); in ClrByOwner() 218 if (cMax == cMin) in ClrByOwner() 228 S = ( ((cMax-cMin)*HLSMAX) + ((cMax+cMin)/2) ) / (cMax+cMin); in ClrByOwner() 230 S = ( ((cMax-cMin)*HLSMAX) + ((2*RGBMAX-cMax-cMin)/2) ) in ClrByOwner() 231 / (2*RGBMAX-cMax-cMin); in ClrByOwner() 233 Rdelta = ( ((cMax-R)*(HLSMAX/6)) + ((cMax-cMin)/2) ) / (cMax-cMin); in ClrByOwner() 234 Gdelta = ( ((cMax-G)*(HLSMAX/6)) + ((cMax-cMin)/2) ) / (cMax-cMin); in ClrByOwner() 235 Bdelta = ( ((cMax-B)*(HLSMAX/6)) + ((cMax-cMin)/2) ) / (cMax-cMin); in ClrByOwner() 236 if (R == cMax) in ClrByOwner() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/northwood/ |
H A D | northwood.cpp | 616 unsigned char cMax = static_cast<unsigned char>( std::max( std::max(R,G), B ) ); in RGBtoHLS() local 619 hls.l = (((cMax + cMin) * HLSMAX) + RGBMAX) / (2 * RGBMAX); in RGBtoHLS() 622 if( cMax == cMin ) in RGBtoHLS() 632 (((cMax - cMin) * HLSMAX) + ((cMax + cMin) / 2)) / (cMax + cMin); in RGBtoHLS() 634 hls.s= (((cMax - cMin) * HLSMAX) + ((2 * RGBMAX - cMax - cMin) / 2)) in RGBtoHLS() 635 / (2 * RGBMAX - cMax - cMin); in RGBtoHLS() 639 (((cMax - R) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 641 (((cMax - G) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 643 (((cMax - B) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 645 if( R == cMax ) in RGBtoHLS() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/northwood/ |
H A D | northwood.cpp | 616 unsigned char cMax = static_cast<unsigned char>( std::max( std::max(R,G), B ) ); in RGBtoHLS() local 619 hls.l = (((cMax + cMin) * HLSMAX) + RGBMAX) / (2 * RGBMAX); in RGBtoHLS() 622 if( cMax == cMin ) in RGBtoHLS() 632 (((cMax - cMin) * HLSMAX) + ((cMax + cMin) / 2)) / (cMax + cMin); in RGBtoHLS() 634 hls.s= (((cMax - cMin) * HLSMAX) + ((2 * RGBMAX - cMax - cMin) / 2)) in RGBtoHLS() 635 / (2 * RGBMAX - cMax - cMin); in RGBtoHLS() 639 (((cMax - R) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 641 (((cMax - G) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 643 (((cMax - B) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 645 if( R == cMax ) in RGBtoHLS() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/northwood/ |
H A D | northwood.cpp | 616 unsigned char cMax = static_cast<unsigned char>( std::max( std::max(R,G), B ) ); in RGBtoHLS() local 619 hls.l = (((cMax + cMin) * HLSMAX) + RGBMAX) / (2 * RGBMAX); in RGBtoHLS() 622 if( cMax == cMin ) in RGBtoHLS() 632 (((cMax - cMin) * HLSMAX) + ((cMax + cMin) / 2)) / (cMax + cMin); in RGBtoHLS() 634 hls.s= (((cMax - cMin) * HLSMAX) + ((2 * RGBMAX - cMax - cMin) / 2)) in RGBtoHLS() 635 / (2 * RGBMAX - cMax - cMin); in RGBtoHLS() 639 (((cMax - R) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 641 (((cMax - G) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 643 (((cMax - B) * (HLSMAX / 6)) + ((cMax - cMin) / 2)) / (cMax - cMin); in RGBtoHLS() 645 if( R == cMax ) in RGBtoHLS() [all …]
|
/dports/math/openturns/openturns-1.18/lib/src/Base/Func/ |
H A D | LARS.cxx | 113 Scalar cMax = -1.0; in updateBasis() local 118 if (cAbs > cMax) in updateBasis() 120 cMax = cAbs; in updateBasis() 125 if (getVerbose()) LOGINFO(OSS() << "predictor=" << candidatePredictor << " residual=" << cMax); in updateBasis() 166 Scalar step = cMax / cNorm; in updateBasis() 169 Scalar lhs = (cMax - cI[j]) / (cNorm - d[j]); in updateBasis() 170 Scalar rhs = (cMax + cI[j]) / (cNorm + d[j]); in updateBasis()
|
/dports/math/vtk9/VTK-9.1.0/Filters/HyperTree/ |
H A D | vtkHyperTreeGridAxisClip.cxx | 208 double cMax[3]; in IsClipped() local 209 cMax[0] = cMin[0] + size[0]; in IsClipped() 210 cMax[1] = cMin[1] + size[1]; in IsClipped() 211 cMax[2] = cMin[2] + size[2]; in IsClipped() 214 (cMax[0] >= bMin[0] && cMax[0] <= bMax[0])) && in IsClipped() 216 (cMax[1] >= bMin[1] && cMax[1] <= bMax[1])) && in IsClipped() 217 ((cMin[2] >= bMin[2] && cMin[2] <= bMax[2]) || (cMax[2] >= bMin[2] && cMax[2] <= bMax[2]))) in IsClipped()
|
/dports/multimedia/obs-streamfx/obs-StreamFX-0.9.3/data/effects/ |
H A D | color-grade.effect | 114 float cMax = max( r, max( g, b ) ); 116 l = ( cMax + cMin ) / 2.0; 117 if ( cMax > cMin ) { 118 float cDelta = cMax - cMin; 120 //s = l < .05 ? cDelta / ( cMax + cMin ) : cDelta / ( 2.0 - ( cMax + cMin ) ); Original 121 s = l < .0 ? cDelta / ( cMax + cMin ) : cDelta / ( 2.0 - ( cMax + cMin ) ); 123 if ( r == cMax ) { 125 } else if ( g == cMax ) {
|
/dports/math/oleo/oleo-1.99.16/src/ |
H A D | list.c | 165 CELLREF rMax, cMax; local 172 cMax = rng->lc; 176 if (col > cMax) cMax = col; 217 if (col == cMax)
|
/dports/x11-toolkits/gtkmathview/gtkmathview-0.8.0/src/engine/boxml/ |
H A D | BoxMLHVElement.cc | 59 std::vector<AreaRef> cMax; in format() local 60 cMax.reserve(content.getSize()); in format() 72 cMax.push_back((*p)->getMaxArea()); in format() 79 res = BoxMLHElement::formatHorizontalArray(ctxt, cMax, spacing); in format()
|