Changeset 208

Show
Ignore:
Timestamp:
12/20/06 11:37:25 (2 years ago)
Author:
dconrad
Message:

More fourccs for VP6, H.264, and I.263

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/FFusionCodec.c

    r207 r208  
    464464                        case 'X264': 
    465465                        case 'x264': 
     466                        case 'AVC1': 
    466467                        case 'DAVC': 
    467468                        case 'VSSH': 
     
    474475                                glob->avCodec = avcodec_find_decoder(CODEC_ID_FLASHSV); 
    475476                                break; 
     477                        case 'VP60': 
     478                        case 'VP61': 
    476479                        case 'VP62': 
    477480                                glob->avCodec = avcodec_find_decoder(CODEC_ID_VP6); 
     
    481484                                break; 
    482485                        case 'I263': 
     486                        case 'i263': 
    483487                                glob->avCodec = avcodec_find_decoder(CODEC_ID_H263I); 
    484488                                break; 
     
    11591163                        case 'X264': 
    11601164                        case 'x264': 
     1165                        case 'AVC1': 
    11611166                        case 'DAVC': 
    11621167                        case 'VSSH': 
     
    11711176                                err = GetComponentResource((Component)glob->self, codecInfoResourceType, kFlashSVCodecInfoResID, (Handle *)&tempCodecInfo); 
    11721177                                break; 
    1173                                  
     1178                         
     1179                        case 'VP60': 
     1180                        case 'VP61': 
    11741181                        case 'VP62': 
    11751182                        case 'VP6F': 
     
    11781185                                 
    11791186                        case 'I263': 
     1187                        case 'i263': 
    11801188                                err = GetComponentResource((Component)glob->self, codecInfoResourceType, kI263CodecInfoResID, (Handle *)&tempCodecInfo); 
    11811189                                break; 
  • trunk/FFusionCodec.r

    r154 r208  
    21092109resource 'thng' (310) { 
    21102110        decompressorComponentType,              // Type                  
    2111         'FLV1',                                       // SubType 
    2112         kFFusionCodecManufacturer,                      // Manufacturer 
    2113         0,                                      // - use componentHasMultiplePlatforms 
    2114         0, 
    2115         0, 
    2116         0, 
    2117         'STR ',                                 // Name Type 
    2118         kFLV1NameResID,                       // Name ID 
    2119         'STR ',                                 // Info Type 
    2120         kFLV1InfoResID,                       // Info ID 
     2111        'AVC1',                                       // SubType 
     2112        kFFusionCodecManufacturer,                      // Manufacturer 
     2113        0,                                      // - use componentHasMultiplePlatforms 
     2114        0, 
     2115        0, 
     2116        0, 
     2117        'STR ',                                 // Name Type 
     2118        kH264NameResID,                       // Name ID 
     2119        'STR ',                                 // Info Type 
     2120        kH264InfoResID,                       // Info ID 
    21212121        0,                                      // Icon Type 
    21222122        0,                                      // Icon ID 
     
    21392139resource 'thng' (311) { 
    21402140        decompressorComponentType,              // Type                  
    2141         'FSV1',                                       // SubType 
    2142         kFFusionCodecManufacturer,                      // Manufacturer 
    2143         0,                                      // - use componentHasMultiplePlatforms 
    2144         0, 
    2145         0, 
    2146         0, 
    2147         'STR ',                                 // Name Type 
    2148         kFlashSVNameResID,                    // Name ID 
    2149         'STR ',                                 // Info Type 
    2150         kFlashSVInfoResID,                    // Info ID 
     2141        'FLV1',                                       // SubType 
     2142        kFFusionCodecManufacturer,                      // Manufacturer 
     2143        0,                                      // - use componentHasMultiplePlatforms 
     2144        0, 
     2145        0, 
     2146        0, 
     2147        'STR ',                                 // Name Type 
     2148        kFLV1NameResID,                       // Name ID 
     2149        'STR ',                                 // Info Type 
     2150        kFLV1InfoResID,                       // Info ID 
    21512151        0,                                      // Icon Type 
    21522152        0,                                      // Icon ID 
     
    21692169resource 'thng' (312) { 
    21702170        decompressorComponentType,              // Type                  
    2171         'VP62',                                       // SubType 
    2172         kFFusionCodecManufacturer,                      // Manufacturer 
    2173         0,                                      // - use componentHasMultiplePlatforms 
    2174         0, 
    2175         0, 
    2176         0, 
    2177         'STR ',                                 // Name Type 
    2178         kVP6NameResID,                        // Name ID 
    2179         'STR ',                                 // Info Type 
    2180         kVP6InfoResID,                        // Info ID 
     2171        'FSV1',                                       // SubType 
     2172        kFFusionCodecManufacturer,                      // Manufacturer 
     2173        0,                                      // - use componentHasMultiplePlatforms 
     2174        0, 
     2175        0, 
     2176        0, 
     2177        'STR ',                                 // Name Type 
     2178        kFlashSVNameResID,                    // Name ID 
     2179        'STR ',                                 // Info Type 
     2180        kFlashSVInfoResID,                    // Info ID 
    21812181        0,                                      // Icon Type 
    21822182        0,                                      // Icon ID 
     
    21992199resource 'thng' (313) { 
    22002200        decompressorComponentType,              // Type                  
    2201         'VP6F',                                       // SubType 
     2201        'VP60',                                       // SubType 
    22022202        kFFusionCodecManufacturer,                      // Manufacturer 
    22032203        0,                                      // - use componentHasMultiplePlatforms 
     
    22292229resource 'thng' (314) { 
    22302230        decompressorComponentType,              // Type                  
    2231         'I263',                                       // SubType 
    2232         kFFusionCodecManufacturer,                      // Manufacturer 
    2233         0,                                      // - use componentHasMultiplePlatforms 
    2234         0, 
    2235         0, 
    2236         0, 
    2237         'STR ',                                 // Name Type 
    2238         kI263NameResID,                       // Name ID 
    2239         'STR ',                                 // Info Type 
    2240         kI263InfoResID,                       // Info ID 
     2231        'VP61',                                       // SubType 
     2232        kFFusionCodecManufacturer,                      // Manufacturer 
     2233        0,                                      // - use componentHasMultiplePlatforms 
     2234        0, 
     2235        0, 
     2236        0, 
     2237        'STR ',                                 // Name Type 
     2238        kVP6NameResID,                        // Name ID 
     2239        'STR ',                                 // Info Type 
     2240        kVP6InfoResID,                        // Info ID 
    22412241        0,                                      // Icon Type 
    22422242        0,                                      // Icon ID 
     
    22592259resource 'thng' (315) { 
    22602260        decompressorComponentType,              // Type                  
    2261         'VP30',                                       // SubType 
    2262         kFFusionCodecManufacturer,                      // Manufacturer 
    2263         0,                                      // - use componentHasMultiplePlatforms 
    2264         0, 
    2265         0, 
    2266         0, 
    2267         'STR ',                                 // Name Type 
    2268         kVP3NameResID,                        // Name ID 
    2269         'STR ',                                 // Info Type 
    2270         kVP3InfoResID,                        // Info ID 
     2261        'VP62',                                       // SubType 
     2262        kFFusionCodecManufacturer,                      // Manufacturer 
     2263        0,                                      // - use componentHasMultiplePlatforms 
     2264        0, 
     2265        0, 
     2266        0, 
     2267        'STR ',                                 // Name Type 
     2268        kVP6NameResID,                        // Name ID 
     2269        'STR ',                                 // Info Type 
     2270        kVP6InfoResID,                        // Info ID 
    22712271        0,                                      // Icon Type 
    22722272        0,                                      // Icon ID 
     
    22892289resource 'thng' (316) { 
    22902290        decompressorComponentType,              // Type                  
    2291         'VP31',                                       // SubType 
    2292         kFFusionCodecManufacturer,                      // Manufacturer 
    2293         0,                                      // - use componentHasMultiplePlatforms 
    2294         0, 
    2295         0, 
    2296         0, 
    2297         'STR ',                                 // Name Type 
    2298         kVP3NameResID,                        // Name ID 
    2299         'STR ',                                 // Info Type 
    2300         kVP3InfoResID,                        // Info ID 
     2291        'VP6F',                                       // SubType 
     2292        kFFusionCodecManufacturer,                      // Manufacturer 
     2293        0,                                      // - use componentHasMultiplePlatforms 
     2294        0, 
     2295        0, 
     2296        0, 
     2297        'STR ',                                 // Name Type 
     2298        kVP6NameResID,                        // Name ID 
     2299        'STR ',                                 // Info Type 
     2300        kVP6InfoResID,                        // Info ID 
    23012301        0,                                      // Icon Type 
    23022302        0,                                      // Icon ID 
     
    23172317}; 
    23182318 
     2319resource 'thng' (317) { 
     2320        decompressorComponentType,              // Type                  
     2321        'I263',                                 // SubType 
     2322        kFFusionCodecManufacturer,                      // Manufacturer 
     2323        0,                                      // - use componentHasMultiplePlatforms 
     2324        0, 
     2325        0, 
     2326        0, 
     2327        'STR ',                                 // Name Type 
     2328        kI263NameResID,                 // Name ID 
     2329        'STR ',                                 // Info Type 
     2330        kI263InfoResID,                 // Info ID 
     2331        0,                                      // Icon Type 
     2332        0,                                      // Icon ID 
     2333        kFFusionCodecVersion,                   // Version 
     2334        componentHasMultiplePlatforms +         // Registration Flags  
     2335        componentDoAutoVersion,                 // Registration Flags 
     2336        0,                                      // Resource ID of Icon Family 
     2337{ 
     2338        kFFusionDecompressionFlags,  
     2339        'dlle',                         // Entry point found by symbol name 'dlle' resource 
     2340        256,                            // ID of 'dlle' resource 
     2341        platformPowerPCNativeEntryPoint, 
     2342        kFFusionDecompressionFlags, 
     2343        'dlle', 
     2344        256, 
     2345        platformIA32NativeEntryPoint, 
     2346}; 
     2347}; 
     2348 
     2349resource 'thng' (318) { 
     2350        decompressorComponentType,              // Type                  
     2351        'i263',                                 // SubType 
     2352        kFFusionCodecManufacturer,                      // Manufacturer 
     2353        0,                                      // - use componentHasMultiplePlatforms 
     2354        0, 
     2355        0, 
     2356        0, 
     2357        'STR ',                                 // Name Type 
     2358        kI263NameResID,                 // Name ID 
     2359        'STR ',                                 // Info Type 
     2360        kI263InfoResID,                 // Info ID 
     2361        0,                                      // Icon Type 
     2362        0,                                      // Icon ID 
     2363        kFFusionCodecVersion,                   // Version 
     2364        componentHasMultiplePlatforms +         // Registration Flags  
     2365        componentDoAutoVersion,                 // Registration Flags 
     2366        0,                                      // Resource ID of Icon Family 
     2367{ 
     2368        kFFusionDecompressionFlags,  
     2369        'dlle',                         // Entry point found by symbol name 'dlle' resource 
     2370        256,                            // ID of 'dlle' resource 
     2371        platformPowerPCNativeEntryPoint, 
     2372        kFFusionDecompressionFlags, 
     2373        'dlle', 
     2374        256, 
     2375        platformIA32NativeEntryPoint, 
     2376}; 
     2377}; 
     2378 
     2379resource 'thng' (319) { 
     2380        decompressorComponentType,              // Type                  
     2381        'VP30',                                 // SubType 
     2382        kFFusionCodecManufacturer,                      // Manufacturer 
     2383        0,                                      // - use componentHasMultiplePlatforms 
     2384        0, 
     2385        0, 
     2386        0, 
     2387        'STR ',                                 // Name Type 
     2388        kVP3NameResID,                  // Name ID 
     2389        'STR ',                                 // Info Type 
     2390        kVP3InfoResID,                  // Info ID 
     2391        0,                                      // Icon Type 
     2392        0,                                      // Icon ID 
     2393        kFFusionCodecVersion,                   // Version 
     2394        componentHasMultiplePlatforms +         // Registration Flags  
     2395        componentDoAutoVersion,                 // Registration Flags 
     2396        0,                                      // Resource ID of Icon Family 
     2397{ 
     2398        kFFusionDecompressionFlags,  
     2399        'dlle',                         // Entry point found by symbol name 'dlle' resource 
     2400        256,                            // ID of 'dlle' resource 
     2401        platformPowerPCNativeEntryPoint, 
     2402        kFFusionDecompressionFlags, 
     2403        'dlle', 
     2404        256, 
     2405        platformIA32NativeEntryPoint, 
     2406}; 
     2407}; 
     2408 
     2409resource 'thng' (320) { 
     2410        decompressorComponentType,              // Type                  
     2411        'VP31',                                 // SubType 
     2412        kFFusionCodecManufacturer,                      // Manufacturer 
     2413        0,                                      // - use componentHasMultiplePlatforms 
     2414        0, 
     2415        0, 
     2416        0, 
     2417        'STR ',                                 // Name Type 
     2418        kVP3NameResID,                  // Name ID 
     2419        'STR ',                                 // Info Type 
     2420        kVP3InfoResID,                  // Info ID 
     2421        0,                                      // Icon Type 
     2422        0,                                      // Icon ID 
     2423        kFFusionCodecVersion,                   // Version 
     2424        componentHasMultiplePlatforms +         // Registration Flags  
     2425        componentDoAutoVersion,                 // Registration Flags 
     2426        0,                                      // Resource ID of Icon Family 
     2427{ 
     2428        kFFusionDecompressionFlags,  
     2429        'dlle',                         // Entry point found by symbol name 'dlle' resource 
     2430        256,                            // ID of 'dlle' resource 
     2431        platformPowerPCNativeEntryPoint, 
     2432        kFFusionDecompressionFlags, 
     2433        'dlle', 
     2434        256, 
     2435        platformIA32NativeEntryPoint, 
     2436}; 
     2437}; 
     2438 
    23192439//--------------------------------------------------------------------------- 
    23202440// Component Name Resources