getid3_ogg::TheoraColorSpace

Advertisement

Syntax Syntax

getid3_ogg::TheoraColorSpace( int $colorspace_id )

Parameters Parameters

$colorspace_id

(Required)

Return Return

(string|null)

Source Source

File: wp-includes/ID3/module.audio.ogg.php

	 * @return string|null
	 */
	public static function TheoraColorSpace($colorspace_id) {
		// http://www.theora.org/doc/Theora.pdf (table 6.3)
		static $TheoraColorSpaceLookup = array();
		if (empty($TheoraColorSpaceLookup)) {
			$TheoraColorSpaceLookup[0] = 'Undefined';
			$TheoraColorSpaceLookup[1] = 'Rec. 470M';
			$TheoraColorSpaceLookup[2] = 'Rec. 470BG';
			$TheoraColorSpaceLookup[3] = 'Reserved';
		}

Advertisement

Advertisement

Leave a Reply