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

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

Contents


dmDVAudioHeaderGetParams(3dm)			 dmDVAudioHeaderGetParams(3dm)


NAME    [Toc]    [Back]

     dmDVAudioHeaderGetParams -	get DV audio decoder parameter values

SYNOPSIS    [Toc]    [Back]

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

     DMstatus dmDVAudioHeaderGetParams(void *dif,
				   DMparams *params,
				   int *numSampFrames)

PARAMETER    [Toc]    [Back]

     dif      Points to	a valid	frame of DIF data which	contains embedded
	      audio. See dm_dv(3dm) for	more info about	DIF, DV, and DVCPRO.


     params   This params list is filled out by	the function and returns
	      extensive	information about the audio in the DIF frame.


     numSampFrames
	      If this paramater	is non-NULL, the number	of 16 bit samples
	      embedded inside the DIF frame is returned	in this	parameter.

RETURNED VALUE    [Toc]    [Back]

     Returns DM_SUCCESS	or DM_FAILURE.

DESCRIPTION    [Toc]    [Back]

     dmDVAudioHeaderGetParams(3dm) returns information about a single DIF
     frame with	many audio samples embedded in it.


     The set of	parameters that	are returned in	params are defined in
     dmedia/dm_audioutil.h and are listed below:

     DM_DVAUDIO_FORMAT - either	DM_DVAUDIO_NTSC	or DM_DVAUDIO_PAL
     DM_DVAUDIO_TYPE - either DM_DVAUDIO_DV or DM_DVAUDIO_DVCPRO
     DM_AUDIO_CODEC_MAX_BYTES_PER_BLOCK	- either 120000	for NTSC or 144000 for
     PAL
     DM_AUDIO_CHANNELS - number	of channels of audio (1	or 2 or	4)
     DM_AUDIO_WIDTH - will always be 16
     DM_DVAUDIO_CHANNEL_MODE - either DM_DVAUDIO_SD_2CH	or DM_DVAUDIO_SD_4CH
     DM_DVAUDIO_CHANNEL_POLICY - integer 1-19, described in dm_audioutil.h,
     which specify exactly how the audio is layed out inside the DIF frame.
     DM_MEDIUM - will always be	DM_AUDIO
     DM_AUDIO_BYTE_ORDER - will	always be DM_AUDIO_BIG_ENDIAN
     DM_AUDIO_FORMAT - will always be DM_AUDIO_TWOS_COMPLEMENT
     DM_AUDIO_RATE - the sample	rate in	floating point (ex: 48000.0)



									Page 1






dmDVAudioHeaderGetParams(3dm)			 dmDVAudioHeaderGetParams(3dm)



     DM_AUDIO_CODEC_FRAMES_PER_BLOCK - the maximum number of samples this DIF
     frame could possibly contain
     DM_DVAUDIO_MIN_FRAMES_PER_BLOCK - the miniumum number of frames this DIF
     frame could possibly contain
     DM_AUDIO_CODEC_FILTER_DELAY - always zero
     DM_DVAUDIO_LOCK_MODE - non-zero if	audio is locked	according to the DV
     audio specification.  Zero	if it is not locked.

SEE ALSO    [Toc]    [Back]

      
      
     dmDVAudioDecoderCreate(3dm), dmDVAudioDecoderSetParams(3dm),
     dmDVAudioDecode(3dm).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
dmDVIAudioDecoderGetParams IRIX get DVI audio decoder parameter values
dmDVAudioDecoderSetParams IRIX set DV Audio decoder parameter values
dmDVIAudioDecoderSetParams IRIX set DVI Audio decoder parameter values
dmMPEG1AudioEncoderSetParams IRIX set and query MPEG1 audio encoder/decoder parameter values.
dmGSMDecoderGetParams IRIX get GSM decoder parameter values
dmG726DecoderSetParams IRIX set G726 decoder parameter values
dmG728DecoderSetParams IRIX set G728 decoder parameter values.
dmG728DecoderGetParams IRIX get G728 decoder parameter values
dmFS1016DecoderGetParams IRIX get FS1016 decoder parameter values
dmFS1016DecoderSetParams IRIX set FS1016 decoder parameter values.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service