*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> dmedia/dmMPEG1AudioHeaderGetParams (3d)              
Title
Content
Arch
Section
 

Contents


dmMPEG1AudioHeaderGetParams(3dm)	      dmMPEG1AudioHeaderGetParams(3dm)


NAME    [Toc]    [Back]

     dmMPEG1AudioHeaderGetParams - get decoder parameter information from a
     header of any compressed MPEG1 audio data block.

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/dmedia.h>
     #include <dmedia/dm_audioutil.h>

     DMstatus dmMPEG1AudioHeaderGetParams(unsigned char	*cmpData,
					  DMparams *params)

PARAMETER    [Toc]    [Back]

     cmpData
	  points to a block of data bytes presumed to constitute the
	  compressed data stream and start with	a MPEG audio header.


     params
	  List of parameters for specification.

RETURNED VALUE    [Toc]    [Back]

     Returns DM_FAILURE	or DM_SUCCESS.

DESCRIPTION    [Toc]    [Back]

     dmMPEG1AudioHeaderGetParams(3dm) extracts MPEG1 audio compression
     parameter information from	a header of a compressed data stream without
     going so far as to	decompress the data.  These parameter values are then
     stored in DMparams	*params	structure and can be used to set decoder
     parameters	by a call to dmMPEG1AudioDecoderSetParams(3dm).

     Extracted parameters from a compressed bit	strem header are as follows:
	  DM_AUDIO_BITRAT
	  DM_AUDIO_RATE
	  DM_AUDIO_CHANNELS
	  DM_MPEG1_AUDIO_LAYER
	  DM_MPEG1_AUDIO_BITRATE_POLICY

     The other three parameter values are set to decoder defaults:
	  DM_AUDIO_FORMAT
	  (set to DM_AUDIO_TWOS_COMPLEMENT)
	  DM_AUDIO_WIDTH
	  (set to DM_AUDIO_WIDTH_16)
	  DM_AUDIO_CHANNEL_POLICY
	  (set to DM_MPEG1_AUDIO_CONSTANT_QUALITY)







									Page 1






dmMPEG1AudioHeaderGetParams(3dm)	      dmMPEG1AudioHeaderGetParams(3dm)


NOTE    [Toc]    [Back]

SEE ALSO
     dmMPEG1AudioDecoderCreate(3dm), dmMPEG1AudioDecoderSetParams(3dm),
     dmMPEG1AudioDecoderGetParams(3dm),	dmMPEG1AudioDecode(3dm).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
dmMPEG1AudioEncoderSetParams IRIX set and query MPEG1 audio encoder/decoder parameter values.
dmMPEG1AudioEncode IRIX Compresses a single block of audio data using MPEG1 audio compression algorithm.
dmDVIAudioDecoderSetParams IRIX set DVI Audio decoder parameter values
dmDVAudioHeaderGetParams IRIX get DV audio decoder parameter values
dmDVIAudioDecoderGetParams IRIX get DVI audio decoder parameter values
dmDVAudioDecoderSetParams IRIX set DV Audio decoder parameter values
dmDVAudioDecoderGetParams IRIX get DV audio decoder parameter values
dmMPEG1AudioHeaderGetBlockBytes IRIX gets expected length in bytes of any compressed data block.
dmMPEG1AudioDecode IRIX decodes a single compressed block of data created by a call to dmMPEG1AudioEncode(3dm).
dmDVIAudioDecode IRIX decode audio data compressed using the IMA
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service