Mercurial > libavcodec.hg
comparison h264.h @ 8972:eaf39f9b25df libavcodec
Parse buffering period (H.264, D.1.1).
Patch by Ivan Schreter, schreter gmx net
author | cehoyos |
---|---|
date | Wed, 18 Feb 2009 23:33:30 +0000 |
parents | 9757b2f87d83 |
children | e65778184ded |
comparison
equal
deleted
inserted
replaced
8971:734114ba02fa | 8972:eaf39f9b25df |
---|---|
113 | 113 |
114 /** | 114 /** |
115 * SEI message types | 115 * SEI message types |
116 */ | 116 */ |
117 typedef enum { | 117 typedef enum { |
118 SEI_BUFFERING_PERIOD = 0, ///< buffering period (H.264, D.1.1) | |
118 SEI_TYPE_PIC_TIMING = 1, ///< picture timing | 119 SEI_TYPE_PIC_TIMING = 1, ///< picture timing |
119 SEI_TYPE_USER_DATA_UNREGISTERED = 5, ///< unregistered user data | 120 SEI_TYPE_USER_DATA_UNREGISTERED = 5, ///< unregistered user data |
120 SEI_TYPE_RECOVERY_POINT = 6 ///< recovery point (frame # to decoder sync) | 121 SEI_TYPE_RECOVERY_POINT = 6 ///< recovery point (frame # to decoder sync) |
121 } SEI_Type; | 122 } SEI_Type; |
122 | 123 |
523 | 524 |
524 int is_complex; | 525 int is_complex; |
525 | 526 |
526 int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag | 527 int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag |
527 int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag | 528 int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag |
529 | |
530 // Timestamp stuff | |
531 int sei_buffering_period_present; ///< Buffering period SEI flag | |
532 int initial_cpb_removal_delay[32]; ///< Initial timestamps for CPBs | |
528 }H264Context; | 533 }H264Context; |
529 | 534 |
530 #endif /* AVCODEC_H264_H */ | 535 #endif /* AVCODEC_H264_H */ |