/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
ImageFormat.java | 29 public static final String COLORSPACE_KEY = "colorspace"; 38 int colorspace, 44 result.setMetaValue(COLORSPACE_KEY, colorspace); 53 int colorspace, 57 colorspace, 58 bytesPerSampleForColorspace(colorspace), 62 public static MutableFrameFormat create(int colorspace, int target) { 65 colorspace, 66 bytesPerSampleForColorspace(colorspace), 70 public static MutableFrameFormat create(int colorspace) { [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_table.py | 43 def colorspace_map(colorspace): 44 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper() 129 comment = colorspace_channels_map[format.colorspace][i] 134 print " %s," % (colorspace_map(format.colorspace),) 135 if format.colorspace != ZS and format.channels[0].pure == False: 152 if format.colorspace == ZS and format.swizzles[0] != SWIZZLE_NONE: 162 if format.colorspace == ZS and format.swizzles[1] != SWIZZLE_NONE: 168 if format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == UNSIGNED: 175 elif format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == SIGNED:
|
u_format.h | 191 * depending on the colorspace. 196 * Colorspace transformation. 198 enum util_format_colorspace colorspace; member in struct:util_format_description 474 return desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB; 480 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 487 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && 532 switch (desc->colorspace) { 741 enum util_format_colorspace colorspace, 755 if (colorspace == UTIL_FORMAT_COLORSPACE_SRGB) { 756 colorspace = UTIL_FORMAT_COLORSPACE_RGB [all...] |
u_format.c | 95 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 96 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 110 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 111 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 167 desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB || 199 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 200 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 217 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 218 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 431 src_desc->colorspace != dst_desc->colorspace) [all...] |
u_format_parse.py | 107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace): 115 self.colorspace = colorspace 254 colorspace = fields[9] 258 if colorspace in (RGB, SRGB): 263 elif colorspace == ZS: 301 format = Format(name, layout, block_width, block_height, channels, swizzles, colorspace)
|
/external/libpng/ |
pngget.c | 523 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS) != 0) 529 info_ptr->colorspace.end_points_xy.whitex, "cHRM white X"); 532 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y"); 534 *red_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redx, 537 *red_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redy, 541 info_ptr->colorspace.end_points_xy.greenx, "cHRM green X"); 544 info_ptr->colorspace.end_points_xy.greeny, "cHRM green Y"); 546 *blue_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluex, 549 *blue_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluey, 564 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS) != 0 [all...] |
png.c | 1033 #ifdef PNG_GAMMA_SUPPORTED /* always set if COLORSPACE */ 1036 png_colorspacerp colorspace, png_fixed_point gAMA, int from) 1049 if ((colorspace->flags & PNG_COLORSPACE_HAVE_GAMMA) != 0 && 1050 (png_muldiv(>est, colorspace->gamma, PNG_FP_1, gAMA) == 0 || 1059 if ((colorspace->flags & PNG_COLORSPACE_FROM_sRGB) != 0 || from == 2) [all...] |
pnginfo.h | 91 /* png_colorspace only contains 'flags' if neither GAMMA or COLORSPACE are 92 * defined. When COLORSPACE is switched on all the colorspace-defining 101 png_colorspace colorspace; member in struct:png_info_def
|
/external/pdfium/third_party/lpng_v163/ |
pngget.c | 490 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS))
496 info_ptr->colorspace.end_points_xy.whitex, "cHRM white X");
499 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y");
501 *red_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redx,
504 *red_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redy,
508 info_ptr->colorspace.end_points_xy.greenx, "cHRM green X");
511 info_ptr->colorspace.end_points_xy.greeny, "cHRM green Y");
513 *blue_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluex,
516 *blue_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluey,
531 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS)) [all...] |
png.c | 968 #ifdef PNG_GAMMA_SUPPORTED /* always set if COLORSPACE */
971 png_colorspacerp colorspace, png_fixed_point gAMA, int from)
984 if ((colorspace->flags & PNG_COLORSPACE_HAVE_GAMMA) != 0 &&
985 (!png_muldiv(>est, colorspace->gamma, PNG_FP_1, gAMA) ||
994 if ((colorspace->flags & PNG_COLORSPACE_FROM_sRGB) != 0 || from == 2)
[all...] |
pnginfo.h | 92 /* png_colorspace only contains 'flags' if neither GAMMA or COLORSPACE are
93 * defined. When COLORSPACE is switched on all the colorspace-defining
102 png_colorspace colorspace;
member in struct:png_info_def
|
/external/opencv3/3rdparty/libwebp/dec/ |
io.c | 57 const WebPSampleLinePairFunc sample = WebPSamplers[output->colorspace]; 86 const WebPYUV444Converter convert = WebPYUV444Converters[output->colorspace]; 109 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace]; 219 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 221 (colorspace == MODE_ARGB || colorspace == MODE_Argb); 240 if (alpha_mask != 0xff && WebPIsPremultipliedMode(colorspace)) { 252 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 411 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 444 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 540 const WEBP_CSP_MODE colorspace = p->output->colorspace; local [all...] |
/external/webp/src/dec/ |
io.c | 54 WebPSamplers[output->colorspace]); 66 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace]; 179 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 181 (colorspace == MODE_ARGB || colorspace == MODE_Argb); 192 if (has_alpha && WebPIsPremultipliedMode(colorspace)) { 205 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 229 if (alpha_mask != 0x0f && WebPIsPremultipliedMode(colorspace)) { 386 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 420 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 518 const WEBP_CSP_MODE colorspace = p->output->colorspace; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tile_soa.py | 70 if format.colorspace not in ('rgb', 'srgb'): 93 if format.colorspace in ('rgb', 'srgb'): 98 elif format.colorspace == 'zs': 152 if format.colorspace in ('rgb', 'srgb'): 162 elif format.colorspace == 'zs': 182 assert format.colorspace in ('rgb', 'srgb') 307 and format.colorspace == 'rgb' \
|
lp_screen.c | 311 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS || 312 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) 332 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS) 348 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS &&
|
/external/opencv3/3rdparty/libwebp/enc/ |
picture.c | 10 // WebPPicture utils: colorspace conversion, crop, ... 43 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK; 44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; 212 const int is_yuv422 = IS_YUV_CSP(pic->colorspace, WEBP_YUV422); 213 if (IS_YUV_CSP(pic->colorspace, WEBP_YUV420) || is_yuv422) { 253 if (IS_YUV_CSP(dst->colorspace, WEBP_YUV422)) { 304 IS_YUV_CSP(dst->colorspace, WEBP_YUV422) ? (left >> 1) : left; 351 if (IS_YUV_CSP(tmp.colorspace, WEBP_YUV422)) { 446 const int s = IS_YUV_CSP(tmp.colorspace, WEBP_YUV422) ? 2 : 1; 598 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
v4l2-mediabus.h | 103 * @colorspace: colorspace of the data (from enum v4l2_colorspace) 110 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
Android.mk | 34 colorspace.cpp \
|
/development/ndk/platforms/android-21/include/linux/ |
v4l2-mediabus.h | 112 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ColorfulnessFilter.java | 19 package androidx.media.filterpacks.colorspace;
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
v4l2-mediabus.h | 112 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
v4l2-mediabus.h | 112 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
v4l2-mediabus.h | 112 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
v4l2-mediabus.h | 112 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
v4l2-mediabus.h | 112 __u32 colorspace; member in struct:v4l2_mbus_framefmt
|