DivXNetworks, Inc.
Main Page | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals | Related Pages

FourCC.h File Reference


Detailed Description

$Id: FourCC.h 3096 2005-06-21 20:07:11Z ekuznetsov $

Copyright (c) 2003-2004 DivX, Inc. All rights reserved.

This software is the confidential and proprietary information of DivX, Inc.,
Inc. and may be used only in accordance with the terms of your license from
DivX, Inc.

#include "DivXPortable.h"

Go to the source code of this file.

Defines

#define FOURCC(A, B, C, D)

Typedefs

typedef uint32_t FourCC

Functions

FourCC FourCC_create (const char *str)
char * FourCC_toStr (char *str, FourCC fourCC)
FourCC FourCC_lowerCase (FourCC fourCC)


Define Documentation

#define FOURCC A,
B,
C,
 ) 
 

Value:

( \
    ((FourCC) A) | \
    (((FourCC) B)<<8) | \
    (((FourCC) C)<<16) | \
    (((FourCC) D)<<24) )
A mechanism to create a FourCC from four characters.


Typedef Documentation

typedef uint32_t FourCC
 

Four Character Code used to decribe the media type of both compressed and uncompressed video.


Function Documentation

FourCC FourCC_create const char *  str  ) 
 

Creates a FourCC from a four-character string like "divx".

Parameters:
str Pointer to a string such as "divx"
Returns:
Created FourCC.

FourCC FourCC_lowerCase FourCC  fourCC  ) 
 

Converts all letters 'A' to 'Z' present in fourCC to their lower case equivalent.

Parameters:
fourCC FourCC code to be converted.
Returns:
Converted FourCC.

char* FourCC_toStr char *  str,
FourCC  fourCC
 

Renders a FourCC to an ASCII string.

Parameters:
fourCC FourCC code to be rendered.
str Pointer to buffer where string will be rendered.
Returns:
Returns str for convenience.


Generated on Tue Jan 24 16:43:33 2006 for DivX Codec API Documentation.