Home
last modified time | relevance | path

Searched refs:image_format (Results 1 – 25 of 93) sorted by relevance

1234

/external/libgav1/libgav1/src/
Dframe_buffer_utils.h39 Libgav1ImageFormat image_format; in ComposeImageFormat() local
42 image_format = kLibgav1ImageFormatYuv444; in ComposeImageFormat()
45 image_format = kLibgav1ImageFormatYuv422; in ComposeImageFormat()
47 image_format = kLibgav1ImageFormatYuv420; in ComposeImageFormat()
49 image_format = kLibgav1ImageFormatMonochrome400; in ComposeImageFormat()
51 return image_format; in ComposeImageFormat()
54 inline void DecomposeImageFormat(Libgav1ImageFormat image_format, in DecomposeImageFormat() argument
60 switch (image_format) { in DecomposeImageFormat()
70 assert(image_format == kLibgav1ImageFormatMonochrome400); in DecomposeImageFormat()
Dinternal_frame_buffer_list.cc29 void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format, in OnInternalFrameBufferSizeChanged() argument
35 bitdepth, image_format, width, height, left_border, right_border, in OnInternalFrameBufferSizeChanged()
40 void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format, in GetInternalFrameBuffer() argument
46 bitdepth, image_format, width, height, left_border, right_border, in GetInternalFrameBuffer()
67 int bitdepth, Libgav1ImageFormat image_format, int width, int height, in GetFrameBuffer() argument
72 bitdepth, image_format, width, height, left_border, right_border, in GetFrameBuffer()
Dinternal_frame_buffer_list.h31 void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format,
36 void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format,
54 Libgav1ImageFormat image_format,
61 Libgav1ImageFormat image_format, int width,
Dframe_buffer.cc25 int bitdepth, Libgav1ImageFormat image_format, int width, int height, in Libgav1ComputeFrameBufferInfo() argument
40 switch (image_format) { in Libgav1ComputeFrameBufferInfo()
61 libgav1::DecomposeImageFormat(image_format, &is_monochrome, &subsampling_x, in Libgav1ComputeFrameBufferInfo()
Dyuv_buffer.cc72 const Libgav1ImageFormat image_format = in Realloc() local
75 if (get_frame_buffer(callback_private_data, bitdepth, image_format, width, in Realloc()
/external/OpenCL-CTS/test_common/harness/
DclImageHelper.h33 const cl_image_format *image_format, in create_image_2d() argument
59 mImage = clCreateImage(context, flags, image_format, &image_desc_dest, in create_image_2d()
70 clCreateImage2D(context, flags, image_format, image_width, image_height, in create_image_2d()
88 const cl_image_format *image_format, size_t image_width, in create_image_2d_buffer() argument
105 mImage = clCreateImage(context, flags, image_format, &image_desc_dest, NULL, in create_image_2d_buffer()
119 const cl_image_format *image_format, in create_image_3d() argument
146 mImage = clCreateImage(context, flags, image_format, &image_desc, host_ptr, in create_image_3d()
156 mImage = clCreateImage3D(context, flags, image_format, image_width, in create_image_3d()
172 const cl_image_format *image_format, size_t image_width, in create_image_2d_array() argument
195 mImage = clCreateImage(context, flags, image_format, &image_desc, host_ptr, in create_image_2d_array()
[all …]
/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c893 uint32_t image_format; member
898 .image_format = __DRI_IMAGE_FORMAT_RGB565,
903 .image_format = __DRI_IMAGE_FORMAT_ARGB1555,
908 .image_format = __DRI_IMAGE_FORMAT_XRGB8888,
913 .image_format = __DRI_IMAGE_FORMAT_ABGR16161616F,
918 .image_format = __DRI_IMAGE_FORMAT_XBGR16161616F,
923 .image_format = __DRI_IMAGE_FORMAT_ARGB2101010,
928 .image_format = __DRI_IMAGE_FORMAT_XRGB2101010,
933 .image_format = __DRI_IMAGE_FORMAT_ABGR2101010,
938 .image_format = __DRI_IMAGE_FORMAT_XBGR2101010,
[all …]
/external/libgav1/libgav1/examples/
Dgav1_decode_cv_pixel_buffer_pool.cc43 libgav1::ImageFormat image_format, int width, int height, int left_border, in Gav1DecodeOnCVPixelBufferSizeChanged() argument
48 bitdepth, image_format, width, height, left_border, right_border, in Gav1DecodeOnCVPixelBufferSizeChanged()
54 libgav1::ImageFormat image_format, int width, int height, int left_border, in Gav1DecodeGetCVPixelBuffer() argument
60 bitdepth, image_format, width, height, left_border, right_border, in Gav1DecodeGetCVPixelBuffer()
89 int bitdepth, libgav1::ImageFormat image_format, int width, int height, in OnCVPixelBufferSizeChanged() argument
92 if (bitdepth != 8 || (image_format != libgav1::kImageFormatYuv420 && in OnCVPixelBufferSizeChanged()
93 image_format != libgav1::kImageFormatMonochrome400)) { in OnCVPixelBufferSizeChanged()
97 bitdepth, image_format); in OnCVPixelBufferSizeChanged()
131 const int pixel_format = (image_format == libgav1::kImageFormatYuv420) in OnCVPixelBufferSizeChanged()
189 int bitdepth, libgav1::ImageFormat image_format, int /*width*/, in GetCVPixelBuffer() argument
[all …]
Dgav1_decode_cv_pixel_buffer_pool.h29 libgav1::ImageFormat image_format, int width, int height, int left_border,
34 libgav1::ImageFormat image_format, int width, int height, int left_border,
54 int bitdepth, libgav1::ImageFormat image_format, int width, int height,
59 libgav1::ImageFormat image_format,
Dfile_writer.h43 ImageFormat image_format, size_t bitdepth) in Y4mParameters()
49 image_format(image_format), in Y4mParameters()
62 ImageFormat image_format = kImageFormatYuv420; member
Dfile_writer.cc43 switch (y4m_parameters.image_format) { in GetY4mColorSpaceString()
72 y4m_parameters.image_format == kImageFormatMonochrome400; in GetY4mColorSpaceString()
/external/libgav1/libgav1/src/gav1/
Dframe_buffer.h67 void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format,
90 void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format,
133 int bitdepth, Libgav1ImageFormat image_format, int width, int height,
155 inline StatusCode ComputeFrameBufferInfo(int bitdepth, ImageFormat image_format, in ComputeFrameBufferInfo() argument
161 return Libgav1ComputeFrameBufferInfo(bitdepth, image_format, width, height, in ComputeFrameBufferInfo()
/external/angle/src/libANGLE/
Dcl_utils.cpp53 size_t GetElementSize(const cl_image_format &image_format) in GetElementSize() argument
56 switch (image_format.image_channel_data_type) in GetElementSize()
62 size = GetChannelCount(image_format.image_channel_order); in GetElementSize()
69 size = 2u * GetChannelCount(image_format.image_channel_order); in GetElementSize()
74 size = 4u * GetChannelCount(image_format.image_channel_order); in GetElementSize()
Dcl_utils.h18 size_t GetElementSize(const cl_image_format &image_format);
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table.cc42 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()
Dindex_sub_table.h51 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
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dopencl_wrapper.cc356 const cl_image_format* image_format, in LoadOpenCLFunctions() argument
360 return clCreateImage(context, flags, image_format, image_desc, host_ptr, in LoadOpenCLFunctions()
363 return clCreateImage2D(context, flags, image_format, in LoadOpenCLFunctions()
370 const cl_image_format* image_format, in LoadOpenCLFunctions() argument
374 return clCreateImage(context, flags, image_format, image_desc, host_ptr, in LoadOpenCLFunctions()
377 return clCreateImage3D(context, flags, image_format, in LoadOpenCLFunctions()
Dcl_context.cc46 bool IsEqualToImageFormat(cl_image_format image_format, DataType data_type, in IsEqualToImageFormat() argument
48 return image_format.image_channel_data_type == in IsEqualToImageFormat()
50 image_format.image_channel_order == ToChannelOrder(num_channels); in IsEqualToImageFormat()
/external/harfbuzz_ng/src/
Dhb-ot-color-cbdt-table.hh411 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/
Dformatquery.c1376 mesa_format image_format; in _mesa_GetInternalformativ() local
1382 image_format = _mesa_get_shader_image_format(internalformat); in _mesa_GetInternalformativ()
1383 if (image_format == MESA_FORMAT_NONE) in _mesa_GetInternalformativ()
1387 buffer[0] = (_mesa_get_format_bytes(image_format) * 8); in _mesa_GetInternalformativ()
1419 mesa_format image_format; in _mesa_GetInternalformativ() local
1427 image_format = _mesa_get_shader_image_format(internalformat); in _mesa_GetInternalformativ()
1428 if (image_format == MESA_FORMAT_NONE) in _mesa_GetInternalformativ()
1431 _mesa_uncompressed_format_to_type_and_comps(image_format, &datatype, in _mesa_GetInternalformativ()
/external/mesa3d/src/compiler/glsl/
Dir_print_visitor.cpp177 char image_format[32] = {0}; in visit() local
178 if (ir->data.image_format) { in visit()
179 snprintf(image_format, sizeof(image_format), "format=%x ", in visit()
180 ir->data.image_format); in visit()
207 image_format, memory_read_only, memory_write_only, in visit()
/external/autotest/client/cros/chameleon/
Dchameleon_video_capturer.py130 def write_images(self, frame_indices, dest_dir, image_format): argument
146 path = os.path.join(dest_dir, str(i) + '.' + image_format)
/external/OpenCL-CTS/test_conformance/allocations/
Dallocation_functions.cpp20 static cl_image_format image_format = { CL_RGBA, CL_UNSIGNED_INT32 }; variable
98 *mem = create_image_2d(context, CL_MEM_READ_ONLY, &image_format, width, height, 0, NULL, &error); in allocate_image2d_read()
114 *mem = create_image_2d(context, CL_MEM_WRITE_ONLY, &image_format, width, height, 0, NULL, &error); in allocate_image2d_write()
/external/swiftshader/tests/regres/testlists/
Dvk-wsi-PASS.txt19 dEQP-VK.wsi.xlib.swapchain.create.image_format
35 dEQP-VK.wsi.xlib.swapchain.simulate_oom.image_format
/external/mesa3d/src/gallium/frontends/dri/
Ddri2.c218 unsigned int image_format = __DRI_IMAGE_FORMAT_NONE; in dri_image_drawable_get_buffers() local
241 image_format = __DRI_IMAGE_FORMAT_ABGR16161616F; in dri_image_drawable_get_buffers()
244 image_format = __DRI_IMAGE_FORMAT_XBGR16161616F; in dri_image_drawable_get_buffers()
247 image_format = __DRI_IMAGE_FORMAT_ARGB1555; in dri_image_drawable_get_buffers()
250 image_format = __DRI_IMAGE_FORMAT_RGB565; in dri_image_drawable_get_buffers()
253 image_format = __DRI_IMAGE_FORMAT_XRGB8888; in dri_image_drawable_get_buffers()
256 image_format = __DRI_IMAGE_FORMAT_ARGB8888; in dri_image_drawable_get_buffers()
259 image_format = __DRI_IMAGE_FORMAT_XBGR8888; in dri_image_drawable_get_buffers()
262 image_format = __DRI_IMAGE_FORMAT_ABGR8888; in dri_image_drawable_get_buffers()
265 image_format = __DRI_IMAGE_FORMAT_XRGB2101010; in dri_image_drawable_get_buffers()
[all …]

1234