Lines Matching refs:info

32 		$info = &$this->getid3->info;
34 $info['fileformat'] = 'gif';
35 $info['video']['dataformat'] = 'gif';
36 $info['video']['lossless'] = true;
37 $info['video']['pixel_aspect_ratio'] = (float) 1;
39 $this->fseek($info['avdataoffset']);
43 …$info['gif']['header']['raw']['identifier'] = substr($GIFh…
47 if ($info['gif']['header']['raw']['identifier'] != $magic) {
48 …_lib::PrintHexBytes($magic).'" at offset '.$info['avdataoffset'].', found "'.getid3_lib::PrintHexB…
49 unset($info['fileformat']);
50 unset($info['gif']);
58 …$info['gif']['header']['raw']['version'] = substr($GIFh…
60 …$info['gif']['header']['raw']['width'] = getid3_lib::LittleEndian2Int(substr($GIFh…
62 …$info['gif']['header']['raw']['height'] = getid3_lib::LittleEndian2Int(substr($GIFh…
64 …$info['gif']['header']['raw']['flags'] = getid3_lib::LittleEndian2Int(substr($GIFh…
66 …$info['gif']['header']['raw']['bg_color_index'] = getid3_lib::LittleEndian2Int(substr($GIFh…
68 …$info['gif']['header']['raw']['aspect_ratio'] = getid3_lib::LittleEndian2Int(substr($GIFh…
71 $info['video']['resolution_x'] = $info['gif']['header']['raw']['width'];
72 $info['video']['resolution_y'] = $info['gif']['header']['raw']['height'];
73 $info['gif']['version'] = $info['gif']['header']['raw']['version'];
74 …$info['gif']['header']['flags']['global_color_table'] = (bool) ($info['gif']['header']['raw']['fl…
75 if ($info['gif']['header']['raw']['flags'] & 0x80) {
77 …$info['gif']['header']['bits_per_pixel'] = 3 * ((($info['gif']['header']['raw']['flags'] & 0x70) …
79 $info['gif']['header']['bits_per_pixel'] = 0;
81 …$info['gif']['header']['flags']['global_color_sorted'] = (bool) ($info['gif']['header']['raw']['fl…
82 if ($info['gif']['header']['flags']['global_color_table']) {
85 …$info['gif']['header']['global_color_size'] = pow(2, ($info['gif']['header']['raw']['flags'] & 0x0…
86 … $info['video']['bits_per_sample'] = ($info['gif']['header']['raw']['flags'] & 0x07) + 1;
88 $info['gif']['header']['global_color_size'] = 0;
90 if ($info['gif']['header']['raw']['aspect_ratio'] != 0) {
92 …$info['gif']['header']['aspect_ratio'] = ($info['gif']['header']['raw']['aspect_ratio'] + 15) / 64;
95 if ($info['gif']['header']['flags']['global_color_table']) {
96 $GIFcolorTable = $this->fread(3 * $info['gif']['header']['global_color_size']);
99 for ($i = 0; $i < $info['gif']['header']['global_color_size']; $i++) {
103 $info['gif']['global_color_table'][$i] = (($red << 16) | ($green << 8) | ($blue));
104 $info['gif']['global_color_table_rgb'][$i] = sprintf('%02X%02X%02X', $red, $green, $blue);
110 $info['gif']['animation']['animated'] = false;
174 $info['gif']['animation']['animated'] = true;
175 …$info['gif']['animation']['loop_count'] = getid3_lib::LittleEndian2Int(substr($ExtensionBlock['dat…
182 $info['gif']['extension_blocks'][] = $ExtensionBlock;
187 $info['gif']['terminator_offset'] = $this->ftell() - 1;