getid3_quicktime::QuicktimeColorNameLookup() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = getid3_quicktime::QuicktimeColorNameLookup( $colordepthid );

Parameters

$colordepthid
( int ) required

Returns

string

Source

File name: wordpress/wp-includes/ID3/module.audio-video.quicktime.php
Lines:

1 to 17 of 17
  public function QuicktimeColorNameLookup($colordepthid) {
    static $QuicktimeColorNameLookup = array();
    if (empty($QuicktimeColorNameLookup)) {
      $QuicktimeColorNameLookup[1]  = '2-color (monochrome)';
      $QuicktimeColorNameLookup[2]  = '4-color';
      $QuicktimeColorNameLookup[4]  = '16-color';
      $QuicktimeColorNameLookup[8]  = '256-color';
      $QuicktimeColorNameLookup[16] = 'thousands (16-bit color)';
      $QuicktimeColorNameLookup[24] = 'millions (24-bit color)';
      $QuicktimeColorNameLookup[32] = 'millions+ (32-bit color)';
      $QuicktimeColorNameLookup[33] = 'black & white';
      $QuicktimeColorNameLookup[34] = '4-gray';
      $QuicktimeColorNameLookup[36] = '16-gray';
      $QuicktimeColorNameLookup[40] = '256-gray';
    }
    return (isset($QuicktimeColorNameLookup[$colordepthid]) ? $QuicktimeColorNameLookup[$colordepthid] : 'invalid');
  }
 

 View on GitHub View on Trac