h264decoder: Rename some internals

No more a part of d3d11 implementation
This commit is contained in:
Seungha Yang 2020-03-05 14:40:28 +09:00 committed by GStreamer Merge Bot
parent f487648b03
commit fdf06fa363

View file

@ -1598,11 +1598,11 @@ typedef enum
GST_H264_LEVEL_L6 = 60,
GST_H264_LEVEL_L6_1 = 61,
GST_H264_LEVEL_L6_2 = 62,
} GstD3D11H264Level;
} GstH264DecoderLevel;
typedef struct
{
GstD3D11H264Level level;
GstH264DecoderLevel level;
guint32 max_mbps;
guint32 max_fs;
@ -1634,7 +1634,7 @@ static const LevelLimits level_limits_map[] = {
};
static gint
h264_level_to_max_dpb_mbs (GstD3D11H264Level level)
h264_level_to_max_dpb_mbs (GstH264DecoderLevel level)
{
gint i;
for (i = 0; i < G_N_ELEMENTS (level_limits_map); i++) {
@ -1672,7 +1672,7 @@ gst_h264_decoder_process_sps (GstH264Decoder * self, GstH264SPS * sps)
level = 9;
}
max_dpb_mbs = h264_level_to_max_dpb_mbs ((GstD3D11H264Level) level);
max_dpb_mbs = h264_level_to_max_dpb_mbs ((GstH264DecoderLevel) level);
if (!max_dpb_mbs)
return FALSE;