mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
vah265dec: Don't need to pass picture structure to VA
This code came from gstvaapidecoder_h265 implementation but picture structure is always GST_VAAPI_PICTURE_STRUCTURE_FRAME. Moreover, in theory, VA doesn't need to know picture structure for decoding HEVC stream. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2008>
This commit is contained in:
parent
ce8d7b83d5
commit
b00b1654f3
1 changed files with 0 additions and 14 deletions
|
@ -193,20 +193,6 @@ _fill_vaapi_pic (GstH265Decoder * decoder, VAPictureHEVC * va_picture,
|
|||
va_picture->flags |= VA_PICTURE_HEVC_LONG_TERM_REFERENCE;
|
||||
|
||||
va_picture->flags |= _find_frame_rps_type (decoder, picture);
|
||||
|
||||
switch (picture->field) {
|
||||
case GST_H265_PICTURE_FIELD_FRAME:
|
||||
break;
|
||||
case GST_H265_PICTURE_FILED_TOP_FIELD:
|
||||
va_picture->flags |= VA_PICTURE_HEVC_FIELD_PIC;
|
||||
break;
|
||||
case GST_H265_PICTURE_FIELD_BOTTOM_FIELD:
|
||||
va_picture->flags |= VA_PICTURE_HEVC_FIELD_PIC;
|
||||
va_picture->flags |= VA_PICTURE_HEVC_BOTTOM_FIELD;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static guint8
|
||||
|
|
Loading…
Reference in a new issue