| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/ |
| H A D | surface.c | 85 /* TODO: buffer_format should be selected to match chroma_type */ 86 p_surf->templat.buffer_format = pipe->screen->get_video_param 102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) 171 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->video_buffer->buffer_format)); 175 *chroma_type = PipeToChroma(pipe_format_to_chroma_format(p_surf->templat.buffer_format)); 189 pipe_format_to_chroma_format(p_surf->templat.buffer_format), 205 enum pipe_format format, buffer_format; local in function:vlVdpVideoSurfaceGetBitsYCbCr 228 buffer_format = vlsurface->video_buffer->buffer_format; 229 if (format != buffer_format) { [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/ |
| H A D | surface.c | 85 p_surf->templat.buffer_format = pipe->screen->get_video_param 102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) 205 enum pipe_format format, buffer_format; local in function:vlVdpVideoSurfaceGetBitsYCbCr 228 buffer_format = vlsurface->video_buffer->buffer_format; 229 if (format != buffer_format) { 230 if (format == PIPE_FORMAT_YV12 && buffer_format == PIPE_FORMAT_NV12) 232 else if (format == PIPE_FORMAT_NV12 && buffer_format == PIPE_FORMAT_YV12) 234 else if ((format == PIPE_FORMAT_YUYV && buffer_format == PIPE_FORMAT_UYVY) || 235 (format == PIPE_FORMAT_UYVY && buffer_format [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| H A D | vl_video_buffer.c | 222 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); 268 vl_get_video_buffer_formats(pipe->screen, buf->base.buffer_format, sampler_format); 269 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); 363 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats); 378 pipe_format_to_chroma_format(templat.buffer_format) 486 if (tmpl->buffer_format == PIPE_FORMAT_YUYV) 488 else if (tmpl->buffer_format == PIPE_FORMAT_UYVY) 491 templ.format = tmpl->buffer_format;
|
| H A D | vl_deint_filter.c | 258 templ.buffer_format = pipe->screen->get_video_param 422 if (pipe_format_to_chroma_format(bufs[i]->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420) 458 plane_order = vl_video_buffer_plane_order(filter->video_buffer->buffer_format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/va/ |
| H A D | picture.c | 79 context->target->buffer_format != PIPE_FORMAT_B8G8R8A8_UNORM && 80 context->target->buffer_format != PIPE_FORMAT_R8G8B8A8_UNORM && 81 context->target->buffer_format != PIPE_FORMAT_B8G8R8X8_UNORM && 82 context->target->buffer_format != PIPE_FORMAT_R8G8B8X8_UNORM && 83 context->target->buffer_format != PIPE_FORMAT_NV12 && 84 context->target->buffer_format != PIPE_FORMAT_P016) 598 if (surf->buffer->buffer_format != format && 599 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { 601 surf->templat.buffer_format = format; 606 surf->buffer->buffer_format [all...] |
| H A D | image.c | 237 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); 406 if (format != surf->buffer->buffer_format) { 409 surf->buffer->buffer_format == PIPE_FORMAT_NV12) || 411 surf->buffer->buffer_format == PIPE_FORMAT_NV12)) 532 if ((format != surf->buffer->buffer_format) && 533 ((format != PIPE_FORMAT_YV12) || (surf->buffer->buffer_format != PIPE_FORMAT_NV12)) && 534 ((format != PIPE_FORMAT_IYUV) || (surf->buffer->buffer_format != PIPE_FORMAT_NV12))) { 537 surf->templat.buffer_format = format; 586 && (surf->buffer->buffer_format == PIPE_FORMAT_NV12)
|
| H A D | postproc.c | 126 if ((src->buffer_format == PIPE_FORMAT_B8G8R8A8_UNORM || 127 src->buffer_format == PIPE_FORMAT_B8G8R8X8_UNORM) && 355 if (context->target->buffer_format != PIPE_FORMAT_NV12 && 356 context->target->buffer_format != PIPE_FORMAT_P016)
|
| H A D | surface.c | 357 format = surf->buffer->buffer_format; 587 resource_formats = vl_video_buffer_formats(pscreen, templat->buffer_format); 759 templat.buffer_format = pscreen->get_video_param( 775 if (expected_format != templat.buffer_format || memory_attribute) 778 templat.buffer_format = expected_format; 1035 desc->fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/include/pipe/ |
| H A D | p_video_codec.h | 124 enum pipe_format buffer_format; member in struct:pipe_video_buffer
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/ |
| H A D | p_video_codec.h | 124 enum pipe_format buffer_format; member in struct:pipe_video_buffer
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/va/ |
| H A D | postproc.c | 101 pipe_format_to_chroma_format(buf->buffer_format), 104 pipe_format_to_chroma_format(buf->buffer_format), 128 if ((src->buffer_format == PIPE_FORMAT_B8G8R8A8_UNORM || 129 src->buffer_format == PIPE_FORMAT_B8G8R8X8_UNORM) && 370 if (context->target->buffer_format != PIPE_FORMAT_NV12 && 371 context->target->buffer_format != PIPE_FORMAT_P010 && 372 context->target->buffer_format != PIPE_FORMAT_P016)
|
| H A D | image.c | 70 pipe_format_to_chroma_format(p_surf->templat.buffer_format), 264 img->format.fourcc = PipeFormatToVaFourcc(surf->buffer->buffer_format); 489 if (format != surf->buffer->buffer_format) { 492 surf->buffer->buffer_format == PIPE_FORMAT_NV12) || 494 surf->buffer->buffer_format == PIPE_FORMAT_NV12)) 497 (surf->buffer->buffer_format == PIPE_FORMAT_P010 || 498 surf->buffer->buffer_format == PIPE_FORMAT_P016)) { 536 pipe_format_to_chroma_format(surf->templat.buffer_format), 539 pipe_format_to_chroma_format(surf->templat.buffer_format), 621 if ((format != surf->buffer->buffer_format) [all...] |
| H A D | picture.c | 80 context->target->buffer_format != PIPE_FORMAT_B8G8R8A8_UNORM && 81 context->target->buffer_format != PIPE_FORMAT_R8G8B8A8_UNORM && 82 context->target->buffer_format != PIPE_FORMAT_B8G8R8X8_UNORM && 83 context->target->buffer_format != PIPE_FORMAT_R8G8B8X8_UNORM && 84 context->target->buffer_format != PIPE_FORMAT_NV12 && 85 context->target->buffer_format != PIPE_FORMAT_P010 && 86 context->target->buffer_format != PIPE_FORMAT_P016) 709 if (surf->buffer->buffer_format != format && 710 surf->buffer->buffer_format == PIPE_FORMAT_NV12) { 712 surf->templat.buffer_format [all...] |
| H A D | surface.c | 357 format = surf->buffer->buffer_format; 600 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats); 614 whandle.format = templat->buffer_format; 619 unsigned num_planes = util_format_get_num_planes(templat->buffer_format); 631 res_templ.width0 = util_format_get_plane_width(templat->buffer_format, i, 633 res_templ.height0 = util_format_get_plane_height(templat->buffer_format, i, 673 num_format_planes = util_format_get_num_planes(templat->buffer_format); 704 templat->buffer_format, NULL) && 707 templat->buffer_format); 712 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_format [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/ |
| H A D | vid_dec_common.c | 57 templat.buffer_format = pscreen->get_video_param( 135 pipe_format_to_chroma_format(buf->buffer_format),
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_uvd.c | 70 pipe_format_to_chroma_format(tmpl->buffer_format); 75 vl_get_video_buffer_formats(pipe->screen, tmpl->buffer_format, resource_formats);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/ |
| H A D | nouveau_vp3_video.c | 88 if (getenv("XVMC_VL") || templat->buffer_format != PIPE_FORMAT_NV12) 92 assert(pipe_format_to_chroma_format(templat->buffer_format) == PIPE_VIDEO_CHROMA_FORMAT_420); 98 buffer->base.buffer_format = templat->buffer_format;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeon/ |
| H A D | radeon_vcn_dec_jpeg.c | 51 if (target->buffer_format == PIPE_FORMAT_NV12) { 55 else if (target->buffer_format == PIPE_FORMAT_YUYV)
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/ |
| H A D | vl_video_buffer.c | 343 sampler_format = vl_video_buffer_formats(pipe->screen, buf->base.buffer_format); 344 plane_order = vl_video_buffer_plane_order(buf->base.buffer_format); 438 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| H A D | nouveau_vp3_video.c | 88 if (getenv("XVMC_VL") || templat->buffer_format != PIPE_FORMAT_NV12) 98 buffer->base.buffer_format = templat->buffer_format;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/ |
| H A D | vid_dec_common.c | 58 templat.buffer_format = pscreen->get_video_param(
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_uvd.c | 73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_uvd.c | 55 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv84_video.c | 136 assert(target->base.buffer_format == PIPE_FORMAT_NV12); 171 assert(video_target->buffer_format == PIPE_FORMAT_NV12); 615 if (getenv("XVMC_VL") || template->buffer_format != PIPE_FORMAT_NV12) 622 if (pipe_format_to_chroma_format(template->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420) { 638 buffer->base.buffer_format = template->buffer_format;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv84_video.c | 136 assert(target->base.buffer_format == PIPE_FORMAT_NV12); 171 assert(video_target->buffer_format == PIPE_FORMAT_NV12); 615 if (getenv("XVMC_VL") || template->buffer_format != PIPE_FORMAT_NV12) 638 buffer->base.buffer_format = template->buffer_format;
|