Lines Matching refs:Component
32 // Component specification, specified in section B.2.2.
33 type component struct {
36 c uint8 // Component identifier.
137 comp [maxComponents]component
331 return FormatError("repeated component identifier")
350 // If a JPEG image has only one component, section A.2 says "this data
358 // always 1. The component's (h, v) is effectively always (1, 1): even if
366 // (h, v) values for the Y component are either (1, 1), (1, 2),
367 // (2, 1), (2, 2), (4, 1) or (4, 2), and the Y component's values
368 // must be a multiple of the Cb and Cr component's values. We also
390 // For 4-component images (either CMYK or YCbCrK), we only support two
392 // Theoretically, 4-component JPEG images could mix and match hv values
673 return nil, UnsupportedError("unknown color model: 4-component JPEG doesn't have Adobe APP14 metadata")
676 // If the 4-component JPEG image isn't explicitly marked as "Unknown (RGB