Home
last modified time | relevance | path

Searched refs:surface_format (Results 1 – 24 of 24) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/dummy/
DSDL_nullframebuffer.c34 const Uint32 surface_format = SDL_PIXELFORMAT_RGB888; in SDL_DUMMY_CreateWindowFramebuffer() local
44 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_DUMMY_CreateWindowFramebuffer()
53 *format = surface_format; in SDL_DUMMY_CreateWindowFramebuffer()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.h34 struct surface_format { struct
43 struct surface_format fd2_pipe2surface(enum pipe_format format); argument
Dfd2_util.c33 pipe2surface(enum pipe_format format, struct surface_format *fmt) in pipe2surface()
126 struct surface_format
129 struct surface_format fmt = { in fd2_pipe2surface()
Dfd2_texture.c170 struct surface_format fmt = fd2_pipe2surface(cso->format); in fd2_sampler_view_create()
Dfd2_program.c172 struct surface_format fmt = fd2_pipe2surface(elem->src_format); in patch_vtx_fetch()
/third_party/ffmpeg/libavcodec/
Ddxva2.c161 static int d3d11va_validate_output(void *service, GUID guid, const void *surface_format) in d3d11va_validate_output() argument
167 *(DXGI_FORMAT *)surface_format, in d3d11va_validate_output()
174 static int dxva2_validate_output(void *decoder_service, GUID guid, const void *surface_format) in dxva2_validate_output() argument
184 if (format == *(D3DFORMAT *)surface_format) { in dxva2_validate_output()
260 static int dxva_get_decoder_guid(AVCodecContext *avctx, void *service, void *surface_format, in dxva_get_decoder_guid() argument
284 validate = d3d11va_validate_output(service, *mode->guid, surface_format); in dxva_get_decoder_guid()
288 validate = dxva2_validate_output(service, *mode->guid, surface_format); in dxva_get_decoder_guid()
348 D3DFORMAT surface_format = avctx->sw_pix_fmt == AV_PIX_FMT_YUV420P10 ? in dxva2_create_decoder() local
381 ret = dxva_get_decoder_guid(avctx, sctx->dxva2_service, &surface_format, in dxva2_create_decoder()
390 desc.Format = surface_format; in dxva2_create_decoder()
[all …]
Dvaapi_decode.h73 enum AVPixelFormat surface_format; member
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenframebuffer.c32 const Uint32 surface_format = SDL_PIXELFORMAT_BGR888; in Emscripten_CreateWindowFramebuffer() local
43 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in Emscripten_CreateWindowFramebuffer()
53 *format = surface_format; in Emscripten_CreateWindowFramebuffer()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavideoformat.c274 GstVideoFormat surface_format; in gst_va_video_surface_format_from_image_format() local
288 surface_format = g_array_index (surface_formats, GstVideoFormat, i); in gst_va_video_surface_format_from_image_format()
290 if (surface_format == image_format) in gst_va_video_surface_format_from_image_format()
291 return surface_format; in gst_va_video_surface_format_from_image_format()
Dgstvaallocator.c909 GstVideoFormat surface_format; member
929 GstVideoFormat surface_format; member
1063 if (va_allocator->surface_format == va_allocator->img_format) { in _update_image_info()
1261 sub->surface_format = vamem->surface_format; in _va_share()
1393 mem->surface_format = self->surface_format; in gst_va_allocator_alloc()
1483 self->surface_format = in gst_va_allocator_try()
1486 if (self->surface_format == GST_VIDEO_FORMAT_UNKNOWN) { in gst_va_allocator_try()
1491 self->fourcc = gst_va_fourcc_from_video_format (self->surface_format); in gst_va_allocator_try()
1492 self->rt_format = gst_va_chroma_from_video_format (self->surface_format); in gst_va_allocator_try()
1509 (self->surface_format == GST_VIDEO_FORMAT_UNKNOWN) ? "unknown" in gst_va_allocator_try()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_texture.h189 enum pipe_format surface_format; member
276 return stObj->surface_based ? stObj->surface_format : stObj->pt->format; in st_get_view_format()
Dst_gen_mipmap.c130 format = stObj->surface_format; in st_generate_mipmap()
Dst_vdpau.c254 stObj->surface_format = res->format; in st_vdpau_map_surface()
Dst_cb_eglimage.c391 stObj->surface_format = stimg->format; in st_bind_egl_image()
Dst_cb_blit.c199 blit.src.format = srcObj->surface_based ? srcObj->surface_format : srcObj->pt->format; in st_BlitFramebuffer()
Dst_sampler_view.c517 format = stObj->surface_based ? stObj->surface_format : stObj->pt->format; in get_sampler_view_format()
Dst_cb_fbo.c505 format = stTexObj->surface_format; in st_update_renderbuffer_surface()
Dst_manager.c779 stObj->surface_format = pipe_format; in st_context_teximage()
Dst_cb_texture.c2541 …src_format = get_src_format(screen, stObj->surface_based ? stObj->surface_format : src->format, sr… in st_GetTexSubImage()
3475 tex->surface_format = in st_TextureView()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c131 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color() argument
148 surface_format = util_format_rgb_to_bgr(surface_format); in si_set_clear_color()
150 util_pack_color_union(surface_format, &uc, color); in si_set_clear_color()
184 enum pipe_format surface_format, in vi_get_fast_clear_parameters() argument
200 util_format_description(si_simplify_cb_format(surface_format)); in vi_get_fast_clear_parameters()
213 bool surf_alpha_is_on_msb = vi_alpha_is_on_msb(sscreen, surface_format); in vi_get_fast_clear_parameters()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c746 uint32_t buffer_size_minus_1, width, height, depth, surface_format; in brw_update_sol_surface() local
776 surface_format = ISL_FORMAT_R32_FLOAT; in brw_update_sol_surface()
779 surface_format = ISL_FORMAT_R32G32_FLOAT; in brw_update_sol_surface()
782 surface_format = ISL_FORMAT_R32G32B32_FLOAT; in brw_update_sol_surface()
785 surface_format = ISL_FORMAT_R32G32B32A32_FLOAT; in brw_update_sol_surface()
793 surface_format << BRW_SURFACE_FORMAT_SHIFT | in brw_update_sol_surface()
Dbrw_state.h235 unsigned surface_format,
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c1714 enum pipe_format surface_format, in evergreen_set_clear_color() argument
1731 util_pack_color_union(surface_format, &uc, color); in evergreen_set_clear_color()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c5332 uint32_t surface_format; in emit_sol_surface() local
5335 surface_format = ISL_FORMAT_R32_FLOAT; in emit_sol_surface()
5338 surface_format = ISL_FORMAT_R32G32_FLOAT; in emit_sol_surface()
5341 surface_format = ISL_FORMAT_R32G32B32_FLOAT; in emit_sol_surface()
5344 surface_format = ISL_FORMAT_R32G32B32A32_FLOAT; in emit_sol_surface()
5362 .format = surface_format); in emit_sol_surface()