Home
last modified time | relevance | path

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

12

/external/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.c604 pipe_format_to_chroma_format(vlsurf->video_buffer->buffer_format) != dec->chroma_format) in vlVdpDecoderRender()
614 !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, in vlVdpDecoderRender()
625 …vlsurf->templat.buffer_format = screen->get_video_param(screen, dec->profile, PIPE_VIDEO_ENTRYPOIN… in vlVdpDecoderRender()
/external/mesa3d/src/gallium/frontends/va/
Dimage.c70 pipe_format_to_chroma_format(p_surf->templat.buffer_format), in vlVaVideoSurfaceSize()
262 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaDeriveImage()
485 if (format != surf->buffer->buffer_format) { in vlVaGetImage()
488 surf->buffer->buffer_format == PIPE_FORMAT_NV12) || in vlVaGetImage()
490 surf->buffer->buffer_format == PIPE_FORMAT_NV12)) in vlVaGetImage()
493 (surf->buffer->buffer_format == PIPE_FORMAT_P010 || in vlVaGetImage()
494 surf->buffer->buffer_format == PIPE_FORMAT_P016)) { in vlVaGetImage()
532 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage()
535 pipe_format_to_chroma_format(surf->templat.buffer_format), in vlVaGetImage()
617 if ((format != surf->buffer->buffer_format) && in vlVaPutImage()
[all …]
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()
681 if (surf->buffer->buffer_format != format && in vlVaEndPicture()
682 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { in vlVaEndPicture()
684 surf->templat.buffer_format = format; in vlVaEndPicture()
[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()
354 if (context->target->buffer_format != PIPE_FORMAT_NV12 && in vlVaHandleVAProcPipelineParameterBufferType()
355 context->target->buffer_format != PIPE_FORMAT_P010 && in vlVaHandleVAProcPipelineParameterBufferType()
356 context->target->buffer_format != PIPE_FORMAT_P016) in vlVaHandleVAProcPipelineParameterBufferType()
Dsurface.c357 format = surf->buffer->buffer_format; in vlVaPutSurface()
589 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); in surface_from_external_memory()
764 templat.buffer_format = pscreen->get_video_param( in vlVaCreateSurfaces2()
780 if (expected_format != templat.buffer_format || memory_attribute) in vlVaCreateSurfaces2()
783 templat.buffer_format = expected_format; in vlVaCreateSurfaces2()
1040 desc->fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); in vlVaExportSurfaceHandle()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c267 vl_get_video_buffer_formats(pipe->screen, buf->base.buffer_format, sampler_format); in vl_video_buffer_sampler_view_components()
268 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); in vl_video_buffer_sampler_view_components()
362 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); in vl_video_buffer_create()
377 pipe_format_to_chroma_format(templat.buffer_format) in vl_video_buffer_create()
483 if (tmpl->buffer_format == PIPE_FORMAT_YUYV) in vl_video_buffer_create_as_resource()
485 else if (tmpl->buffer_format == PIPE_FORMAT_UYVY) in vl_video_buffer_create_as_resource()
488 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()
/external/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()
Dvid_enc_common.c196 templat.buffer_format = PIPE_FORMAT_NV12; in enc_NeedTask_common()
/external/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()
Dradeon_vce.c440 templat.buffer_format = PIPE_FORMAT_NV12; in rvce_create_encoder()
/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()
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()
/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()
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()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_codec.h124 enum pipe_format buffer_format; member
/external/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()
/external/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()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc.c421 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_create_encoder()
423 templat.buffer_format = PIPE_FORMAT_P010; in radeon_create_encoder()
Dradeon_uvd_enc.c308 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.c334 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_h265_msg()
541 if (target->buffer_format == PIPE_FORMAT_P010 || target->buffer_format == PIPE_FORMAT_P016) { in get_vp9_msg()
Dradeon_vce.c435 templat.buffer_format = PIPE_FORMAT_NV12; in si_vce_create_encoder()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c39 assert(target->buffer_format == PIPE_FORMAT_NV12); in nvc0_decoder_begin_frame()

12