Home
last modified time | relevance | path

Searched refs:buffer_format (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/vdpau/
Dsurface.c86 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 …]
Ddecode.c605 pipe_format_to_chroma_format(vlsurf->video_buffer->buffer_format) != dec->chroma_format) in vlVdpDecoderRender()
615 !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, in vlVdpDecoderRender()
626 …vlsurf->templat.buffer_format = screen->get_video_param(screen, dec->profile, PIPE_VIDEO_ENTRYPOIN… in vlVdpDecoderRender()
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture.c80 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()
709 if (surf->buffer->buffer_format != format && in vlVaEndPicture()
710 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { in vlVaEndPicture()
712 surf->templat.buffer_format = format; in vlVaEndPicture()
[all …]
Dimage.c70 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVaVideoSurfaceSize()
264 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage()
489 if (format != surf->buffer->buffer_format) { in vlVaGetImage()
492 surf->buffer->buffer_format == PIPE_FORMAT_NV12) || in vlVaGetImage()
494 surf->buffer->buffer_format == PIPE_FORMAT_NV12)) in vlVaGetImage()
497 (surf->buffer->buffer_format == PIPE_FORMAT_P010 || in vlVaGetImage()
498 surf->buffer->buffer_format == PIPE_FORMAT_P016)) { in vlVaGetImage()
536 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage()
539 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage()
621 if ((format != surf->buffer->buffer_format) && in vlVaPutImage()
[all …]
Dpostproc.c101 pipe_format_to_chroma_format(buf->buffer_format), in vlVaGetBox()
104 pipe_format_to_chroma_format(buf->buffer_format), in vlVaGetBox()
128 if ((src->buffer_format == PIPE_FORMAT_B8G8R8A8_UNORM || in vlVaPostProcBlit()
129 src->buffer_format == PIPE_FORMAT_B8G8R8X8_UNORM) && in vlVaPostProcBlit()
370 if (context->target->buffer_format != PIPE_FORMAT_NV12 && in vlVaHandleVAProcPipelineParameterBufferType()
371 context->target->buffer_format != PIPE_FORMAT_P010 && in vlVaHandleVAProcPipelineParameterBufferType()
372 context->target->buffer_format != PIPE_FORMAT_P016) in vlVaHandleVAProcPipelineParameterBufferType()
Dsurface.c357 format = surf->buffer->buffer_format; in vlVaPutSurface()
600 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_external_memory()
614 whandle.format = templat->buffer_format; in surface_from_external_memory()
619 unsigned num_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_external_memory()
631 res_templ.width0 = util_format_get_plane_width(templat->buffer_format, i, in surface_from_external_memory()
633 res_templ.height0 = util_format_get_plane_height(templat->buffer_format, i, in surface_from_external_memory()
673 num_format_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_prime_2()
704 templat->buffer_format, NULL) && in surface_from_prime_2()
707 templat->buffer_format); in surface_from_prime_2()
712 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_prime_2()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c222 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in vl_video_buffer_sampler_view_planes()
268 vl_get_video_buffer_formats(pipe->screen, buf->base.buffer_format, sampler_format); in vl_video_buffer_sampler_view_components()
269 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); in vl_video_buffer_sampler_view_components()
363 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in vl_video_buffer_create()
378 pipe_format_to_chroma_format(templat.buffer_format) in vl_video_buffer_create()
486 if (tmpl->buffer_format == PIPE_FORMAT_YUYV) in vl_video_buffer_create_as_resource()
488 else if (tmpl->buffer_format == PIPE_FORMAT_UYVY) in vl_video_buffer_create_as_resource()
491 templ.format = tmpl->buffer_format; in vl_video_buffer_create_as_resource()
Dvl_deint_filter.c258 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/flutter/engine/flutter/shell/platform/android/
Dandroid_surface_software.cc20 bool GetSkColorType(int32_t buffer_format, in GetSkColorType() argument
23 switch (buffer_format) { in GetSkColorType()
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_common.c57 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/nouveau/
Dnouveau_vp3_video.c88 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()
Dnouveau_video.c780 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/drivers/r600/
Dr600_uvd.c70 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()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_surface_software.cc21 bool GetSkColorType(int32_t buffer_format, in GetSkColorType() argument
25 switch (buffer_format) { in GetSkColorType()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.c136 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()
Dnv98_video.c49 assert(target->base.buffer_format == PIPE_FORMAT_NV12); in nv98_decoder_decode_bitstream()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_video_codec.h124 enum pipe_format buffer_format; member
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dsurface.c178 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/
Dh264dprc.c206 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/radeon/
Dradeon_vcn_enc.c428 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_create_encoder()
430 templat.buffer_format = PIPE_FORMAT_P010; in radeon_create_encoder()
Dradeon_uvd_enc.c307 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_uvd_create_encoder()
Dradeon_vcn_dec_jpeg.c48 if (target->buffer_format == PIPE_FORMAT_NV12) in radeon_jpeg_get_decode_param()
Dradeon_vcn_dec.c342 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_h265_msg()
553 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_vp9_msg()
864 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_av1_msg()
/third_party/weston/clients/
Dsimple-dmabuf-v4l.c93 struct buffer_format { struct
117 struct buffer_format format; argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c39 assert(target->buffer_format == PIPE_FORMAT_NV12); in nvc0_decoder_begin_frame()

12