search for: pipe_video_format_mpeg4_avc

Displaying 4 results from an estimated 4 matches for "pipe_video_format_mpeg4_avc".

2014 Feb 05
2
[PATCH] nouveau/video: make sure that firmware is present when checking caps
...{ + nouveau_object_new(screen->channel, 0, 0x7476, NULL, 0, &obj); + if (obj) + screen->firmware_info.profiles_present |= FIRMWARE_VP_KERN; + nouveau_object_del(&obj); + screen->firmware_info.profiles_checked |= FIRMWARE_VP_KERN; + } + + if (codec == PIPE_VIDEO_FORMAT_MPEG4_AVC) { + if (!FIRMWARE_PRESENT(checked, BSP_KERN)) { + nouveau_object_new(screen->channel, 0, 0x74b0, NULL, 0, &obj); + if (obj) + screen->firmware_info.profiles_present |= FIRMWARE_BSP_KERN; + nouveau_object_del(&obj); + screen->firmware...
2013 Dec 07
3
[PATCH] nv50: enable H.264 for NV98+ (VP3, VP4.0)
...64 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/drivers/nouveau/nv50/nv98_video.c b/src/gallium/drivers/nouveau/nv50/nv98_video.c index 069481d..f748c81...
2013 Dec 07
0
[PATCH] nv50: enable MPEG-4 for NVA3+ (VP4.0)
...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)
...t; 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.mit.edu> Or I can fold this into my h264 change if you d...