/external/skia/include/core/ |
D | SkPixmap.h | 51 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 73 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 129 const SkImageInfo& info() const { return fInfo; } in info() 154 int width() const { return fInfo.width(); } in width() 160 int height() const { return fInfo.height(); } in height() 170 SkColorType colorType() const { return fInfo.colorType(); } in colorType() 178 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 186 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 196 sk_sp<SkColorSpace> refColorSpace() const { return fInfo.refColorSpace(); } in refColorSpace() 204 bool isOpaque() const { return fInfo.isOpaque(); } in isOpaque() [all …]
|
/external/skqp/include/core/ |
D | SkPixmap.h | 51 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 73 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 129 const SkImageInfo& info() const { return fInfo; } in info() 154 int width() const { return fInfo.width(); } in width() 160 int height() const { return fInfo.height(); } in height() 170 SkColorType colorType() const { return fInfo.colorType(); } in colorType() 178 SkAlphaType alphaType() const { return fInfo.alphaType(); } in alphaType() 186 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } in colorSpace() 194 bool isOpaque() const { return fInfo.isOpaque(); } in isOpaque() 214 int shiftPerPixel() const { return fInfo.shiftPerPixel(); } in shiftPerPixel() [all …]
|
/external/skqp/src/core/ |
D | SkImageInfo.cpp | 103 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 106 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 112 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 126 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 128 fInfo = fInfo.makeWH(srcR.width(), srcR.height()); in trim() 140 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 143 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 149 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 163 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 165 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
|
D | SkPixmap.cpp | 36 fInfo = SkImageInfo::MakeUnknown(); in reset() 45 fInfo = info; in reset() 59 fInfo = fInfo.makeColorSpace(std::move(cs)); in setColorSpace() 76 const size_t bpp = fInfo.bytesPerPixel(); in extractSubset() 79 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes); in extractSubset() 136 if (!SkImageInfoValidConversion(dstInfo, fInfo)) { in readPixels() 141 if (!rec.trim(fInfo.width(), fInfo.height())) { in readPixels() 146 const SkImageInfo srcInfo = fInfo.makeWH(rec.fInfo.width(), rec.fInfo.height()); in readPixels() 147 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels() 246 const bool needsUnpremul = (kPremul_SkAlphaType == fInfo.alphaType()); in getColor()
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 105 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 108 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 114 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 128 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 130 fInfo = fInfo.makeWH(srcR.width(), srcR.height()); in trim() 142 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 145 if (0 >= fInfo.width() || 0 >= fInfo.height()) { in trim() 151 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() 165 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 167 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
|
/external/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 49 fInfo(NULL), in SoftwareRenderer() 115 if (fDirectModeEnabled && fInfo != NULL) { in LockGL() 116 fWidth = fInfo->window_bounds.right - fInfo->window_bounds.left; in LockGL() 117 fHeight = fInfo->window_bounds.bottom - fInfo->window_bounds.top; in LockGL() 157 if (!fDirectModeEnabled || fInfo == NULL) { in SwapBuffers() 168 if (fInfo->window_bounds.bottom - fInfo->window_bounds.top in SwapBuffers() 170 || fInfo->window_bounds.right - fInfo->window_bounds.left in SwapBuffers() 179 for (uint32 i = 0; i < fInfo->clip_list_count; i++) { in SwapBuffers() 180 clipping_rect *clip = &fInfo->clip_list[i]; in SwapBuffers() 185 uint8 *p = (uint8 *)fInfo->bits + clip->top in SwapBuffers() [all …]
|
/external/doclava/src/com/google/doclava/ |
D | FieldInfo.java | 474 public boolean isConsistent(FieldInfo fInfo) { in isConsistent() argument 476 if (!mType.equals(fInfo.mType)) { in isConsistent() 477 Errors.error(Errors.CHANGED_TYPE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent() 478 + " has changed type from " + mType + " to " + fInfo.mType); in isConsistent() 480 } else if (!this.valueEquals(fInfo)) { in isConsistent() 481 Errors.error(Errors.CHANGED_VALUE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent() 482 + " has changed value from " + mConstantValue + " to " + fInfo.mConstantValue); in isConsistent() 486 if (!scope().equals(fInfo.scope())) { in isConsistent() 487 Errors.error(Errors.CHANGED_SCOPE, fInfo.position(), "Method " + fInfo.qualifiedName() in isConsistent() 488 + " changed scope from " + this.scope() + " to " + fInfo.scope()); in isConsistent() [all …]
|
/external/skqp/src/effects/ |
D | SkLayerDrawLooper.cpp | 151 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 154 if (fCurrRec->fInfo.fPostTranslate) { in next() 155 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next() 156 fCurrRec->fInfo.fOffset.fY); in next() 158 canvas->translate(fCurrRec->fInfo.fOffset.fX, in next() 159 fCurrRec->fInfo.fOffset.fY); in next() 173 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow() 176 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 190 if (rec->fInfo.fPaintBits) { in asABlurShadow() 193 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() [all …]
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 151 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo); in next() 154 if (fCurrRec->fInfo.fPostTranslate) { in next() 155 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX, in next() 156 fCurrRec->fInfo.fOffset.fY); in next() 158 canvas->translate(fCurrRec->fInfo.fOffset.fX, in next() 159 fCurrRec->fInfo.fOffset.fY); in next() 173 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow() 176 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() 190 if (rec->fInfo.fPaintBits) { in asABlurShadow() 193 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow() [all …]
|
/external/dng_sdk/source/ |
D | dng_preview.cpp | 70 preview.fInfo.fApplicationName, in dng_preview_tag_set() 74 preview.fInfo.fApplicationVersion, in dng_preview_tag_set() 78 preview.fInfo.fSettingsName, in dng_preview_tag_set() 81 , fSettingsDigest (preview.fInfo.fSettingsDigest) in dng_preview_tag_set() 88 preview.fInfo.fColorSpace) in dng_preview_tag_set() 91 preview.fInfo.fDateTime, in dng_preview_tag_set() 95 preview.fInfo.fRawToPreviewGain) in dng_preview_tag_set() 98 preview.fInfo.fCacheVersion) in dng_preview_tag_set() 102 if (preview.fInfo.fApplicationName.NotEmpty ()) in dng_preview_tag_set() 109 if (preview.fInfo.fApplicationVersion.NotEmpty ()) in dng_preview_tag_set() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 95 if (releaseFamilyQueue && fInfo.fCurrentQueueFamily == fInitialQueueFamily && in setImageLayout() 114 VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); in setImageLayout() 118 if (fInfo.fCurrentQueueFamily != VK_QUEUE_FAMILY_IGNORED && in setImageLayout() 119 gpu->queueIndex() != fInfo.fCurrentQueueFamily) { in setImageLayout() 123 SkASSERT(fInfo.fCurrentQueueFamily == fInitialQueueFamily); in setImageLayout() 125 srcQueueFamilyIndex = fInfo.fCurrentQueueFamily; in setImageLayout() 127 fInfo.fCurrentQueueFamily = gpu->queueIndex(); in setImageLayout() 131 SkASSERT(fInfo.fCurrentQueueFamily == gpu->queueIndex()); in setImageLayout() 132 srcQueueFamilyIndex = fInfo.fCurrentQueueFamily; in setImageLayout() 134 fInfo.fCurrentQueueFamily = fInitialQueueFamily; in setImageLayout() [all …]
|
D | GrVkImage.h | 29 : fInfo(info) in fInfo() function 33 SkASSERT(fLayout->getImageLayout() == fInfo.fImageLayout); in fInfo() 48 return fInfo.fImage; in image() 54 return fInfo.fAlloc; in alloc() 56 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 65 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 70 return fInfo.fYcbcrConversionInfo; in ycbcrConversionInfo() 80 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 157 GrVkImageInfo fInfo; variable
|
/external/skia/src/image/ |
D | SkImage_Lazy.cpp | 86 fInfo = info.makeWH(subset->width(), subset->height()); in Validator() 90 fInfo = fInfo.makeColorType(*colorType); in Validator() 93 fInfo = fInfo.makeColorSpace(colorSpace); in Validator() 126 : INHERITED(validator->fInfo.width(), validator->fInfo.height(), validator->fUniqueID) in SkImage_Lazy() 128 , fInfo(validator->fInfo) in SkImage_Lazy() 196 SkBitmapCache::RecPtr cacheRec = SkBitmapCache::Alloc(desc, fInfo, &pmap); in getROPixels() 205 if (!bitmap->tryAllocPixels(fInfo) || in getROPixels() 255 SkASSERT(fInfo.bounds().contains(subset)); in onMakeSubset() 256 SkASSERT(fInfo.bounds() != subset); in onMakeSubset() 259 const SkColorType colorType = fInfo.colorType(); in onMakeSubset() [all …]
|
/external/skqp/src/image/ |
D | SkImage_Lazy.cpp | 85 fInfo = info.makeWH(subset->width(), subset->height()); in Validator() 89 fInfo = fInfo.makeColorType(*colorType); in Validator() 92 fInfo = fInfo.makeColorSpace(colorSpace); in Validator() 125 : INHERITED(validator->fInfo.width(), validator->fInfo.height(), validator->fUniqueID) in SkImage_Lazy() 127 , fInfo(validator->fInfo) in SkImage_Lazy() 195 SkBitmapCache::RecPtr cacheRec = SkBitmapCache::Alloc(desc, fInfo, &pmap); in getROPixels() 204 if (!bitmap->tryAllocPixels(fInfo) || in getROPixels() 253 SkASSERT(fInfo.bounds().contains(subset)); in onMakeSubset() 254 SkASSERT(fInfo.bounds() != subset); in onMakeSubset() 257 const SkColorType colorType = fInfo.colorType(); in onMakeSubset() [all …]
|
/external/skia/bench/ |
D | AndroidCodecBench.cpp | 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup() 37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup() 38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup() 41 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
|
/external/skqp/bench/ |
D | AndroidCodecBench.cpp | 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup() 37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup() 38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup() 41 fPixelStorage.reset(fInfo.computeMinByteSize()); in onDelayedSetup() 53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options); in onDraw()
|
/external/skqp/src/gpu/vk/ |
D | GrVkImage.cpp | 92 if (releaseFamilyQueue && fInfo.fCurrentQueueFamily == fInitialQueueFamily) { in setImageLayout() 109 VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); in setImageLayout() 113 if (fInfo.fCurrentQueueFamily != VK_QUEUE_FAMILY_IGNORED && in setImageLayout() 114 gpu->queueIndex() != fInfo.fCurrentQueueFamily) { in setImageLayout() 118 SkASSERT(fInfo.fCurrentQueueFamily == fInitialQueueFamily); in setImageLayout() 120 srcQueueFamilyIndex = fInfo.fCurrentQueueFamily; in setImageLayout() 122 fInfo.fCurrentQueueFamily = gpu->queueIndex(); in setImageLayout() 126 SkASSERT(fInfo.fCurrentQueueFamily == gpu->queueIndex()); in setImageLayout() 127 srcQueueFamilyIndex = fInfo.fCurrentQueueFamily; in setImageLayout() 129 fInfo.fCurrentQueueFamily = fInitialQueueFamily; in setImageLayout() [all …]
|
D | GrVkImage.h | 29 : fInfo(info) in fInfo() function 33 SkASSERT(fLayout->getImageLayout() == fInfo.fImageLayout); in fInfo() 48 return fInfo.fImage; in image() 54 return fInfo.fAlloc; in alloc() 56 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() 60 uint32_t mipLevels() const { return fInfo.fLevelCount; } in mipLevels() 65 return fInfo.fYcbcrConversionInfo; in ycbcrConversionInfo() 75 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling); in isLinearTiled() 144 GrVkImageInfo fInfo; variable
|
/external/skia/src/pdf/ |
D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 53 SkASSERT(u.fInfo.fColors == u.fColors.get()); 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 55 SkASSERT(v.fInfo.fColors == v.fColors.get()); 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); 58 && u.fInfo == v.fInfo
|
/external/skqp/src/pdf/ |
D | SkPDFGradientShader.h | 27 SkShader::GradientInfo fInfo; member 53 SkASSERT(u.fInfo.fColors == u.fColors.get()); 54 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get()); 55 SkASSERT(v.fInfo.fColors == v.fColors.get()); 56 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get()); 58 && u.fInfo == v.fInfo
|
/external/skia/src/gpu/mock/ |
D | GrMockTexture.h | 38 fInfo); in getBackendTexture() 42 return GrBackendFormat::MakeMock(fInfo.fConfig); in backendFormat() 53 , fInfo(info) {} in GrMockTexture() 68 GrMockTextureInfo fInfo; 77 : GrSurface(gpu, desc), INHERITED(gpu, desc), fInfo(info) { in GrMockRenderTarget() 84 : GrSurface(gpu, desc), INHERITED(gpu, desc), fInfo(info) { in GrMockRenderTarget() 107 return {this->width(), this->height(), this->numColorSamples(), numStencilBits, fInfo}; in getBackendRenderTarget() 111 return GrBackendFormat::MakeMock(fInfo.fConfig); in backendFormat() 118 : GrSurface(gpu, desc), INHERITED(gpu, desc), fInfo(info) {} in GrMockRenderTarget() 121 GrMockRenderTargetInfo fInfo;
|
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 126 : fInfo(NULL), in DateIntervalFormat() 139 fInfo(NULL), in DateIntervalFormat() 155 delete fInfo; in operator =() 179 if ( itvfmt.fInfo ) { in operator =() 180 fInfo = itvfmt.fInfo->clone(); in operator =() 182 fInfo = NULL; in operator =() 199 delete fInfo; in ~DateIntervalFormat() 221 if ((fInfo != fmt->fInfo) && (fInfo == NULL || fmt->fInfo == NULL)) {return FALSE;} in operator ==() 222 if (fInfo && fmt->fInfo && (*fInfo != *fmt->fInfo )) {return FALSE;} in operator ==() 277 if (fFromCalendar == NULL || fToCalendar == NULL || fDateFormat == NULL || fInfo == NULL) { in format() [all …]
|
/external/skqp/src/gpu/mock/ |
D | GrMockTexture.h | 38 fInfo); in getBackendTexture() 42 return GrBackendFormat::MakeMock(fInfo.fConfig); in backendFormat() 62 , fInfo(info) {} in GrMockTexture() 95 GrMockTextureInfo fInfo; variable 107 : GrSurface(gpu, desc), INHERITED(gpu, desc), fInfo(info) { in GrMockRenderTarget() 114 : GrSurface(gpu, desc), INHERITED(gpu, desc), fInfo(info) { in GrMockRenderTarget() 137 return {this->width(), this->height(), this->numColorSamples(), numStencilBits, fInfo}; in getBackendRenderTarget() 141 return GrBackendFormat::MakeMock(fInfo.fConfig); in backendFormat() 148 : GrSurface(gpu, desc), INHERITED(gpu, desc), fInfo(info) {} in GrMockRenderTarget() 151 GrMockRenderTargetInfo fInfo;
|
/external/skqp/src/codec/ |
D | SkAndroidCodec.cpp | 71 : fInfo(adjust_info(codec, orientationBehavior)) in SkAndroidCodec() 219 if (!desiredSize || *desiredSize == fInfo.dimensions()) { in computeSampleSize() 223 if (smaller_than(fInfo.dimensions(), *desiredSize)) { in computeSampleSize() 224 *desiredSize = fInfo.dimensions(); in computeSampleSize() 238 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() 239 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() 246 if (computedSize == fInfo.dimensions() || sampleSize == 1) { in computeSampleSize() 289 *desiredSize = fInfo.dimensions(); in computeSampleSize() 300 return fInfo.dimensions(); in getSampledDimensions() 313 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset() [all …]
|
/external/skia/src/codec/ |
D | SkAndroidCodec.cpp | 71 : fInfo(adjust_info(codec, orientationBehavior)) in SkAndroidCodec() 215 if (!desiredSize || *desiredSize == fInfo.dimensions()) { in computeSampleSize() 219 if (smaller_than(fInfo.dimensions(), *desiredSize)) { in computeSampleSize() 220 *desiredSize = fInfo.dimensions(); in computeSampleSize() 234 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() 235 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() 242 if (computedSize == fInfo.dimensions() || sampleSize == 1) { in computeSampleSize() 285 *desiredSize = fInfo.dimensions(); in computeSampleSize() 296 return fInfo.dimensions(); in getSampledDimensions() 309 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset() [all …]
|