Displaying 4 results from an estimated 4 matches for "pipe_video_format_vc1".
2013 Dec 07
3
[PATCH] nv50: enable H.264 for NV98+ (VP3, VP4.0)
...file(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_MPEG1 && (
diff --git a/src/gallium/driver...
2013 Dec 07
0
[PATCH] nv50: enable MPEG-4 for NVA3+ (VP4.0)
...n *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)
...o_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 change,
Reviewed-by: Ilia Mirkin <imirkin at alum.mi...
2013 Dec 08
2
[PATCH 1/3] nv50: enable h264 and mpeg4 for nv98+ (vp3, vp4.0)
...een,
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 != PIPE_VIDEO_FORMAT_MPEG4);
case PIPE_VIDEO_CAP...