getid3_quicktime::QuicktimeIODSvideoProfileName() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = getid3_quicktime::QuicktimeIODSvideoProfileName( $video_profile_id );

Parameters

$video_profile_id
( int ) required

Returns

string

Source

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

1 to 70 of 70
  public function QuicktimeIODSvideoProfileName($video_profile_id) {
    static $QuicktimeIODSvideoProfileNameLookup = array();
    if (empty($QuicktimeIODSvideoProfileNameLookup)) {
      $QuicktimeIODSvideoProfileNameLookup = array(
        0x00 => 'Reserved (0x00) Profile',
        0x01 => 'Simple Profile @ Level 1',
        0x02 => 'Simple Profile @ Level 2',
        0x03 => 'Simple Profile @ Level 3',
        0x08 => 'Simple Profile @ Level 0',
        0x10 => 'Simple Scalable Profile @ Level 0',
        0x11 => 'Simple Scalable Profile @ Level 1',
        0x12 => 'Simple Scalable Profile @ Level 2',
        0x15 => 'AVC/H264 Profile',
        0x21 => 'Core Profile @ Level 1',
        0x22 => 'Core Profile @ Level 2',
        0x32 => 'Main Profile @ Level 2',
        0x33 => 'Main Profile @ Level 3',
        0x34 => 'Main Profile @ Level 4',
        0x42 => 'N-bit Profile @ Level 2',
        0x51 => 'Scalable Texture Profile @ Level 1',
        0x61 => 'Simple Face Animation Profile @ Level 1',
        0x62 => 'Simple Face Animation Profile @ Level 2',
        0x63 => 'Simple FBA Profile @ Level 1',
        0x64 => 'Simple FBA Profile @ Level 2',
        0x71 => 'Basic Animated Texture Profile @ Level 1',
        0x72 => 'Basic Animated Texture Profile @ Level 2',
        0x81 => 'Hybrid Profile @ Level 1',
        0x82 => 'Hybrid Profile @ Level 2',
        0x91 => 'Advanced Real Time Simple Profile @ Level 1',
        0x92 => 'Advanced Real Time Simple Profile @ Level 2',
        0x93 => 'Advanced Real Time Simple Profile @ Level 3',
        0x94 => 'Advanced Real Time Simple Profile @ Level 4',
        0xA1 => 'Core Scalable Profile @ Level1',
        0xA2 => 'Core Scalable Profile @ Level2',
        0xA3 => 'Core Scalable Profile @ Level3',
        0xB1 => 'Advanced Coding Efficiency Profile @ Level 1',
        0xB2 => 'Advanced Coding Efficiency Profile @ Level 2',
        0xB3 => 'Advanced Coding Efficiency Profile @ Level 3',
        0xB4 => 'Advanced Coding Efficiency Profile @ Level 4',
        0xC1 => 'Advanced Core Profile @ Level 1',
        0xC2 => 'Advanced Core Profile @ Level 2',
        0xD1 => 'Advanced Scalable Texture @ Level1',
        0xD2 => 'Advanced Scalable Texture @ Level2',
        0xE1 => 'Simple Studio Profile @ Level 1',
        0xE2 => 'Simple Studio Profile @ Level 2',
        0xE3 => 'Simple Studio Profile @ Level 3',
        0xE4 => 'Simple Studio Profile @ Level 4',
        0xE5 => 'Core Studio Profile @ Level 1',
        0xE6 => 'Core Studio Profile @ Level 2',
        0xE7 => 'Core Studio Profile @ Level 3',
        0xE8 => 'Core Studio Profile @ Level 4',
        0xF0 => 'Advanced Simple Profile @ Level 0',
        0xF1 => 'Advanced Simple Profile @ Level 1',
        0xF2 => 'Advanced Simple Profile @ Level 2',
        0xF3 => 'Advanced Simple Profile @ Level 3',
        0xF4 => 'Advanced Simple Profile @ Level 4',
        0xF5 => 'Advanced Simple Profile @ Level 5',
        0xF7 => 'Advanced Simple Profile @ Level 3b',
        0xF8 => 'Fine Granularity Scalable Profile @ Level 0',
        0xF9 => 'Fine Granularity Scalable Profile @ Level 1',
        0xFA => 'Fine Granularity Scalable Profile @ Level 2',
        0xFB => 'Fine Granularity Scalable Profile @ Level 3',
        0xFC => 'Fine Granularity Scalable Profile @ Level 4',
        0xFD => 'Fine Granularity Scalable Profile @ Level 5',
        0xFE => 'Not part of MPEG-4 Visual profiles',
        0xFF => 'No visual capability required',
      );
    }
    return (isset($QuicktimeIODSvideoProfileNameLookup[$video_profile_id]) ? $QuicktimeIODSvideoProfileNameLookup[$video_profile_id] : 'ISO Reserved Profile');
  }
 

 View on GitHub View on Trac