Home
last modified time | relevance | path

Searched refs:imageSrc (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/ports/
DSkImageDecoder_CG.cpp52 CGImageSourceRef imageSrc = CGImageSourceCreateWithDataProvider(data, 0); in SkStreamToCGImageSource() local
54 return imageSrc; in SkStreamToCGImageSource()
141 CGImageSourceRef imageSrc = SkStreamToCGImageSource(stream); in onDecode() local
143 if (nullptr == imageSrc) { in onDecode()
146 SkAutoTCallVProc<const void, CFRelease> arsrc(imageSrc); in onDecode()
148 CGImageRef image = CGImageSourceCreateImageAtIndex(imageSrc, 0, nullptr); in onDecode()
395 CGImageSourceRef imageSrc = SkStreamToCGImageSource(stream); in get_format_cg() local
397 if (nullptr == imageSrc) { in get_format_cg()
401 SkAutoTCallVProc<const void, CFRelease> arsrc(imageSrc); in get_format_cg()
402 const CFStringRef name = CGImageSourceGetType(imageSrc); in get_format_cg()
/external/mesa3d/src/mesa/program/
Dnvfragparse.c573 GLubyte imageSrc[100]; in Parse_TextureImageId() local
576 if (!Parse_Token(parseState, imageSrc)) in Parse_TextureImageId()
579 if (imageSrc[0] != 'T' || in Parse_TextureImageId()
580 imageSrc[1] != 'E' || in Parse_TextureImageId()
581 imageSrc[2] != 'X') { in Parse_TextureImageId()
584 unit = atoi((const char *) imageSrc + 3); in Parse_TextureImageId()
586 (unit == 0 && (imageSrc[3] != '0' || imageSrc[4] != 0))) { in Parse_TextureImageId()