Home
last modified time | relevance | path

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

12345

/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_util.c1027 uint32_t image_format; member
1032 .image_format = __DRI_IMAGE_FORMAT_RGB565,
1037 .image_format = __DRI_IMAGE_FORMAT_ARGB1555,
1042 .image_format = __DRI_IMAGE_FORMAT_XRGB8888,
1047 .image_format = __DRI_IMAGE_FORMAT_ABGR16161616F,
1052 .image_format = __DRI_IMAGE_FORMAT_XBGR16161616F,
1057 .image_format = __DRI_IMAGE_FORMAT_ABGR16161616,
1062 .image_format = __DRI_IMAGE_FORMAT_XBGR16161616,
1067 .image_format = __DRI_IMAGE_FORMAT_ARGB2101010,
1072 .image_format = __DRI_IMAGE_FORMAT_XRGB2101010,
[all …]
Dkopper.c223 int image_format; in get_dri_format() local
226 image_format = __DRI_IMAGE_FORMAT_ABGR16161616F; in get_dri_format()
229 image_format = __DRI_IMAGE_FORMAT_XBGR16161616F; in get_dri_format()
232 image_format = __DRI_IMAGE_FORMAT_ARGB1555; in get_dri_format()
235 image_format = __DRI_IMAGE_FORMAT_RGB565; in get_dri_format()
238 image_format = __DRI_IMAGE_FORMAT_XRGB8888; in get_dri_format()
241 image_format = __DRI_IMAGE_FORMAT_ARGB8888; in get_dri_format()
244 image_format = __DRI_IMAGE_FORMAT_XBGR8888; in get_dri_format()
247 image_format = __DRI_IMAGE_FORMAT_ABGR8888; in get_dri_format()
250 image_format = __DRI_IMAGE_FORMAT_XRGB2101010; in get_dri_format()
[all …]
Ddri2.c225 unsigned int image_format = __DRI_IMAGE_FORMAT_NONE; in dri_image_drawable_get_buffers() local
248 image_format = __DRI_IMAGE_FORMAT_ABGR16161616F; in dri_image_drawable_get_buffers()
251 image_format = __DRI_IMAGE_FORMAT_XBGR16161616F; in dri_image_drawable_get_buffers()
254 image_format = __DRI_IMAGE_FORMAT_ARGB1555; in dri_image_drawable_get_buffers()
257 image_format = __DRI_IMAGE_FORMAT_RGB565; in dri_image_drawable_get_buffers()
260 image_format = __DRI_IMAGE_FORMAT_XRGB8888; in dri_image_drawable_get_buffers()
263 image_format = __DRI_IMAGE_FORMAT_ARGB8888; in dri_image_drawable_get_buffers()
266 image_format = __DRI_IMAGE_FORMAT_XBGR8888; in dri_image_drawable_get_buffers()
269 image_format = __DRI_IMAGE_FORMAT_ABGR8888; in dri_image_drawable_get_buffers()
272 image_format = __DRI_IMAGE_FORMAT_XRGB2101010; in dri_image_drawable_get_buffers()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavideoformat.c271 gst_va_video_surface_format_from_image_format (GstVideoFormat image_format, in gst_va_video_surface_format_from_image_format() argument
277 if (image_format == GST_VIDEO_FORMAT_UNKNOWN) in gst_va_video_surface_format_from_image_format()
283 image_chroma = gst_va_chroma_from_video_format (image_format); in gst_va_video_surface_format_from_image_format()
290 if (surface_format == image_format) in gst_va_video_surface_format_from_image_format()
298 find_gst_video_format_in_rgb32_map (VAImageFormat * image_format) in find_gst_video_format_in_rgb32_map() argument
304 if (va_format_is_same (&rgb32_format_map[i].va_format[j], image_format)) in find_gst_video_format_in_rgb32_map()
323 VAImageFormat *image_format; in fix_map() local
330 image_format = &args->image_formats[i]; in fix_map()
331 if (!va_format_is_rgb (image_format)) in fix_map()
333 format = find_gst_video_format_in_rgb32_map (image_format); in fix_map()
[all …]
Dgstvavideoformat.h33 GstVideoFormat gst_va_video_surface_format_from_image_format (GstVideoFormat image_format,
/third_party/skia/third_party/externals/angle2/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()
/third_party/opencl-headers/
DREADME_zh.md60 cl_image_format image_format;
61 image_format.image_channel_order = CL_RGBA;
62 image_format.image_channel_data_type = CL_UNORM_INT8;
64 cl_mem input_image = clCreateImage(context_, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, image_format,…
/third_party/gstreamer/gstplugins_bad/ext/zxing/
Dgstzxing.cpp176 ImageFormat image_format; member
259 zxing->image_format = ImageFormat::None; in gst_zxing_init()
333 zxing->image_format = ImageFormat::XRGB; in gst_zxing_set_info()
341 zxing->image_format = ImageFormat::Lum; in gst_zxing_set_info()
344 zxing->image_format = ImageFormat::None; in gst_zxing_set_info()
368 auto result = ReadBarcode ({(unsigned char *)data, width, height, zxing->image_format}, hints); in gst_zxing_transform_frame_ip()
/third_party/skia/third_party/externals/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
/third_party/flutter/skia/third_party/externals/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
/third_party/flutter/skia/third_party/externals/harfbuzz/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()
/third_party/skia/third_party/externals/tint/src/inspector/
Dresource_binding.h121 ImageFormat image_format; member
142 const ast::ImageFormat& image_format);
Dresource_binding.cc75 const ast::ImageFormat& image_format) { in TypeImageFormatToResourceBindingImageFormat() argument
76 switch (image_format) { in TypeImageFormatToResourceBindingImageFormat()
/third_party/ffmpeg/libavdevice/
Dandroid_camera.c73 int image_format; member
357 ctx->image_format = AV_PIX_FMT_YUV420P; in get_image_format()
361 ctx->image_format = AV_PIX_FMT_NV12; in get_image_format()
363 ctx->image_format = AV_PIX_FMT_NV21; in get_image_format()
423 pkt_buffer_size = av_image_get_buffer_size(ctx->image_format, ctx->width, ctx->height, 32); in image_available()
429 switch (ctx->image_format) { in image_available()
461 image_linestrides, ctx->image_format, in image_available()
686 codecpar->format = ctx->image_format; in add_video_stream()
/third_party/mesa3d/src/mesa/main/
Dformatquery.c1402 mesa_format image_format; in _mesa_GetInternalformativ() local
1408 image_format = _mesa_get_shader_image_format(internalformat); in _mesa_GetInternalformativ()
1409 if (image_format == MESA_FORMAT_NONE) in _mesa_GetInternalformativ()
1413 buffer[0] = (_mesa_get_format_bytes(image_format) * 8); in _mesa_GetInternalformativ()
1445 mesa_format image_format; in _mesa_GetInternalformativ() local
1453 image_format = _mesa_get_shader_image_format(internalformat); in _mesa_GetInternalformativ()
1454 if (image_format == MESA_FORMAT_NONE) in _mesa_GetInternalformativ()
1457 _mesa_uncompressed_format_to_type_and_comps(image_format, &datatype, in _mesa_GetInternalformativ()
/third_party/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()
/third_party/ffmpeg/libavutil/
Dhwcontext_opencl.c1371 cl_image_format *image_format, in opencl_get_plane_format() argument
1433 memset(image_format, 0, sizeof(*image_format)); in opencl_get_plane_format()
1448 image_format->image_channel_data_type = CL_UNORM_INT8; in opencl_get_plane_format()
1451 image_format->image_channel_data_type = CL_UNORM_INT16; in opencl_get_plane_format()
1457 case order: image_format->image_channel_order = type; break; in opencl_get_plane_format()
1544 cl_image_format image_format; in opencl_frames_get_constraints() local
1550 &image_format, in opencl_frames_get_constraints()
1557 image_format.image_channel_order && in opencl_frames_get_constraints()
1559 image_format.image_channel_data_type) in opencl_frames_get_constraints()
1627 cl_image_format image_format; in opencl_pool_alloc() local
[all …]
Dhwcontext_vaapi.c65 VAImageFormat image_format; member
177 VAImageFormat **image_format) in vaapi_get_image_format() argument
184 if (image_format) in vaapi_get_image_format()
185 *image_format = &ctx->formats[i].image_format; in vaapi_get_image_format()
397 ctx->formats[ctx->nb_formats].image_format = image_list[i]; in vaapi_device_init()
766 VAImageFormat *image_format; in vaapi_map_frame() local
786 err = vaapi_get_image_format(hwfc->device_ctx, dst->format, &image_format); in vaapi_map_frame()
823 if (map->image.format.fourcc != image_format->fourcc) { in vaapi_map_frame()
826 surface_id, image_format->fourcc, map->image.format.fourcc); in vaapi_map_frame()
832 vas = vaCreateImage(hwctx->display, image_format, in vaapi_map_frame()
/third_party/harfbuzz/src/
Dhb-ot-color-cbdt-table.hh336 unsigned image_format, in populate_header()
341 u.header.imageFormat = image_format; in populate_header()
838 unsigned int image_offset = 0, image_length = 0, image_format = 0; in get_extents() local
839 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in get_extents()
846 switch (image_format) in get_extents()
885 unsigned int image_offset = 0, image_length = 0, image_format = 0; in reference_png() local
886 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in reference_png()
893 switch (image_format) in reference_png()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cbdt-table.hh336 unsigned image_format, in populate_header()
341 u.header.imageFormat = image_format; in populate_header()
838 unsigned int image_offset = 0, image_length = 0, image_format = 0; in get_extents() local
839 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in get_extents()
846 switch (image_format) in get_extents()
885 unsigned int image_offset = 0, image_length = 0, image_format = 0; in reference_png() local
886 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in reference_png()
893 switch (image_format) in reference_png()
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dvk-wsi-PASS.txt41 dEQP-VK.wsi.xcb.swapchain.create.image_format
57 dEQP-VK.wsi.xcb.swapchain.simulate_oom.image_format
80 dEQP-VK.wsi.xlib.swapchain.create.image_format
96 dEQP-VK.wsi.xlib.swapchain.simulate_oom.image_format
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs.cpp257 const cl_image_format *image_format, in CreateImage() argument
262 return context->cast<Context>().createImage(nullptr, flags, image_format, image_desc, host_ptr, in CreateImage()
269 const cl_image_format *image_format, in CreateImageWithProperties() argument
274 return context->cast<Context>().createImage(properties, flags, image_format, image_desc, in CreateImageWithProperties()
1113 const cl_image_format *image_format, in CreateImage2D() argument
1120 return context->cast<Context>().createImage2D(flags, image_format, image_width, image_height, in CreateImage2D()
1126 const cl_image_format *image_format, in CreateImage3D() argument
1135 return context->cast<Context>().createImage3D(flags, image_format, image_width, image_height, in CreateImage3D()
Dentry_points_cl_autogen.cpp1156 const cl_image_format *image_format, in clCreateImage2D() argument
1168 (uintptr_t)context, static_cast<unsigned long long>(flags), (uintptr_t)image_format, in clCreateImage2D()
1173 ANGLE_CL_VALIDATE_ERRCODE_RET(CreateImage2D, context, flagsPacked, image_format, image_width, in clCreateImage2D()
1177 cl_mem object = CreateImage2D(context, flagsPacked, image_format, image_width, image_height, in clCreateImage2D()
1190 const cl_image_format *image_format, in clCreateImage3D() argument
1204 (uintptr_t)context, static_cast<unsigned long long>(flags), (uintptr_t)image_format, in clCreateImage3D()
1210 ANGLE_CL_VALIDATE_ERRCODE_RET(CreateImage3D, context, flagsPacked, image_format, image_width, in clCreateImage3D()
1216 CreateImage3D(context, flagsPacked, image_format, image_width, image_height, image_depth, in clCreateImage3D()
1600 const cl_image_format *image_format, in clCreateImage() argument
1609 (uintptr_t)context, static_cast<unsigned long long>(flags), (uintptr_t)image_format, in clCreateImage()
[all …]

12345