/external/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 | 604 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/ |
D | image.c | 70 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 …]
|
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() 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 …]
|
D | postproc.c | 101 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()
|
D | surface.c | 357 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/ |
D | vl_video_buffer.c | 267 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()
|
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()
|
/external/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()
|
D | vid_enc_common.c | 196 templat.buffer_format = PIPE_FORMAT_NV12; in enc_NeedTask_common()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_video_codec.h | 124 enum pipe_format buffer_format; member
|
/external/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()
|
/external/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()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_vcn_enc.c | 421 templat.buffer_format = PIPE_FORMAT_NV12; in radeon_create_encoder() 423 templat.buffer_format = PIPE_FORMAT_P010; in radeon_create_encoder()
|
D | radeon_uvd_enc.c | 308 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()
|
D | radeon_vcn_dec.c | 334 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()
|
D | radeon_vce.c | 435 templat.buffer_format = PIPE_FORMAT_NV12; in si_vce_create_encoder()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video.c | 39 assert(target->buffer_format == PIPE_FORMAT_NV12); in nvc0_decoder_begin_frame()
|