/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
D | tfexample_decoder_test.py | 66 def _Encoder(self, image, image_format): argument 67 assert image_format in ['jpeg', 'JPEG', 'png', 'PNG', 'raw', 'RAW'] 68 if image_format in ['jpeg', 'JPEG']: 71 if image_format in ['png', 'PNG']: 74 if image_format in ['raw', 'RAW']: 77 def GenerateImage(self, image_format, image_shape, image_dtype=np.uint8): argument 92 assert image_format in ['raw', 'RAW'] or image_dtype == np.uint8 97 tf_encoded = self._Encoder(image, image_format) 102 'image/format': self._StringFeature(image_format) 107 def DecodeExample(self, serialized_example, item_handler, image_format): argument [all …]
|
D | test_utils.py | 52 def _encoder(image, image_format): argument 53 assert image_format in ['jpeg', 'png'] 54 if image_format == 'jpeg': 57 if image_format == 'png': 62 def generate_image(image_shape, image_format='jpeg', label=0): argument 79 tf_encoded = _encoder(image, image_format) 82 'image/format': _string_feature(image_format),
|
D | tfexample_decoder.py | 396 image_format = keys_to_tensors[self._format_key] 399 return map_fn.map_fn(lambda x: self._decode(x, image_format), 402 return self._decode(image_buffer, image_format) 404 def _decode(self, image_buffer, image_format): argument 448 math_ops.equal(image_format, 'raw'), 449 math_ops.equal(image_format, 'RAW')): decode_raw,
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table.cc | 42 image_format()); in GlyphInfo() 114 image_format()); in GlyphInfo() 222 int32_t image_format, in Builder() argument 229 image_format_(image_format), in Builder() 263 image_format()); in SerializeIndexSubHeader()
|
D | index_sub_table.h | 51 int32_t image_format() { return image_format_; } in image_format() function 102 int32_t image_format, 134 int32_t image_format() { return image_format_; } in image_format() function
|
D | bitmap_size_table.cc | 116 return subtable->image_format(); in GlyphFormat() 359 return subtable->image_format(); in GlyphFormat()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-color-cbdt-table.hh | 411 unsigned int image_offset = 0, image_length = 0, image_format = 0; in get_extents() local 412 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in get_extents() 420 switch (image_format) in get_extents() 464 unsigned int image_offset = 0, image_length = 0, image_format = 0; in reference_png() local 465 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in reference_png() 473 switch (image_format) in reference_png()
|
/external/mesa3d/src/mesa/main/ |
D | formatquery.c | 1365 mesa_format image_format; in _mesa_GetInternalformativ() local 1371 image_format = _mesa_get_shader_image_format(internalformat); in _mesa_GetInternalformativ() 1372 if (image_format == MESA_FORMAT_NONE) in _mesa_GetInternalformativ() 1376 buffer[0] = (_mesa_get_format_bytes(image_format) * 8); in _mesa_GetInternalformativ() 1408 mesa_format image_format; in _mesa_GetInternalformativ() local 1416 image_format = _mesa_get_shader_image_format(internalformat); in _mesa_GetInternalformativ() 1417 if (image_format == MESA_FORMAT_NONE) in _mesa_GetInternalformativ() 1420 _mesa_uncompressed_format_to_type_and_comps(image_format, &datatype, in _mesa_GetInternalformativ()
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_print_visitor.cpp | 191 char image_format[32] = {0}; in visit() local 192 if (ir->data.image_format) { in visit() 193 snprintf(image_format, sizeof(image_format), "format=%x ", in visit() 194 ir->data.image_format); in visit() 219 image_format, memory_read_only, memory_write_only, in visit()
|
D | opt_structure_splitting.cpp | 360 new_var->data.image_format = in do_structure_splitting() 361 type->fields.structure[i].image_format; in do_structure_splitting()
|
D | opt_array_splitting.cpp | 486 new_var->data.image_format = entry->var->data.image_format; in optimize_split_arrays()
|
/external/autotest/client/cros/chameleon/ |
D | chameleon_video_capturer.py | 124 def write_images(self, frame_indices, dest_dir, image_format): argument 140 path = os.path.join(dest_dir, str(i) + '.' + image_format)
|
/external/libxcam/capi/ |
D | context_priv.cpp | 92 uint32_t image_format = V4L2_PIX_FMT_NV12; in set_parameters() local 109 buf_info.init (image_format, _image_width, _image_height); in set_parameters()
|
/external/mesa3d/src/compiler/ |
D | glsl_types.h | 1009 unsigned image_format:16; member 1026 memory_restrict(0), image_format(0), explicit_xfb_buffer(0), in glsl_struct_field() 1038 memory_restrict(0), image_format(0), explicit_xfb_buffer(0), in glsl_struct_field()
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
D | dri2.c | 462 unsigned int image_format = __DRI_IMAGE_FORMAT_NONE; in dri_image_drawable_get_buffers() local 485 image_format = __DRI_IMAGE_FORMAT_RGB565; in dri_image_drawable_get_buffers() 488 image_format = __DRI_IMAGE_FORMAT_XRGB8888; in dri_image_drawable_get_buffers() 491 image_format = __DRI_IMAGE_FORMAT_ARGB8888; in dri_image_drawable_get_buffers() 494 image_format = __DRI_IMAGE_FORMAT_XBGR8888; in dri_image_drawable_get_buffers() 497 image_format = __DRI_IMAGE_FORMAT_ABGR8888; in dri_image_drawable_get_buffers() 500 image_format = __DRI_IMAGE_FORMAT_XRGB2101010; in dri_image_drawable_get_buffers() 503 image_format = __DRI_IMAGE_FORMAT_ARGB2101010; in dri_image_drawable_get_buffers() 506 image_format = __DRI_IMAGE_FORMAT_NONE; in dri_image_drawable_get_buffers() 511 return (*sPriv->image.loader->getBuffers) (dPriv, image_format, in dri_image_drawable_get_buffers()
|
/external/mesa3d/include/CL/ |
D | cl_ext.h | 272 const cl_image_format *image_format,
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.h | 316 driImageFormatToGLFormat(uint32_t image_format);
|
D | dri_util.c | 909 driImageFormatToGLFormat(uint32_t image_format) in driImageFormatToGLFormat() argument 911 switch (image_format) { in driImageFormatToGLFormat()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | module.hpp | 79 image_format enumerator
|
D | kernel.cpp | 205 case module::argument::image_format: { in bind() 208 std::vector<cl_uint> image_format{ in bind() local 211 for (auto x : image_format) { in bind()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_private.h | 133 enum pipe_format image_format:10;
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | dispatch.hpp | 128 const cl_image_format *image_format, 138 const cl_image_format *image_format, 659 const cl_image_format *image_format,
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 1265 FT_UInt start, end, index_format, image_format; in tt_sbit_decoder_load_image() local 1306 image_format = FT_NEXT_USHORT( p ); in tt_sbit_decoder_load_image() 1437 image_format, glyph_index )); in tt_sbit_decoder_load_image() 1440 image_format, in tt_sbit_decoder_load_image()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/ |
D | common.cpp | 118 module::argument::image_format); in make_kernel_args()
|
/external/libaom/libaom/test/ |
D | resize_test.cc | 605 explicit ResizingCspVideoSource(aom_img_fmt_t image_format) { in ResizingCspVideoSource() argument 607 SetImageFormat(image_format); in ResizingCspVideoSource()
|