libavformat/mov_chan.h File Reference

#include <stdint.h>
#include "libavcodec/avcodec.h"

Go to the source code of this file.

Functions

uint64_t ff_mov_get_channel_layout (uint32_t tag, uint32_t bitmap)
 mov 'chan' tag reading/writing.
uint32_t ff_mov_get_channel_label (uint32_t label)
 Get the channel layout for the specified channel layout tag.
uint32_t ff_mov_get_channel_layout_tag (enum CodecID codec_id, uint64_t channel_layout, uint32_t *bitmap)
 Get the channel layout tag for the specified codec id and channel layout.


Function Documentation

uint32_t ff_mov_get_channel_label ( uint32_t  label  ) 

Get the channel layout for the specified channel layout tag.

Parameters:
[in] tag channel label
Returns:
channel layout mask fragment

Definition at line 453 of file mov_chan.c.

Referenced by mov_read_chan().

uint64_t ff_mov_get_channel_layout ( uint32_t  tag,
uint32_t  bitmap 
)

mov 'chan' tag reading/writing.

Author:
Justin Ruggles Get the channel layout for the specified channel layout tag.
Parameters:
[in] tag channel layout tag
[out] bitmap channel bitmap (only used if needed)
Returns:
channel layout

Definition at line 426 of file mov_chan.c.

Referenced by mov_read_chan().

uint32_t ff_mov_get_channel_layout_tag ( enum CodecID  codec_id,
uint64_t  channel_layout,
uint32_t *  bitmap 
)

Get the channel layout tag for the specified codec id and channel layout.

If the layout tag was not found, use a channel bitmap if possible.

Parameters:
[in] codec_id codec id
[in] channel_layout channel layout
[out] bitmap channel bitmap
Returns:
channel layout tag

Definition at line 466 of file mov_chan.c.

Referenced by mov_write_chan_tag().


Generated on Fri Oct 26 02:46:13 2012 for FFmpeg by  doxygen 1.5.8