vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Feb  4 
11:01:24 2015 +0100| [1fa9becf557db5ef738fb0c85f58451d18aa201d] | committer: 
Jean-Baptiste Kempf

Define H264 profiles numbers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1fa9becf557db5ef738fb0c85f58451d18aa201d
---

 modules/codec/h264_nal.h |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/modules/codec/h264_nal.h b/modules/codec/h264_nal.h
index f39e28b..7028fcf 100644
--- a/modules/codec/h264_nal.h
+++ b/modules/codec/h264_nal.h
@@ -28,6 +28,21 @@
 # include <vlc_common.h>
 # include <vlc_codec.h>
 
+#define PROFILE_H264_BASELINE             66
+#define PROFILE_H264_MAIN                 77
+#define PROFILE_H264_EXTENDED             88
+#define PROFILE_H264_HIGH                 100
+#define PROFILE_H264_HIGH_10              110
+#define PROFILE_H264_HIGH_422             122
+#define PROFILE_H264_HIGH_444             144
+#define PROFILE_H264_HIGH_444_PREDICTIVE  244
+
+#define PROFILE_H264_CAVLC_INTRA          44
+#define PROFILE_H264_SVC_BASELINE         83
+#define PROFILE_H264_SVC_HIGH             86
+#define PROFILE_H264_MVC_STEREO_HIGH      128
+#define PROFILE_H264_MVC_MULTIVIEW_HIGH   118
+
 /* Parse the SPS/PPS Metadata and convert it to annex b format */
 int convert_sps_pps( decoder_t *p_dec, const uint8_t *p_buf,
                      uint32_t i_buf_size, uint8_t *p_out_buf,

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to