WordPress at a glance
function is not described

getid3_ogg::TheoraPixelFormat() public WP 1.0

{} It's a method of the class: getid3_ogg{}

No Hooks.

Return

String|null. Nothing.

Usage

$result = getid3_ogg::TheoraPixelFormat( $pixelformat_id );
$pixelformat_id(int) (required)
-

Code of getid3_ogg::TheoraPixelFormat() WP 5.7.2

<?php
public static function TheoraPixelFormat($pixelformat_id) {
	// http://www.theora.org/doc/Theora.pdf (table 6.4)
	static $TheoraPixelFormatLookup = array();
	if (empty($TheoraPixelFormatLookup)) {
		$TheoraPixelFormatLookup[0] = '4:2:0';
		$TheoraPixelFormatLookup[1] = 'Reserved';
		$TheoraPixelFormatLookup[2] = '4:2:2';
		$TheoraPixelFormatLookup[3] = '4:4:4';
	}
	return (isset($TheoraPixelFormatLookup[$pixelformat_id]) ? $TheoraPixelFormatLookup[$pixelformat_id] : null);
}