Lines Matching refs:factors
381 factors[3]; in WriteEXRImage() local
463 factors[0]=0; in WriteEXRImage()
471 if (sscanf(sampling_factor,"%d:%d:%d",factors,factors+1,factors+2) == 3) in WriteEXRImage()
473 if ((factors[0] == factors[1]) && (factors[1] == factors[2])) in WriteEXRImage()
474 factors[0]=1; in WriteEXRImage()
476 if ((factors[0] == (2*factors[1])) && (factors[2] == 0)) in WriteEXRImage()
477 factors[0]=2; in WriteEXRImage()
480 if (sscanf(sampling_factor,"%dx%d",factors,factors+1) == 2) in WriteEXRImage()
482 if (factors[0] != factors[1]) in WriteEXRImage()
483 factors[0]=0; in WriteEXRImage()
485 if ((factors[0] != 1) && (factors[0] != 2)) in WriteEXRImage()
493 factors[1]=((channels == IMF_WRITE_YCA) || in WriteEXRImage()
495 if (factors[0] != factors[1]) in WriteEXRImage()
506 if (factors[0] == 2) in WriteEXRImage()