Searched refs:JDR_FMT3 (Results 1 – 2 of 2) sorted by relevance
35 JDR_FMT3 /* 8: Not supported JPEG standard */ enumerator
1010 …if (jd->ncomp != 3 && jd->ncomp != 1) return JDR_FMT3; /* Err: Supports only Grayscale and Y/Cb/Cr… in jd_prepare()1017 return JDR_FMT3; /* Err: Supports only 4:4:4, 4:2:0 or 4:2:2 */ in jd_prepare()1021 if (b != 0x11) return JDR_FMT3; /* Err: Sampling factor of Cb/Cr must be 1 */ in jd_prepare()1024 if (jd->qtid[i] > 3) return JDR_FMT3; /* Err: Invalid ID */ in jd_prepare()1056 if (seg[0] != jd->ncomp) return JDR_FMT3; /* Err: Wrong color components */ in jd_prepare()1061 if (b != 0x00 && b != 0x11) return JDR_FMT3; /* Err: Different table number for DC/AC element */ in jd_prepare()1102 return JDR_FMT3; /* Unsuppoted JPEG standard (may be progressive JPEG) */ in jd_prepare()