codecs: h264decoder: Add util macro for frame/field picture identification
authorSeungha Yang <seungha@centricular.com>
Sun, 15 Nov 2020 15:27:28 +0000 (00:27 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 16 Nov 2020 14:25:36 +0000 (14:25 +0000)
commit7b42b1f9fb49d70f40d0aaa8eb0a2551e15c44a2
treef0addee5942e69d7165d72ca28b9f807e7e01c8d
parenta516c79ac998c15993655bcb595e6acde82283d1
codecs: h264decoder: Add util macro for frame/field picture identification

Add a macro to check whether given GstH264Picture is for frame or field
decoding.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1810>
gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth264picture.c
gst-libs/gst/codecs/gsth264picture.h