/external/mesa3d/src/gallium/frontends/va/ |
D | postproc.c | 102 pipe_format_to_chroma_format(buf->buffer_format), in vlVaGetBox() 105 pipe_format_to_chroma_format(buf->buffer_format), in vlVaGetBox() 120 return !util_format_is_yuv(surface->buffer->buffer_format); in vlVaGetFullRange() 167 bool src_yuv = util_format_is_yuv(src->buffer->buffer_format); in vlVaSetProcParameters() 168 bool dst_yuv = util_format_is_yuv(dst->buffer->buffer_format); in vlVaSetProcParameters() 194 src->buffer->buffer_format); in vlVaSetProcParameters() 198 dst->buffer->buffer_format); in vlVaSetProcParameters() 213 src->buffer_format, in vlVaVidEngineBlit() 219 dst->buffer_format, in vlVaVidEngineBlit() 237 context->desc.vidproc.base.input_format = src->buffer_format; in vlVaVidEngineBlit() [all …]
|
D | surface.c | 457 format = surf->buffer->buffer_format; in vlVaPutSurface() 785 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_external_memory() 799 whandle.format = templat->buffer_format; in surface_from_external_memory() 804 unsigned num_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_external_memory() 816 res_templ.width0 = util_format_get_plane_width(templat->buffer_format, i, in surface_from_external_memory() 818 res_templ.height0 = util_format_get_plane_height(templat->buffer_format, i, in surface_from_external_memory() 858 num_format_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_prime() 889 templat->buffer_format, NULL) && in surface_from_prime() 892 templat->buffer_format); in surface_from_prime() 897 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_prime() [all …]
|
D | image.c | 85 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVaVideoSurfaceSize() 290 if (util_format_get_num_planes(surf->buffer->buffer_format) >= 2 && in vlVaDeriveImage() 313 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage() 522 if (format != surf->buffer->buffer_format) { in vlVaGetImage() 542 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage() 545 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage() 616 if (format != surf->buffer->buffer_format) { in vlVaPutImage()
|
D | picture.c | 1185 target_format = context->target->buffer_format; in vlVaEndPicture() 1196 context->desc.base.input_format = surf->efc_surface->buffer->buffer_format; in vlVaEndPicture() 1197 context->desc.base.output_format = surf->buffer->buffer_format; in vlVaEndPicture() 1201 context->desc.base.input_format = surf->buffer->buffer_format; in vlVaEndPicture() 1202 context->desc.base.output_format = surf->buffer->buffer_format; in vlVaEndPicture()
|
/external/mesa3d/src/gallium/frontends/vdpau/ |
D | surface.c | 85 p_surf->templat.buffer_format = ChromaToPipeFormat(chroma_type); in vlVdpVideoSurfaceCreate() 95 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) in vlVdpVideoSurfaceCreate() 169 … *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->video_buffer->buffer_format)); in vlVdpVideoSurfaceGetParameters() 173 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->templat.buffer_format)); in vlVdpVideoSurfaceGetParameters() 187 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVdpVideoSurfaceSize() 203 enum pipe_format format, buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr() local 226 buffer_format = vlsurface->video_buffer->buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr() 227 if (format != buffer_format) { in vlVdpVideoSurfaceGetBitsYCbCr() 228 if (format == PIPE_FORMAT_YV12 && buffer_format == PIPE_FORMAT_NV12) in vlVdpVideoSurfaceGetBitsYCbCr() 230 else if (format == PIPE_FORMAT_NV12 && buffer_format == PIPE_FORMAT_YV12) in vlVdpVideoSurfaceGetBitsYCbCr() [all …]
|
D | decode.c | 1054 pipe_format_to_chroma_format(vlsurf->video_buffer->buffer_format) != dec->chroma_format) in vlVdpDecoderRender() 1102 !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, in vlVdpDecoderRender() 1114 …vlsurf->templat.buffer_format = screen->get_video_param(screen, dec->profile, PIPE_VIDEO_ENTRYPOIN… in vlVdpDecoderRender()
|
/external/rust/android-crates-io/crates/icu_provider/src/buf/ |
D | serde.rs | 59 buffer_format: BufferFormat, in deserialize_impl() 65 match buffer_format { in deserialize_impl() 91 buffer_format.check_available()?; in deserialize_impl() 131 buffer_format: BufferFormat, in into_deserialized() 137 self.try_map_project(|bytes, _| deserialize_impl::<M>(bytes, buffer_format)) in into_deserialized() 161 let buffer_format = buffer_response.metadata.buffer_format.ok_or_else(|| { in load_data() localVariable 170 .into_deserialized(buffer_format) in load_data()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 240 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in vl_video_buffer_resources() 254 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in vl_video_buffer_sampler_view_planes() 300 vl_get_video_buffer_formats(pipe->screen, buf->base.buffer_format, sampler_format); in vl_video_buffer_sampler_view_components() 301 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); in vl_video_buffer_sampler_view_components() 302 num_planes = util_format_get_num_planes(buf->base.buffer_format); in vl_video_buffer_sampler_view_components() 319 …pipe_swizzle = (buf->base.buffer_format == PIPE_FORMAT_YUYV || buf->base.buffer_format == PIPE_FOR… in vl_video_buffer_sampler_view_components() 401 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in vl_video_buffer_create() 416 pipe_format_to_chroma_format(templat.buffer_format) in vl_video_buffer_create() 488 num_planes = util_format_get_num_planes(tmpl->buffer_format); in vl_video_buffer_create_ex2() 530 if (tmpl->buffer_format == PIPE_FORMAT_YUYV) in vl_video_buffer_create_as_resource() [all …]
|
D | vl_compositor.c | 739 dst_rect->x0 = util_format_get_plane_width(dst->buffer_format, 1, dst_rect->x0); in vl_compositor_yuv_deint_full() 740 dst_rect->x1 = util_format_get_plane_width(dst->buffer_format, 1, dst_rect->x1); in vl_compositor_yuv_deint_full() 741 dst_rect->y0 = util_format_get_plane_height(dst->buffer_format, 1, dst_rect->y0); in vl_compositor_yuv_deint_full() 742 dst_rect->y1 = util_format_get_plane_height(dst->buffer_format, 1, dst_rect->y1); in vl_compositor_yuv_deint_full() 783 dst_rect->x0 = util_format_get_plane_width(dst->buffer_format, 1, dst_rect->x0); in vl_compositor_convert_rgb_to_yuv() 784 dst_rect->x1 = util_format_get_plane_width(dst->buffer_format, 1, dst_rect->x1); in vl_compositor_convert_rgb_to_yuv() 785 dst_rect->y0 = util_format_get_plane_height(dst->buffer_format, 1, dst_rect->y0); in vl_compositor_convert_rgb_to_yuv() 786 dst_rect->y1 = util_format_get_plane_height(dst->buffer_format, 1, dst_rect->y1); in vl_compositor_convert_rgb_to_yuv()
|
D | vl_deint_filter.c | 274 templ.buffer_format = pipe->screen->get_video_param in vl_deint_filter_init() 438 if (pipe_format_to_chroma_format(bufs[i]->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420) in vl_deint_filter_check_buffers() 474 plane_order = vl_video_buffer_plane_order(filter->video_buffer->buffer_format); in vl_deint_filter_render()
|
/external/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_video_buffer.cpp | 61 pD3D12VideoBuffer->base.buffer_format = tmpl->buffer_format; in d3d12_video_buffer_create_impl() 99 resource_creation_info->format = pD3D12VideoBuffer->base.buffer_format; in d3d12_video_buffer_create_impl() 119 resource_creation_info->format = pD3D12VideoBuffer->base.buffer_format; in d3d12_video_buffer_create_impl() 163 …if ((handle->format == PIPE_FORMAT_NONE) || (tmpl == nullptr) || (tmpl->buffer_format == PIPE_FORM… in d3d12_video_buffer_from_handle() 181 updated_template.buffer_format = d3d12_get_pipe_format(res_desc.Format); in d3d12_video_buffer_from_handle() 182 handle->format = updated_template.buffer_format; in d3d12_video_buffer_from_handle()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_uvd.c | 44 pipe_format_to_chroma_format(tmpl->buffer_format); in r600_video_buffer_create() 49 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in r600_video_buffer_create()
|
D | radeon_vce.c | 416 templat.buffer_format = PIPE_FORMAT_NV12; in rvce_create_encoder()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video.c | 103 if (templat->buffer_format != PIPE_FORMAT_NV12) in nouveau_vp3_video_buffer_create() 107 assert(pipe_format_to_chroma_format(templat->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420); in nouveau_vp3_video_buffer_create() 113 buffer->base.buffer_format = templat->buffer_format; in nouveau_vp3_video_buffer_create()
|
D | nouveau_video.c | 793 if (templat->buffer_format != PIPE_FORMAT_NV12 || in nouveau_video_buffer_create() 798 assert(pipe_format_to_chroma_format(templat->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420); in nouveau_video_buffer_create() 812 buffer->base.buffer_format = templat->buffer_format; in nouveau_video_buffer_create()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_get.c | 761 const bool is_format_conversion = format != target->buffer_format; in si_vid_is_target_buffer_supported() 776 target->buffer_format == PIPE_FORMAT_B8G8R8A8_UNORM || in si_vid_is_target_buffer_supported() 777 target->buffer_format == PIPE_FORMAT_B8G8R8X8_UNORM || in si_vid_is_target_buffer_supported() 778 target->buffer_format == PIPE_FORMAT_R8G8B8A8_UNORM || in si_vid_is_target_buffer_supported() 779 target->buffer_format == PIPE_FORMAT_R8G8B8X8_UNORM; in si_vid_is_target_buffer_supported() 781 target->buffer_format == PIPE_FORMAT_B10G10R10A2_UNORM || in si_vid_is_target_buffer_supported() 782 target->buffer_format == PIPE_FORMAT_B10G10R10X2_UNORM || in si_vid_is_target_buffer_supported() 783 target->buffer_format == PIPE_FORMAT_R10G10B10A2_UNORM || in si_vid_is_target_buffer_supported() 784 target->buffer_format == PIPE_FORMAT_R10G10B10X2_UNORM; in si_vid_is_target_buffer_supported()
|
D | radeon_vcn_dec_jpeg.c | 76 switch (target->buffer_format) { in radeon_jpeg_get_decode_param() 279 enum pipe_format buffer_format) in send_cmd_target_direct() argument 286 switch (buffer_format) { in send_cmd_target_direct() 430 … send_cmd_target_direct(dec, dt, 0, RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM, target->buffer_format); in send_cmd_jpeg()
|
D | radeon_vcn_dec.c | 459 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_h265_msg() 666 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_vp9_msg() 1001 if (target->buffer_format == PIPE_FORMAT_P010 || in get_av1_msg() 1002 target->buffer_format == PIPE_FORMAT_P012 || in get_av1_msg() 1003 target->buffer_format == PIPE_FORMAT_P016) { in get_av1_msg() 1430 templat.buffer_format = get_buffer_format(dec); in rvcn_dec_dynamic_dpb_t2_message() 2639 …if (!radeon_dec_jpeg_check_format(dec, target->buffer_format, pic->picture_parameter.sampling_fact… in radeon_dec_jpeg_end_frame()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_video.h | 62 enum pipe_format buffer_format; member
|
D | virgl_video.c | 1304 vbuf->num_planes = util_format_get_num_planes(vbuf->buf->buffer_format); in virgl_video_create_buffer() 1307 vbuf->buffer_format = tmpl->buffer_format; in virgl_video_create_buffer() 1316 util_format_name(tmpl->buffer_format), in virgl_video_create_buffer()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video.c | 137 assert(target->base.buffer_format == PIPE_FORMAT_NV12); in nv84_decoder_decode_bitstream_h264() 173 assert(video_target->buffer_format == PIPE_FORMAT_NV12); in nv84_decoder_decode_bitstream_mpeg12() 564 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in nv84_video_buffer_resources() 631 if (template->buffer_format != PIPE_FORMAT_NV12) in nv84_video_buffer_create() 638 if (pipe_format_to_chroma_format(template->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420) { in nv84_video_buffer_create() 654 buffer->base.buffer_format = template->buffer_format; in nv84_video_buffer_create()
|
D | nv98_video.c | 49 assert(target->base.buffer_format == PIPE_FORMAT_NV12); in nv98_decoder_decode_bitstream()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_video_codec.h | 178 enum pipe_format buffer_format; member
|
/external/rust/android-crates-io/crates/icu_provider/src/ |
D | hello_world.rs | 224 buffer_format: Some(icu_provider::buf::BufferFormat::Json), in load_data()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video.c | 39 assert(target->buffer_format == PIPE_FORMAT_NV12); in nvc0_decoder_begin_frame()
|