Searched refs:fInfo (Results 1 - 25 of 72) sorted by relevance

123

/external/skia/bench/
H A DAndroidCodecBench.cpp35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height())
37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) {
38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType);
41 fPixelStorage.reset(fInfo.getSafeSize(fInfo.minRowBytes()));
53 codec->getAndroidPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(), &options);
H A DCodecBench.cpp45 fInfo = codec->getInfo().makeColorType(fColorType)
49 fPixelStorage.reset(fInfo.getSafeSize(fInfo.minRowBytes()));
63 codec->getPixels(fInfo, fPixelStorage.get(), fInfo.minRowBytes(),
H A DAndroidCodecBench.h36 SkImageInfo fInfo; // Set in onDelayedSetup. member in class:AndroidCodecBench
H A DCodecBench.h37 SkImageInfo fInfo; // Set in onDelayedSetup. member in class:CodecBench
/external/skia/src/core/
H A DSkWritePixelsRec.h20 , fInfo(info)
27 SkImageInfo fInfo; member in struct:SkWritePixelsRec
36 * is not valid (e.g. bad fInfo) for writePixels().
H A DSkImageInfo.cpp161 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) {
164 if (0 >= fInfo.width() || 0 >= fInfo.height()) {
170 SkIRect srcR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height());
183 fPixels = ((char*)fPixels - y * fRowBytes - x * fInfo.bytesPerPixel());
185 fInfo = fInfo.makeWH(srcR.width(), srcR.height());
197 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) {
200 if (0 >= fInfo
[all...]
H A DSkYUVPlanesCache.cpp19 SkYUVPlanesCache::Info fInfo; member in struct:__anon18218::YUVValue
39 fValue.fInfo = *info;
67 result->fInfo = rec.fValue.fInfo;
81 *info = result.fInfo;
H A DSkBitmap.cpp46 , fInfo (src.fInfo)
58 , fInfo (std::move(other.fInfo))
63 other.fInfo.reset();
77 fInfo = src.fInfo;
88 fInfo = std::move(other.fInfo);
94 other.fInfo
[all...]
H A DSkPixmap.cpp28 fInfo = SkImageInfo::MakeUnknown();
37 fInfo = info;
51 fInfo = fInfo.makeColorSpace(std::move(cs));
68 const size_t bpp = fInfo.bytesPerPixel();
71 result->reset(fInfo.makeWH(r.width(), r.height()), pixels, fRowBytes);
77 if (!SkImageInfoValidConversion(dstInfo, fInfo)) {
82 if (!rec.trim(fInfo.width(), fInfo.height())) {
87 const SkImageInfo srcInfo = fInfo
[all...]
/external/skia/src/image/
H A DSkReadPixelsRec.h20 , fInfo(info)
27 SkImageInfo fInfo; member in struct:SkReadPixelsRec
36 * is not valid (e.g. bad fInfo) for readPixels().
H A DSkImage_Lazy.cpp63 SkImageInfo fInfo; member in struct:SkImage_Lazy::Validator
72 return fInfo;
75 return fInfo.alphaType();
149 // Note that fInfo is not necessarily the info from the generator. It may be cropped by
151 const SkImageInfo fInfo; member in class:SkImage_Lazy
203 fInfo = info.makeWH(subset->width(), subset->height());
206 fInfo = fInfo.makeColorSpace(colorSpace);
238 : INHERITED(validator->fInfo.width(), validator->fInfo
[all...]
/external/skia/include/core/
H A DSkPixmap.h28 : fPixels(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0))
32 : fPixels(addr), fRowBytes(rowBytes), fInfo(info)
58 const SkImageInfo& info() const { return fInfo; }
62 int width() const { return fInfo.width(); }
63 int height() const { return fInfo.height(); }
64 SkColorType colorType() const { return fInfo.colorType(); }
65 SkAlphaType alphaType() const { return fInfo.alphaType(); }
66 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); }
67 bool isOpaque() const { return fInfo.isOpaque(); }
80 int shiftPerPixel() const { return fInfo
227 SkImageInfo fInfo; member in class:SkPixmap
[all...]
H A DSkBitmap.h81 const SkImageInfo& info() const { return fInfo; }
83 int width() const { return fInfo.width(); }
84 int height() const { return fInfo.height(); }
85 SkColorType colorType() const { return fInfo.colorType(); }
86 SkAlphaType alphaType() const { return fInfo.alphaType(); }
87 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); }
88 sk_sp<SkColorSpace> refColorSpace() const { return fInfo.refColorSpace(); }
94 int bytesPerPixel() const { return fInfo.bytesPerPixel(); }
108 int shiftPerPixel() const { return this->fInfo.shiftPerPixel(); }
115 bool empty() const { return fInfo
738 SkImageInfo fInfo; member in class:SkBitmap
[all...]
/external/skia/src/gpu/gl/
H A DGrGLTexture.cpp19 if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_EXTERNAL) {
23 } else if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_RECTANGLE) {
30 SkASSERT(idDesc.fInfo.fTarget == GR_GL_TEXTURE_2D);
43 if (idDesc.fInfo.fTarget == GR_GL_TEXTURE_RECTANGLE ||
44 idDesc.fInfo.fTarget == GR_GL_TEXTURE_EXTERNAL) {
89 SkASSERT(0 != idDesc.fInfo.fID);
92 fInfo = idDesc.fInfo;
97 if (fInfo.fID) {
99 GL_CALL(DeleteTextures(1, &fInfo
[all...]
H A DGrGLTexture.h32 GrGLTextureInfo fInfo; member in struct:GrGLTexture::IDDesc
65 GrGLuint textureID() const { return fInfo.fID; }
67 GrGLenum target() const { return fInfo.fTarget; }
101 GrGLTextureInfo fInfo; member in class:GrGLTexture
/external/skia/src/pdf/
H A DSkPDFGradientShader.h27 SkShader::GradientInfo fInfo; member in struct:SkPDFGradientShader::Key
55 SkASSERT(u.fInfo.fColors == u.fColors.get());
56 SkASSERT(u.fInfo.fColorOffsets == u.fStops.get());
57 SkASSERT(v.fInfo.fColors == v.fColors.get());
58 SkASSERT(v.fInfo.fColorOffsets == v.fStops.get());
60 && u.fInfo == v.fInfo
/external/skia/src/effects/
H A DSkLayerDrawLooper.cpp152 ApplyInfo(paint, fCurrRec->fPaint, fCurrRec->fInfo);
155 if (fCurrRec->fInfo.fPostTranslate) {
156 postTranslate(canvas, fCurrRec->fInfo.fOffset.fX,
157 fCurrRec->fInfo.fOffset.fY);
159 canvas->translate(fCurrRec->fInfo.fOffset.fX,
160 fCurrRec->fInfo.fOffset.fY);
174 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) {
177 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) {
191 if (rec->fInfo.fPaintBits) {
194 if (SkBlendMode::kDst != (SkBlendMode)rec->fInfo
[all...]
/external/mesa3d/src/gallium/targets/haiku-softpipe/
H A DSoftwareRenderer.cpp49 fInfo(NULL),
115 if (fDirectModeEnabled && fInfo != NULL) {
116 fWidth = fInfo->window_bounds.right - fInfo->window_bounds.left;
117 fHeight = fInfo->window_bounds.bottom - fInfo->window_bounds.top;
157 if (!fDirectModeEnabled || fInfo == NULL) {
168 if (fInfo->window_bounds.bottom - fInfo->window_bounds.top
170 || fInfo
[all...]
/external/doclava/src/com/google/doclava/
H A DFieldInfo.java434 public boolean isConsistent(FieldInfo fInfo) { argument
436 if (!mType.equals(fInfo.mType)) {
437 Errors.error(Errors.CHANGED_TYPE, fInfo.position(), "Field " + fInfo.qualifiedName()
438 + " has changed type from " + mType + " to " + fInfo.mType);
440 } else if (!this.valueEquals(fInfo)) {
441 Errors.error(Errors.CHANGED_VALUE, fInfo.position(), "Field " + fInfo.qualifiedName()
442 + " has changed value from " + mConstantValue + " to " + fInfo.mConstantValue);
446 if (!scope().equals(fInfo
[all...]
/external/skia/src/gpu/instanced/
H A DInstancedOp.cpp101 fInfo.fHasParams = true;
111 fInfo.fHasParams = true;
120 fInfo.fHasParams = true;
126 if (GrAAType::kCoverage == fInfo.aaType() ||
127 (GrAAType::kNone == fInfo.aaType() && !fInfo.isSimpleRects() && fInfo.fCannotDiscard)) {
131 isMixedSamples = GrAAType::kMixedSamples == fInfo.aaType();
139 SkASSERT(SkIsPow2(fInfo.fShapeTypes));
142 if (kRect_ShapeFlag == fInfo
[all...]
H A DInstancedOp.h37 (unsigned)fInfo.fAAType,
38 fInfo.fShapeTypes,
39 fInfo.fInnerShapeTypes,
40 fInfo.fHasPerspective,
41 fInfo.fNonSquare,
64 return GrAATypeIsHW(fInfo.aaType()) ? FixedFunctionFlags::kUsesHWAA
85 OpInfo fInfo; member in class:gr_instanced::InstancedOp
/external/icu/icu4c/source/tools/ctestfw/
H A Dtestdata.cpp16 fInfo(NULL),
28 if(fInfo != NULL) {
29 delete fInfo;
74 fInfo = new RBDataMap(info, status);
95 if(fInfo) {
96 info = fInfo;
/external/skia/src/gpu/vk/
H A DGrVkImage.h33 : fInfo(info)
43 VkImage image() const { return fInfo.fImage; }
44 const GrVkAlloc& alloc() const { return fInfo.fAlloc; }
45 VkFormat imageFormat() const { return fInfo.fFormat; }
46 uint32_t mipLevels() const { return fInfo.fLevelCount; }
49 return SkToBool(VK_IMAGE_TILING_LINEAR == fInfo.fImageTiling);
53 VkImageLayout currentLayout() const { return fInfo.fImageLayout; }
100 GrVkImageInfo fInfo; member in class:GrVkImage
/external/dng_sdk/source/
H A Ddng_preview.cpp70 preview.fInfo.fApplicationName,
74 preview.fInfo.fApplicationVersion,
78 preview.fInfo.fSettingsName,
81 , fSettingsDigest (preview.fInfo.fSettingsDigest)
88 preview.fInfo.fColorSpace)
91 preview.fInfo.fDateTime,
95 preview.fInfo.fRawToPreviewGain)
98 preview.fInfo.fCacheVersion)
102 if (preview.fInfo.fApplicationName.NotEmpty ())
109 if (preview.fInfo
[all...]
/external/icu/icu4c/source/i18n/
H A Ddtitvfmt.cpp123 : fInfo(NULL),
136 fInfo(NULL),
152 delete fInfo;
176 if ( itvfmt.fInfo ) {
177 fInfo = itvfmt.fInfo->clone();
179 fInfo = NULL;
196 delete fInfo;
218 if ((fInfo != fmt->fInfo)
[all...]

Completed in 1452 milliseconds

123