| @@ 722-728 (lines=7) @@ | ||
| 719 | break; |
|
| 720 | ||
| 721 | ||
| 722 | case 'rmdr': // Reference Movie Data Rate atom |
|
| 723 | $atom_structure['version'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 1)); |
|
| 724 | $atom_structure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 1, 3)); // hardcoded: 0x0000 |
|
| 725 | $atom_structure['data_rate'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 4)); |
|
| 726 | ||
| 727 | $atom_structure['data_rate_bps'] = $atom_structure['data_rate'] * 10; |
|
| 728 | break; |
|
| 729 | ||
| 730 | ||
| 731 | case 'rmla': // Reference Movie Language Atom |
|
| @@ 1158-1163 (lines=6) @@ | ||
| 1155 | break; |
|
| 1156 | ||
| 1157 | ||
| 1158 | case 'smhd': // Sound Media information HeaDer atom |
|
| 1159 | $atom_structure['version'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 1)); |
|
| 1160 | $atom_structure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 1, 3)); // hardcoded: 0x0000 |
|
| 1161 | $atom_structure['balance'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 2)); |
|
| 1162 | $atom_structure['reserved'] = getid3_lib::BigEndian2Int(substr($atom_data, 6, 2)); |
|
| 1163 | break; |
|
| 1164 | ||
| 1165 | ||
| 1166 | case 'vmhd': // Video Media information HeaDer atom |
|
| @@ 145-149 (lines=5) @@ | ||
| 142 | $thisfile_png_chunk_type_text['transparent_color_gray'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 0, 2)); |
|
| 143 | break; |
|
| 144 | ||
| 145 | case 2: |
|
| 146 | $thisfile_png_chunk_type_text['transparent_color_red'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 0, 2)); |
|
| 147 | $thisfile_png_chunk_type_text['transparent_color_green'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 2, 2)); |
|
| 148 | $thisfile_png_chunk_type_text['transparent_color_blue'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 4, 2)); |
|
| 149 | break; |
|
| 150 | ||
| 151 | case 3: |
|
| 152 | for ($i = 0; $i < strlen($chunk['data']); $i++) { |
|
| @@ 316-320 (lines=5) @@ | ||
| 313 | break; |
|
| 314 | ||
| 315 | case 2: |
|
| 316 | case 3: |
|
| 317 | $thisfile_png_chunk_type_text['significant_bits_red'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 0, 1)); |
|
| 318 | $thisfile_png_chunk_type_text['significant_bits_green'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 1, 1)); |
|
| 319 | $thisfile_png_chunk_type_text['significant_bits_blue'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 2, 1)); |
|
| 320 | break; |
|
| 321 | ||
| 322 | case 4: |
|
| 323 | $thisfile_png_chunk_type_text['significant_bits_gray'] = getid3_lib::BigEndian2Int(substr($chunk['data'], 0, 1)); |
|