mpgvid.h
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:2k
源码类别:

DVD

开发平台:

C/C++

  1. #ifndef __MPEGSTR_H
  2. #define __MPEGSTR_H
  3. #ifndef EXTERN
  4. #ifdef GLOBAL_HERE
  5. #define EXTERN
  6. #else
  7. #define EXTERN extern
  8. #endif
  9. #endif
  10. EXTERN const   char    *profile_str[]
  11. #ifdef GLOBAL_HERE
  12.  = {
  13.   "reserved",
  14.   "High",
  15.   "Spatially scalable",
  16.   "SNR scalable",
  17.   "Main",
  18.   "Simple",
  19.   "reserved", "reserved"
  20. }
  21. #endif
  22. ;
  23. /*
  24. ** see 13818-2 table 8-3: Level identification
  25. */
  26. EXTERN  const   char    *level_str[]
  27. #ifdef GLOBAL_HERE
  28.  = {
  29.   "reserved", "reserved", "reserved", "reserved",
  30.   "High",
  31.   "reserved",
  32.   "High 1440",
  33.   "reserved",
  34.   "Main",
  35.   "reserved",
  36.   "Low",
  37.   "reserved",
  38.   "reserved", "reserved", "reserved", "reserved"
  39. }
  40. #endif
  41. ;
  42. /*
  43. ** see 13818-2 table 6-4: frame_rate_value
  44. */
  45. EXTERN  const   char    *frame_rate_code_str[] 
  46. #ifdef GLOBAL_HERE
  47. = {
  48.   "forbidden",
  49.   "24,000/1001(23.976..)",
  50.   "24",
  51.   "25",
  52.   "30,000/1001(29.97..)",
  53.   "30",
  54.   "50",
  55.   "60",
  56.   "60,000/1001(59.94..)",
  57.   "60",
  58.   "reserved","reserved","reserved","reserved","reserved","reserved"
  59. }
  60. #endif
  61. ;
  62. /*
  63. ** see 13818-2 table 6-12: picture_coding_type
  64. */
  65. EXTERN  const   char    *picture_coding_type_str[]
  66. #ifdef GLOBAL_HERE
  67. = {
  68.   "forbidden-pic-code-type",
  69.   "I-pic",
  70.   "P-pic",
  71.   "B-pic",
  72.   "D-pic",
  73.   "reserved",
  74.   "reserved",
  75.   "reserved"
  76. }
  77. #endif
  78. ;
  79. /*
  80. ** see 13818-2 table 6-14: Meaning of picture_structure
  81. */
  82. EXTERN  const   char    *picture_structure_str[] 
  83. #ifdef GLOBAL_HERE
  84. = {
  85.   "reserved",
  86.   "top_field",
  87.   "bottom_field",
  88.   "frame_pic",
  89. }
  90. #endif
  91. ;
  92. #endif/*__MPEGSTR_H*/