search for: pipe_video_format_mpeg12

Displaying 5 results from an estimated 5 matches for "pipe_video_format_mpeg12".

2013 Dec 07
3
[PATCH] nv50: enable H.264 for NV98+ (VP3, VP4.0)
...enum pipe_video_format codec = u_reduce_video_profile(profile); switch (param) { case PIPE_VIDEO_CAP_SUPPORTED: - /* For now, h264 and mpeg4 don't work on pre-nvc0. */ + /* For now, mpeg4 doesn't work on pre-nvc0. */ if (chipset < 0xc0) return codec == PIPE_VIDEO_FORMAT_MPEG12 || - codec == PIPE_VIDEO_FORMAT_VC1; + codec == PIPE_VIDEO_FORMAT_VC1 || + codec == PIPE_VIDEO_FORMAT_MPEG4_AVC; /* In the general case, this should work, once the pre-nvc0 problems are * resolved. */ return profile >= PIPE_VIDEO_PROFILE_MPE...
2014 Feb 05
2
[PATCH] nouveau/video: make sure that firmware is present when checking caps
..._entrypoint entrypoint, enum pipe_video_cap param) { + enum pipe_video_format codec; + switch (param) { case PIPE_VIDEO_CAP_SUPPORTED: - return u_reduce_video_profile(profile) == PIPE_VIDEO_FORMAT_MPEG4_AVC || - u_reduce_video_profile(profile) == PIPE_VIDEO_FORMAT_MPEG12; + codec = u_reduce_video_profile(profile); + return (codec == PIPE_VIDEO_FORMAT_MPEG4_AVC || + codec == PIPE_VIDEO_FORMAT_MPEG12) && + firmware_present(pscreen, codec); case PIPE_VIDEO_CAP_NPOT_TEXTURES: return 1; case PIPE_VIDEO_CAP_MAX_WIDTH:...
2013 Dec 07
0
[PATCH] nv50: enable MPEG-4 for NVA3+ (VP4.0)
...uveau_vp3_screen_get_video_param(struct pipe_screen *pscreen, enum pipe_video_format codec = u_reduce_video_profile(profile); switch (param) { case PIPE_VIDEO_CAP_SUPPORTED: - /* For now, mpeg4 doesn't work on pre-nvc0. */ - if (chipset < 0xc0) - return codec == PIPE_VIDEO_FORMAT_MPEG12 || - codec == PIPE_VIDEO_FORMAT_VC1 || - codec == PIPE_VIDEO_FORMAT_MPEG4_AVC; /* In the general case, this should work, once the pre-nvc0 problems are * resolved. */ return profile >= PIPE_VIDEO_PROFILE_MPEG1 && ( -- 1.8.4.2
2013 Dec 07
1
[PATCH] nv50: enable MPEG-4 for NVA3+ (VP4.0)
...am(struct pipe_screen *pscreen, > enum pipe_video_format codec = u_reduce_video_profile(profile); > switch (param) { > case PIPE_VIDEO_CAP_SUPPORTED: > - /* For now, mpeg4 doesn't work on pre-nvc0. */ > - if (chipset < 0xc0) > - return codec == PIPE_VIDEO_FORMAT_MPEG12 || > - codec == PIPE_VIDEO_FORMAT_VC1 || > - codec == PIPE_VIDEO_FORMAT_MPEG4_AVC; > /* In the general case, this should work, once the pre-nvc0 problems are > * resolved. */ Update this comment to reflect reality. Or just remove it. With that chan...
2013 Dec 08
2
[PATCH 1/3] nv50: enable h264 and mpeg4 for nv98+ (vp3, vp4.0)
...p3_screen_get_video_param(struct pipe_screen *pscreen, enum pipe_video_format codec = u_reduce_video_profile(profile); switch (param) { case PIPE_VIDEO_CAP_SUPPORTED: - /* For now, h264 and mpeg4 don't work on pre-nvc0. */ - if (chipset < 0xc0) - return codec == PIPE_VIDEO_FORMAT_MPEG12 || - codec == PIPE_VIDEO_FORMAT_VC1; - /* In the general case, this should work, once the pre-nvc0 problems are - * resolved. */ + /* VP3 does not support MPEG4, VP4+ do. */ return profile >= PIPE_VIDEO_PROFILE_MPEG1 && ( !vp3 || codec != PI...