Lines Matching defs:in
8 // to deal in the Software without restriction, including without limitation
13 // The above copyright notice and this permission notice shall be included in
19 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
89 // Compute K -> L* relationship. Flags may include black point compensation. In this case,
148 cmsToneCurve *in, *out, *KTone;
159 // computed as a BPC to zero black point in case of L*
160 in = ComputeKToLstar(ContextID, nPoints, nProfiles - 1, Intents, hProfiles, BPC, AdaptationStates, dwFlags);
161 if (in == NULL) return NULL;
170 cmsFreeToneCurve(in);
175 // since this is used on black-preserving LUTs, we are not loosing accuracy in any case
176 KTone = cmsJoinToneCurve(ContextID, in, out, nPoints);
179 cmsFreeToneCurve(in); cmsFreeToneCurve(out);
214 int GamutSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo)
222 // Assume in-gamut by default.
226 cmsDoTransform(t -> hInput, In, &LabIn1, 1);
229 // does return in-gamut values,
248 // if dE1 is small and dE2 is small, value is likely to be in gamut
253 // if dE1 is small and dE2 is big, undefined. Assume in gamut
284 // **WARNING: This algorithm does assume that gamut remapping algorithms does NOT move in-gamut colors,
285 // of course, many perceptual and saturation intents does not work in such way, but relativ. ones should.
322 // of input and output CLUT may result in differences.
424 // This callback just accounts the maximum ink dropped in the given node. It does not populate any
427 int EstimateTAC(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void * Cargo)
436 cmsDoTransform(bp->hRoundTrip, In, RoundTrip, 1);
448 bp ->MaxInput[i] = In[i];
483 // Setup a roundtrip on perceptual intent in output profile for TAC estimation
502 // Results in %
523 // in such way because icc spec doesn't allow the