Home
last modified time | relevance | path

Searched refs:tex_format (Results 1 – 25 of 31) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglmemory.c100 GstGLFormat tex_format; member
137 GstGLFormat tex_format; in _calculate_unpack_length() local
145 gst_gl_format_type_from_sized_gl_format (gl_mem->tex_format, &tex_format, in _calculate_unpack_length()
147 n_gl_bytes = gst_gl_format_type_n_bytes (tex_format, tex_type); in _calculate_unpack_length()
149 GST_ERROR ("Unsupported texture type %d", gl_mem->tex_format); in _calculate_unpack_length()
253 GstGLFormat tex_format; in _gl_tex_create() local
256 internal_format = gl_mem->tex_format; in _gl_tex_create()
257 gst_gl_format_type_from_sized_gl_format (internal_format, &tex_format, in _gl_tex_create()
260 gst_gl_sized_gl_format_from_gl_format_type (context, tex_format, in _gl_tex_create()
266 internal_format, tex_format, tex_type, gl_mem->tex_width, in _gl_tex_create()
[all …]
Dgstglmemory.h89 GstGLFormat tex_format; member
135 GstGLFormat tex_format; member
153 GstGLFormat tex_format,
165 GstGLFormat tex_format);
173 … GstGLFormat tex_format,
185 … GstGLFormat tex_format,
197 … GstGLFormat tex_format,
272 GstGLFormat tex_format,
284 GstGLFormat tex_format,
Dgstglmemorypbo.c253 || gl_mem->mem.tex_format == GST_GL_LUMINANCE in _read_pixels_to_pbo()
254 || gl_mem->mem.tex_format == GST_GL_LUMINANCE_ALPHA) in _read_pixels_to_pbo()
454 gst_gl_format_type_from_sized_gl_format (src->mem.tex_format, &in_gl_format, in _gl_mem_copy_thread()
593 src->mem.mem.context, src->mem.tex_target, src->mem.tex_format, &params, in _gl_mem_copy()
609 src->mem.tex_format, src->mem.tex_width, GL_MEM_HEIGHT (src))) { in _gl_mem_copy()
678 NULL, params->parent.context, params->target, params->tex_format, in _gl_mem_pbo_alloc()
751 GstGLTextureTarget target, GstGLFormat tex_format, gint width, in gst_gl_memory_pbo_copy_into_texture() argument
759 copy_params.out_format = tex_format; in gst_gl_memory_pbo_copy_into_texture()
Dgstglrenderbuffer.c87 GLenum tex_format; in _gl_rbo_create() local
90 tex_format = gl_mem->renderbuffer_format; in _gl_rbo_create()
93 tex_format = GST_GL_RGB; in _gl_rbo_create()
98 gst_gl_sized_gl_format_from_gl_format_type (context, tex_format, in _gl_rbo_create()
Dgstglmemorypbo.h85 GstGLFormat tex_format,
Dgstglcolorconvert.c2755 if (out_tex->tex_format == GST_GL_LUMINANCE in _do_convert_one_view()
2756 || out_tex->tex_format == GST_GL_LUMINANCE_ALPHA in _do_convert_one_view()
2817 if (out_tex->tex_format == GST_GL_LUMINANCE in _do_convert_one_view()
2818 || out_tex->tex_format == GST_GL_LUMINANCE_ALPHA in _do_convert_one_view()
2836 out_tex->tex_format, mem_width, mem_height); in _do_convert_one_view()
2905 if (v > 0 && in_tex->tex_format != convert->priv->in_tex_formats[i]) { in _do_convert()
2912 if (convert->priv->in_tex_formats[j] != in_tex->tex_format) in _do_convert()
2915 convert->priv->in_tex_formats[j] = in_tex->tex_format; in _do_convert()
/third_party/mesa3d/src/mesa/main/
Dshaderimage.c349 mesa_format tex_format = _mesa_get_shader_image_format(format); in _mesa_get_image_format_class() local
350 if (tex_format == MESA_FORMAT_NONE) in _mesa_get_image_format_class()
353 enum image_format_class class = get_image_format_class(tex_format); in _mesa_get_image_format_class()
463 mesa_format tex_format; in _mesa_is_image_unit_valid() local
482 tex_format = _mesa_get_shader_image_format(t->BufferObjectFormat); in _mesa_is_image_unit_valid()
492 tex_format = _mesa_get_shader_image_format(img->InternalFormat); in _mesa_is_image_unit_valid()
495 if (!tex_format) in _mesa_is_image_unit_valid()
500 if (_mesa_get_format_bytes(tex_format) != in _mesa_is_image_unit_valid()
506 if (get_image_format_class(tex_format) != in _mesa_is_image_unit_valid()
719 GLenum tex_format; in bind_image_textures() local
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear_fastpath.c207 enum pipe_format tex_format = samp0->texture_state.format; in lp_linear_check_fastpath() local
209 tex_format == PIPE_FORMAT_B8G8R8A8_UNORM && in lp_linear_check_fastpath()
217 (tex_format == PIPE_FORMAT_B8G8R8A8_UNORM || in lp_linear_check_fastpath()
218 tex_format == PIPE_FORMAT_B8G8R8X8_UNORM) && in lp_linear_check_fastpath()
Dlp_state_fs_linear.c680 enum pipe_format tex_format = samp0->texture_state.format; in llvmpipe_fs_variant_linear_fastpath() local
682 tex_format == PIPE_FORMAT_B8G8R8A8_UNORM && in llvmpipe_fs_variant_linear_fastpath()
697 (tex_format == PIPE_FORMAT_B8G8R8A8_UNORM || in llvmpipe_fs_variant_linear_fastpath()
698 tex_format == PIPE_FORMAT_B8G8R8X8_UNORM) && in llvmpipe_fs_variant_linear_fastpath()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Diosglmemory.c136 GstGLFormat tex_format, in _ios_gl_memory_new() argument
148 target, tex_format, NULL, info, plane, valign, NULL, NULL); in _ios_gl_memory_new()
162 GstGLFormat tex_format, in gst_ios_gl_memory_new_wrapped() argument
168 return _ios_gl_memory_new (context, cv_mem, target, tex_format, tex_id, info, in gst_ios_gl_memory_new_wrapped()
Diosurfaceglmemory.c172 GstGLFormat tex_format, in _io_surface_gl_memory_new() argument
183 context, target, tex_format, NULL, info, plane, valign, user_data, in _io_surface_gl_memory_new()
198 GstGLFormat tex_format, in gst_io_surface_gl_memory_wrapped() argument
203 return _io_surface_gl_memory_new (context, surface, target, tex_format, info, in gst_io_surface_gl_memory_wrapped()
Dcorevideobuffer.c119 GstGLFormat tex_format; in _create_glmem()
122 tex_format = gst_gl_format_from_video_info (cache_gl->ctx, info, plane); in _create_glmem()
126 surface, GST_GL_TEXTURE_TARGET_RECTANGLE, tex_format, in _create_glmem()
Diosurfaceglmemory.h57 GstGLFormat tex_format,
Diosglmemory.h59 GstGLFormat tex_format,
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_formats.c158 uint32_t tex_format, in v3d_tfu_supports_tex_format() argument
162 return v3d41_tfu_supports_tex_format(tex_format, for_mipmap); in v3d_tfu_supports_tex_format()
164 return v3d33_tfu_supports_tex_format(tex_format, for_mipmap); in v3d_tfu_supports_tex_format()
Dv3dx_context.h47 bool v3dX(tfu_supports_tex_format)(uint32_t tex_format,
Dv3d_blit.c269 uint32_t tex_format = v3d_get_tex_format(&screen->devinfo, pformat); in v3d_tfu() local
271 if (!v3d_tfu_supports_tex_format(&screen->devinfo, tex_format, for_mipmap)) { in v3d_tfu()
309 tfu.icfg |= tex_format << V3D_TFU_ICFG_TTYPE_SHIFT; in v3d_tfu()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglmemory.c185 fail_unless_equals_int (gl_mem->tex_format, gl_mem2->tex_format); in GST_START_TEST()
287 gl_mem->tex_format, gl_mem->tex_id, NULL, NULL); in wrap_gl_memory()
302 fail_unless_equals_int (gl_mem->tex_format, gl_mem2->tex_format); in wrap_gl_memory()
360 gl_mem2->tex_id, GST_GL_TEXTURE_TARGET_2D, gl_mem2->tex_format, in GST_START_TEST()
Dgstglcolorconvert.c152 GstGLFormat tex_format = gst_gl_format_from_video_info (context, in check_conversion() local
159 &in_info, j, NULL, GST_GL_TEXTURE_TARGET_2D, tex_format, in check_conversion()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap.c138 pt = st_texture_create(st, st->internal_target, st->bitmap.tex_format, in make_bitmap_texture()
362 st->bitmap.tex_format, 0, in reset_cache()
548 assert(!st->bitmap.tex_format); in init_bitmap_state()
577 st->bitmap.tex_format = PIPE_FORMAT_R8_UNORM; in init_bitmap_state()
582 st->bitmap.tex_format = PIPE_FORMAT_A8_UNORM; in init_bitmap_state()
612 if (!st->bitmap.tex_format) { in st_Bitmap()
670 if (!st->bitmap.tex_format) { in st_DrawAtlasBitmaps()
Dst_context.h286 enum pipe_format tex_format; member
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dfont.c388 enum pipe_format tex_format = PIPE_FORMAT_NONE; in util_font_create_fixed_8x13() local
395 tex_format = formats[i]; in util_font_create_fixed_8x13()
400 if (tex_format == PIPE_FORMAT_NONE) { in util_font_create_fixed_8x13()
407 tex_templ.format = tex_format; in util_font_create_fixed_8x13()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_formats.c365 v3dX(tfu_supports_tex_format)(uint32_t tex_format) in v3dX()
367 switch (tex_format) { in v3dX()
Dv3dvx_private.h165 v3dX(tfu_supports_tex_format)(uint32_t tex_format);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstglmemoryegl.c164 NULL, params->parent.context, params->target, params->tex_format, in _gl_mem_egl_alloc()

12