mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
omxh264: sync with supported profiles on zynqultrascaleplus
Add extra supported AVC profiles and remove extended and 4:4:4 profiles which are actually not implemented. https://bugzilla.gnome.org/show_bug.cgi?id=794177
This commit is contained in:
parent
7242d0a2e2
commit
83e580bd6b
1 changed files with 15 additions and 2 deletions
|
@ -32,13 +32,26 @@ typedef struct
|
||||||
|
|
||||||
static const H264ProfileMapping h264_profiles[] = {
|
static const H264ProfileMapping h264_profiles[] = {
|
||||||
{"baseline", OMX_VIDEO_AVCProfileBaseline},
|
{"baseline", OMX_VIDEO_AVCProfileBaseline},
|
||||||
|
#ifdef USE_OMX_TARGET_ZYNQ_USCALE_PLUS
|
||||||
|
{"constrained-baseline",
|
||||||
|
(OMX_VIDEO_AVCPROFILETYPE) OMX_ALG_VIDEO_AVCProfileConstrainedBaseline},
|
||||||
|
#else
|
||||||
{"constrained-baseline", OMX_VIDEO_AVCProfileBaseline},
|
{"constrained-baseline", OMX_VIDEO_AVCProfileBaseline},
|
||||||
|
#endif
|
||||||
{"main", OMX_VIDEO_AVCProfileMain},
|
{"main", OMX_VIDEO_AVCProfileMain},
|
||||||
{"extended", OMX_VIDEO_AVCProfileExtended},
|
|
||||||
{"high", OMX_VIDEO_AVCProfileHigh},
|
{"high", OMX_VIDEO_AVCProfileHigh},
|
||||||
{"high-10", OMX_VIDEO_AVCProfileHigh10},
|
{"high-10", OMX_VIDEO_AVCProfileHigh10},
|
||||||
{"high-4:2:2", OMX_VIDEO_AVCProfileHigh422},
|
{"high-4:2:2", OMX_VIDEO_AVCProfileHigh422},
|
||||||
{"high-4:4:4", OMX_VIDEO_AVCProfileHigh444},
|
#ifdef USE_OMX_TARGET_ZYNQ_USCALE_PLUS
|
||||||
|
{"progressive-high",
|
||||||
|
(OMX_VIDEO_AVCPROFILETYPE) OMX_ALG_VIDEO_AVCProfileProgressiveHigh},
|
||||||
|
{"constrained-high",
|
||||||
|
(OMX_VIDEO_AVCPROFILETYPE) OMX_ALG_VIDEO_AVCProfileConstrainedHigh},
|
||||||
|
{"high-10-intra",
|
||||||
|
(OMX_VIDEO_AVCPROFILETYPE) OMX_ALG_VIDEO_AVCProfileHigh10_Intra},
|
||||||
|
{"high-4:2:2-intra",
|
||||||
|
(OMX_VIDEO_AVCPROFILETYPE) OMX_ALG_VIDEO_AVCProfileHigh422_Intra},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
OMX_VIDEO_AVCPROFILETYPE
|
OMX_VIDEO_AVCPROFILETYPE
|
||||||
|
|
Loading…
Reference in a new issue