Searched refs:buffer_format (Results 1 - 25 of 66) sorted by relevance

123

/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/
H A Dsurface.c85 /* 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 Dsurface.c85 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 Dvl_video_buffer.c222 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 Dvl_deint_filter.c258 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 Dpicture.c79 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 Dimage.c237 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 Dpostproc.c126 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 Dsurface.c357 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 Dp_video_codec.h124 enum pipe_format buffer_format; member in struct:pipe_video_buffer
/xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe/
H A Dp_video_codec.h124 enum pipe_format buffer_format; member in struct:pipe_video_buffer
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/va/
H A Dpostproc.c101 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 Dimage.c70 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 Dpicture.c80 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 Dsurface.c357 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 Dvid_dec_common.c57 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 Dr600_uvd.c70 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 Dnouveau_vp3_video.c88 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 Dradeon_vcn_dec_jpeg.c51 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 Dvl_video_buffer.c343 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 Dnouveau_vp3_video.c88 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 Dvid_dec_common.c58 templat.buffer_format = pscreen->get_video_param(
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_uvd.c73 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_uvd.c55 resource_formats = vl_video_buffer_formats(pipe->screen, tmpl->buffer_format);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.c136 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 Dnv84_video.c136 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;

Completed in 24 milliseconds

123