| /third_party/mesa3d/src/gallium/frontends/vdpau/ |
| D | surface.c | 86 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate() 102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) in vlVdpVideoSurfaceCreate() 171 … *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->video_buffer->buffer_format)); in vlVdpVideoSurfaceGetParameters() 175 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->templat.buffer_format)); in vlVdpVideoSurfaceGetParameters() 189 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVdpVideoSurfaceSize() 205 enum pipe_format format, buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr() local 228 buffer_format = vlsurface->video_buffer->buffer_format; in vlVdpVideoSurfaceGetBitsYCbCr() 229 if (format != buffer_format) { in vlVdpVideoSurfaceGetBitsYCbCr() 230 if (format == PIPE_FORMAT_YV12 && buffer_format == PIPE_FORMAT_NV12) in vlVdpVideoSurfaceGetBitsYCbCr() 232 else if (format == PIPE_FORMAT_NV12 && buffer_format == PIPE_FORMAT_YV12) in vlVdpVideoSurfaceGetBitsYCbCr() [all …]
|
| D | decode.c | 603 pipe_format_to_chroma_format(vlsurf->video_buffer->buffer_format) != dec->chroma_format) in vlVdpDecoderRender() 613 !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, in vlVdpDecoderRender() 624 …vlsurf->templat.buffer_format = screen->get_video_param(screen, dec->profile, PIPE_VIDEO_ENTRYPOIN… in vlVdpDecoderRender()
|
| /third_party/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() 125 if (src->buffer_format != PIPE_FORMAT_NV12 || in vlVaVidEngineBlit() 126 dst->buffer_format != PIPE_FORMAT_NV12) in vlVaVidEngineBlit() 142 context->desc.vidproc.base.input_format = src->buffer_format; in vlVaVidEngineBlit() 143 context->desc.vidproc.base.output_format = dst->buffer_format; in vlVaVidEngineBlit() 197 if ((src->buffer_format == PIPE_FORMAT_B8G8R8X8_UNORM || in vlVaPostProcBlit() 198 src->buffer_format == PIPE_FORMAT_B8G8R8A8_UNORM || in vlVaPostProcBlit() 199 src->buffer_format == PIPE_FORMAT_R8G8B8X8_UNORM || in vlVaPostProcBlit() 200 src->buffer_format == PIPE_FORMAT_R8G8B8A8_UNORM) && in vlVaPostProcBlit() [all …]
|
| D | picture.c | 80 context->target->buffer_format != PIPE_FORMAT_B8G8R8A8_UNORM && in vlVaBeginPicture() 81 context->target->buffer_format != PIPE_FORMAT_R8G8B8A8_UNORM && in vlVaBeginPicture() 82 context->target->buffer_format != PIPE_FORMAT_B8G8R8X8_UNORM && in vlVaBeginPicture() 83 context->target->buffer_format != PIPE_FORMAT_R8G8B8X8_UNORM && in vlVaBeginPicture() 84 context->target->buffer_format != PIPE_FORMAT_NV12 && in vlVaBeginPicture() 85 context->target->buffer_format != PIPE_FORMAT_P010 && in vlVaBeginPicture() 86 context->target->buffer_format != PIPE_FORMAT_P016) in vlVaBeginPicture() 722 if (surf->buffer->buffer_format != format && in vlVaEndPicture() 723 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { in vlVaEndPicture() 725 surf->templat.buffer_format = format; in vlVaEndPicture() [all …]
|
| D | image.c | 70 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVaVideoSurfaceSize() 275 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage() 528 if (format != surf->buffer->buffer_format) { in vlVaGetImage() 531 surf->buffer->buffer_format == PIPE_FORMAT_NV12) || in vlVaGetImage() 533 surf->buffer->buffer_format == PIPE_FORMAT_NV12)) in vlVaGetImage() 536 (surf->buffer->buffer_format == PIPE_FORMAT_P010 || in vlVaGetImage() 537 surf->buffer->buffer_format == PIPE_FORMAT_P016)) { in vlVaGetImage() 575 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage() 578 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage() 660 if ((format != surf->buffer->buffer_format) && in vlVaPutImage() [all …]
|
| D | surface.c | 357 format = surf->buffer->buffer_format; in vlVaPutSurface() 605 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_external_memory() 619 whandle.format = templat->buffer_format; in surface_from_external_memory() 624 unsigned num_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_external_memory() 636 res_templ.width0 = util_format_get_plane_width(templat->buffer_format, i, in surface_from_external_memory() 638 res_templ.height0 = util_format_get_plane_height(templat->buffer_format, i, in surface_from_external_memory() 678 num_format_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_prime_2() 709 templat->buffer_format, NULL) && in surface_from_prime_2() 712 templat->buffer_format); in surface_from_prime_2() 717 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_prime_2() [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/vl/ |
| D | vl_video_buffer.c | 224 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in vl_video_buffer_sampler_view_planes() 270 vl_get_video_buffer_formats(pipe->screen, buf->base.buffer_format, sampler_format); in vl_video_buffer_sampler_view_components() 271 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); in vl_video_buffer_sampler_view_components() 365 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in vl_video_buffer_create() 380 pipe_format_to_chroma_format(templat.buffer_format) in vl_video_buffer_create() 488 if (tmpl->buffer_format == PIPE_FORMAT_YUYV) in vl_video_buffer_create_as_resource() 490 else if (tmpl->buffer_format == PIPE_FORMAT_UYVY) in vl_video_buffer_create_as_resource() 493 templ.format = tmpl->buffer_format; in vl_video_buffer_create_as_resource()
|
| D | vl_deint_filter.c | 258 templ.buffer_format = pipe->screen->get_video_param in vl_deint_filter_init() 422 if (pipe_format_to_chroma_format(bufs[i]->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420) in vl_deint_filter_check_buffers() 458 plane_order = vl_video_buffer_plane_order(filter->video_buffer->buffer_format); in vl_deint_filter_render()
|
| /third_party/mesa3d/src/gallium/drivers/d3d12/ |
| D | d3d12_video_buffer.cpp | 50 if (!(tmpl->buffer_format == PIPE_FORMAT_NV12)) { in d3d12_video_buffer_create() 55 if (!(pipe_format_to_chroma_format(tmpl->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420)) { in d3d12_video_buffer_create() 66 pD3D12VideoBuffer->base.buffer_format = tmpl->buffer_format; in d3d12_video_buffer_create() 85 templ.format = pD3D12VideoBuffer->base.buffer_format; in d3d12_video_buffer_create()
|
| /third_party/flutter/engine/flutter/shell/platform/android/ |
| D | android_surface_software.cc | 20 bool GetSkColorType(int32_t buffer_format, in GetSkColorType() argument 23 switch (buffer_format) { in GetSkColorType()
|
| /third_party/mesa3d/src/gallium/drivers/nouveau/ |
| D | nouveau_vp3_video.c | 88 if (getenv("XVMC_VL") || templat->buffer_format != PIPE_FORMAT_NV12) in nouveau_vp3_video_buffer_create() 92 assert(pipe_format_to_chroma_format(templat->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420); in nouveau_vp3_video_buffer_create() 98 buffer->base.buffer_format = templat->buffer_format; in nouveau_vp3_video_buffer_create()
|
| D | nouveau_video.c | 780 if (templat->buffer_format != PIPE_FORMAT_NV12 || getenv("XVMC_VL") || in nouveau_video_buffer_create() 785 assert(pipe_format_to_chroma_format(templat->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420); in nouveau_video_buffer_create() 798 buffer->base.buffer_format = templat->buffer_format; in nouveau_video_buffer_create()
|
| /third_party/mesa3d/src/gallium/frontends/omx/ |
| D | vid_dec_common.c | 57 templat.buffer_format = pscreen->get_video_param( in vid_dec_NeedTarget() 135 pipe_format_to_chroma_format(buf->buffer_format), in vid_dec_FillOutput()
|
| /third_party/mesa3d/src/gallium/drivers/r600/ |
| D | r600_uvd.c | 70 pipe_format_to_chroma_format(tmpl->buffer_format); in r600_video_buffer_create() 75 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in r600_video_buffer_create()
|
| D | radeon_vce.c | 440 templat.buffer_format = PIPE_FORMAT_NV12; in rvce_create_encoder()
|
| /third_party/flutter/engine/flutter/shell/platform/ohos/ |
| D | ohos_surface_software.cc | 21 bool GetSkColorType(int32_t buffer_format, in GetSkColorType() argument 25 switch (buffer_format) { in GetSkColorType()
|
| /third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
| D | nv84_video.c | 136 assert(target->base.buffer_format == PIPE_FORMAT_NV12); in nv84_decoder_decode_bitstream_h264() 171 assert(video_target->buffer_format == PIPE_FORMAT_NV12); in nv84_decoder_decode_bitstream_mpeg12() 615 if (getenv("XVMC_VL") || template->buffer_format != PIPE_FORMAT_NV12) in nv84_video_buffer_create() 622 if (pipe_format_to_chroma_format(template->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420) { in nv84_video_buffer_create() 638 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()
|
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| D | radeon_vcn_enc.c | 407 static int setup_dpb(struct radeon_encoder *enc, enum pipe_format buffer_format, in setup_dpb() argument 415 if (buffer_format == PIPE_FORMAT_P010) in setup_dpb() 484 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_create_encoder() 486 templat.buffer_format = PIPE_FORMAT_P010; in radeon_create_encoder() 513 cpb_size += setup_dpb(enc, templat.buffer_format, sscreen->info.gfx_level); in radeon_create_encoder()
|
| D | radeon_uvd_enc.c | 307 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_uvd_create_encoder()
|
| D | radeon_vcn_dec_jpeg.c | 48 if (target->buffer_format == PIPE_FORMAT_NV12) in radeon_jpeg_get_decode_param()
|
| /third_party/mesa3d/src/gallium/include/pipe/ |
| D | p_video_codec.h | 131 enum pipe_format buffer_format; member
|
| /third_party/mesa3d/src/gallium/frontends/xvmc/ |
| D | surface.c | 178 tmpl.buffer_format = pipe->screen->get_video_param in XvMCCreateSurface() 185 assert(pipe_format_to_chroma_format(tmpl.buffer_format) == context_priv->decoder->chroma_format); in XvMCCreateSurface()
|
| /third_party/mesa3d/src/gallium/frontends/omx/tizonia/ |
| D | h264dprc.c | 206 templat.buffer_format = p_res->format; in get_eglimage() 217 assert(video_buffer->buffer_format == p_res->format); in get_eglimage()
|
| /third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
| D | nvc0_video.c | 39 assert(target->buffer_format == PIPE_FORMAT_NV12); in nvc0_decoder_begin_frame()
|