Home
last modified time | relevance | path

Searched refs:numberOfComponents (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pdf/
DSkJpegInfo.cpp111 int numberOfComponents = segment.data()[5]; in SkGetJpegInfo() local
112 if (numberOfComponents != 1 && numberOfComponents != 3) { in SkGetJpegInfo()
120 *colorType = numberOfComponents == 3 ? SkEncodedInfo::kYUV_Color in SkGetJpegInfo()
/external/skqp/src/pdf/
DSkJpegInfo.cpp111 int numberOfComponents = segment.data()[5]; in SkGetJpegInfo() local
112 if (numberOfComponents != 1 && numberOfComponents != 3) { in SkGetJpegInfo()
120 *colorType = numberOfComponents == 3 ? SkEncodedInfo::kYUV_Color in SkGetJpegInfo()
/external/ImageMagick/coders/
Dfpx.c240 if (colorspace.numberOfComponents == 0) in ReadFPXImage()
339 if ((colorspace.numberOfComponents % 2) == 0) in ReadFPXImage()
341 if (colorspace.numberOfComponents == 1) in ReadFPXImage()
365 1UL)*colorspace.numberOfComponents*sizeof(*pixels)); in ReadFPXImage()
375 fpx_info.numberOfComponents=colorspace.numberOfComponents; in ReadFPXImage()
381 fpx_info.components[i].columnStride=fpx_info.numberOfComponents; in ReadFPXImage()
386 fpx_info.components[0].myColorType.myColor=fpx_info.numberOfComponents > 2 ? in ReadFPXImage()
389 fpx_info.components[1].myColorType.myColor=fpx_info.numberOfComponents > 2 ? in ReadFPXImage()
395 alpha_component=(&fpx_info.components[fpx_info.numberOfComponents-1]); in ReadFPXImage()
435 if (fpx_info.numberOfComponents > 2) in ReadFPXImage()
[all …]