d3d12: Video Encode - Remove PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE as not supported
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26223>
This commit is contained in:
@@ -974,7 +974,6 @@ d3d12_video_encoder_convert_profile_to_d3d12_enc_profile_h264(enum pipe_video_pr
|
|||||||
{
|
{
|
||||||
switch (profile) {
|
switch (profile) {
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE:
|
case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE:
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
|
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
|
case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
|
||||||
{
|
{
|
||||||
return D3D12_VIDEO_ENCODER_PROFILE_H264_MAIN;
|
return D3D12_VIDEO_ENCODER_PROFILE_H264_MAIN;
|
||||||
|
|||||||
@@ -805,7 +805,6 @@ d3d12_has_video_encode_support(struct pipe_screen *pscreen,
|
|||||||
bool supportsProfile = false;
|
bool supportsProfile = false;
|
||||||
switch (profile) {
|
switch (profile) {
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE:
|
case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE:
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
|
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
|
case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH:
|
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH:
|
||||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH10:
|
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH10:
|
||||||
|
|||||||
Reference in New Issue
Block a user