Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/state_trackers/vdpau/
Dsurface.c85 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate()
102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) in vlVdpVideoSurfaceCreate()
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()
234 else if ((format == PIPE_FORMAT_YUYV && buffer_format == PIPE_FORMAT_UYVY) || in vlVdpVideoSurfaceGetBitsYCbCr()
235 (format == PIPE_FORMAT_UYVY && buffer_format == PIPE_FORMAT_YUYV)) in vlVdpVideoSurfaceGetBitsYCbCr()
327 ((pformat != p_surf->video_buffer->buffer_format))) { in vlVdpVideoSurfacePutBitsYCbCr()
[all …]
Ddecode.c613 !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()
Doutput.c466 vtmpl.buffer_format = format; in vlVdpOutputSurfacePutBitsYCbCr()
/external/mesa3d/src/gallium/state_trackers/va/
Dimage.c226 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage()
368 if (format != surf->buffer->buffer_format) { in vlVaGetImage()
371 surf->buffer->buffer_format == PIPE_FORMAT_NV12) || in vlVaGetImage()
373 surf->buffer->buffer_format == PIPE_FORMAT_NV12)) in vlVaGetImage()
486 if ((format != surf->buffer->buffer_format) && in vlVaPutImage()
487 ((format != PIPE_FORMAT_YV12) || (surf->buffer->buffer_format != PIPE_FORMAT_NV12)) && in vlVaPutImage()
488 ((format != PIPE_FORMAT_IYUV) || (surf->buffer->buffer_format != PIPE_FORMAT_NV12))) { in vlVaPutImage()
491 surf->templat.buffer_format = format; in vlVaPutImage()
540 && (surf->buffer->buffer_format == PIPE_FORMAT_NV12) in vlVaPutImage()
Dpicture.c79 context->target->buffer_format != PIPE_FORMAT_B8G8R8A8_UNORM && in vlVaBeginPicture()
80 context->target->buffer_format != PIPE_FORMAT_R8G8B8A8_UNORM && in vlVaBeginPicture()
81 context->target->buffer_format != PIPE_FORMAT_B8G8R8X8_UNORM && in vlVaBeginPicture()
82 context->target->buffer_format != PIPE_FORMAT_R8G8B8X8_UNORM && in vlVaBeginPicture()
83 context->target->buffer_format != PIPE_FORMAT_NV12 && in vlVaBeginPicture()
84 context->target->buffer_format != PIPE_FORMAT_P016) in vlVaBeginPicture()
646 if (surf->buffer->buffer_format != format && in vlVaEndPicture()
647 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { in vlVaEndPicture()
649 surf->templat.buffer_format = format; in vlVaEndPicture()
654 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { in vlVaEndPicture()
[all …]
Dpostproc.c125 if ((src->buffer_format == PIPE_FORMAT_B8G8R8A8_UNORM || in vlVaPostProcBlit()
126 src->buffer_format == PIPE_FORMAT_B8G8R8X8_UNORM) && in vlVaPostProcBlit()
350 if (context->target->buffer_format != PIPE_FORMAT_NV12 && in vlVaHandleVAProcPipelineParameterBufferType()
351 context->target->buffer_format != PIPE_FORMAT_P016) in vlVaHandleVAProcPipelineParameterBufferType()
Dsurface.c323 format = surf->buffer->buffer_format; in vlVaPutSurface()
567 res_templ.format = surface->templat.buffer_format; in suface_from_external_memory()
714 templat.buffer_format = pscreen->get_video_param( in vlVaCreateSurfaces2()
730 if (expected_format != templat.buffer_format || memory_attibute) in vlVaCreateSurfaces2()
733 templat.buffer_format = expected_format; in vlVaCreateSurfaces2()
992 desc->fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaExportSurfaceHandle()
/external/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()
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()
799 buffer->base.buffer_format = templat->buffer_format; in nouveau_video_buffer_create()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c343 sampler_format = vl_video_buffer_formats(pipe->screen, buf->base.buffer_format); in vl_video_buffer_sampler_view_components()
344 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); in vl_video_buffer_sampler_view_components()
438 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in vl_video_buffer_create()
Dvl_deint_filter.c258 templ.buffer_format = pipe->screen->get_video_param in vl_deint_filter_init()
457 plane_order = vl_video_buffer_plane_order(filter->video_buffer->buffer_format); in vl_deint_filter_render()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_codec.h124 enum pipe_format buffer_format; member
/external/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()
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()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c53 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in si_video_buffer_create()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format); in r600_video_buffer_create()
Dradeon_vce.c437 templat.buffer_format = PIPE_FORMAT_NV12; in rvce_create_encoder()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc.c260 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_create_encoder()
Dradeon_vce.c446 templat.buffer_format = PIPE_FORMAT_NV12; in si_vce_create_encoder()
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
Dvid_dec.c441 templat.buffer_format = pscreen->get_video_param( in vid_dec_NeedTarget()
613 templat.buffer_format = PIPE_FORMAT_NV12; in vid_dec_FrameDecoded()
Dvid_enc.c568 templat.buffer_format = PIPE_FORMAT_NV12; in vid_enc_SetConfig()
850 templat.buffer_format = PIPE_FORMAT_NV12; in enc_NeedTask()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c39 assert(target->buffer_format == PIPE_FORMAT_NV12); in nvc0_decoder_begin_frame()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c178 tmpl.buffer_format = pipe->screen->get_video_param in XvMCCreateSurface()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c361 const enum isl_format buffer_format = in copy_buffer_to_image() local
373 isl_format_get_layout(buffer_format); in copy_buffer_to_image()
387 buffer_row_pitch, buffer_format, in copy_buffer_to_image()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops.cc253 desc.buffer_format = LIBXSMM_DNN_TENSOR_FORMAT_NHWC; in Run()

12