[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mp4/audio/renderer ac3decinfo.cpp, NONE,
From:       asheesh () helixcommunity ! org
Date:       2009-12-23 23:00:19
Message-ID: 200912232300.nBNN0hHY026877 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/mp4/audio/renderer
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv14828

Added Files:
      Tag: hxclient_4_2_0_brizo
	ac3decinfo.cpp ac3decinfo.h eac3decinfo.cpp eac3decinfo.h 
Log Message:

kia submits this code under the terms of a commercial contribution agreement with \
RealNetworks, and I am authorized to contribute this code under 

said agreement."

Modified by:  Gang.Jia@nokia.com 

Reviewed by: 

Date: 11/6/2009 

Project: SymbianMmf_wm 

ErrorId:  SUB 417-45841

Synopsis: CR: 417-45841 Helix support for Dolby Digital audio stereo playback 

Helix support for Dolby Digital audio stereo playback including following:
- Support for Dolby Digital audio (AC-3) in AVI and Matroska file formats
- Decoding and playing of Dolby Digital audio (AC-3) contents using AC-3/EAC-3 codec \
with MMF HwDevice interface and DevSound

   
Root Cause of the problem:  New feature. 
  
Files Added: 
datatype/mp4/audio/renderer/ac3decinfo.cpp
datatype/mp4/audio/renderer/ac3decinfo.h
datatype/mp4/audio/renderer/eac3decinfo.cpp
datatype/mp4/audio/renderer/eac3decinfo.h



Files Modified: 

/build/umakepf/helix_client_s60_52_common.pfi
/clientapps/symbianMmf/hxmmffourccmap.cpp
/clientapps/symbianMmf/hxmmfmimetypes.h
/datatype/avi/fileformat/avistrm.cpp
/datatype/mdf/audio/dsp/mdfauddecoder.cpp
/datatype/mdf/audio/dsp/mdfaudfmt.cpp
/datatype/mdf/audio/dsp/mdfaudfmt.h
/datatype/mdf/audio/dsp/mdfdevconfig.cpp
/datatype/mdf/audio/dsp/mdfdevconfig.h
/datatype/mdf/audio/dsp/mdfdevsound.cpp
/datatype/mkv/fileformat/mkv_file_format.cpp
/datatype/mp4/audio/renderer/mdfhwdecinfo.cpp
/datatype/mp4/audio/renderer/mdfhwdecinfo.h
/datatype/mp4/audio/renderer/mp4adec.cpp
/datatype/mp4/audio/renderer/mp4audio.cpp
/datatype/mp4/audio/renderer/libumakefil
/datatype/mp4/payload/pub/mp4apyld.h
/datatype/mp4/payload/mp4apyld.cpp


Image Size and Heap Use impact: 
minor

Module Release testing (STIF) :  Passed local test cases. 

Test case(s) Added  :  No. 

Memory leak check performed : Yes. No new leaks introduced 

Platforms and Profiles Build Verified: helix-client-s60-52-mmf-mdf-dsp

Platforms and Profiles Functionality verified: armv5

Branch: Brizo_420


--- NEW FILE: ac3decinfo.h ---
/* ***** BEGIN LICENSE BLOCK ***** 
 * Version: RCSL 1.0/RPSL 1.0 
 *  
 * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
 *      
 * The contents of this file, and the files included with this file, are 
 * subject to the current version of the RealNetworks Public Source License 
 * Version 1.0 (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the RealNetworks Community Source License Version 1.0 
 * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
 * in which case the RCSL will apply. You may also obtain the license terms 
 * directly from RealNetworks.  You may not use this file except in 
 * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
 * applicable to this file, the RCSL.  Please see the applicable RPSL or 
 * RCSL for the rights, obligations and limitations governing use of the 
 * contents of the file.  
 *  
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the portions 
 * it created. 
 *  
 * This file, and the files included with this file, is distributed and made 
 * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
 * 
 * Technology Compatibility Kit Test Suite(s) Location: 
 *    http://www.helixcommunity.org/content/tck 
 * 
 * Contributor(s): 
 *  
 * ***** END LICENSE BLOCK ***** */ 

#ifndef AC3DECINFO_H
#define AC3DECINFO_H

#include "decinfostore.h"
class IMP4APayloadFormat;

class CAC3DecInfo : public CDecoderInfo
{
public:
    virtual HXBOOL IsMatch(const char* pMimeType, IMP4APayloadFormat* pRssm);
    virtual const char* GetLibName(void);
    virtual const char* GetCodecFourCC(void);
    virtual const char* GetCodecName(void);
};

#endif /* AC3DECINFO_H */

--- NEW FILE: eac3decinfo.cpp ---
/* ***** BEGIN LICENSE BLOCK ***** 
 * Version: RCSL 1.0/RPSL 1.0 
 *  
 * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
 *      
 * The contents of this file, and the files included with this file, are 
 * subject to the current version of the RealNetworks Public Source License 
 * Version 1.0 (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the RealNetworks Community Source License Version 1.0 
 * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
 * in which case the RCSL will apply. You may also obtain the license terms 
 * directly from RealNetworks.  You may not use this file except in 
 * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
 * applicable to this file, the RCSL.  Please see the applicable RPSL or 
 * RCSL for the rights, obligations and limitations governing use of the 
 * contents of the file.  
 *  
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the portions 
 * it created. 
 *  
 * This file, and the files included with this file, is distributed and made 
 * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
 * 
 * Technology Compatibility Kit Test Suite(s) Location: 
 *    http://www.helixcommunity.org/content/tck 
 * 
 * Contributor(s): 
 *  
 * ***** END LICENSE BLOCK ***** */ 

#include "eac3decinfo.h"

HXBOOL CEAC3DecInfo::IsMatch(const char* pMimeType, IMP4APayloadFormat* pRssm)
{
    HXBOOL bRet = FALSE;

    if (pMimeType && !strcmp(pMimeType, "audio/EAC3"))
    {
        bRet = TRUE;
    }

    return bRet;

}

const char* CEAC3DecInfo::GetLibName(void)
{
    return "dspmdfaud";
}

const char* CEAC3DecInfo::GetCodecFourCC(void)
{
    return "eac3";
}

const char* CEAC3DecInfo::GetCodecName(void)
{
    return "EAC3 Audio";
}

--- NEW FILE: eac3decinfo.h ---
/* ***** BEGIN LICENSE BLOCK ***** 
 * Version: RCSL 1.0/RPSL 1.0 
 *  
 * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
 *      
 * The contents of this file, and the files included with this file, are 
 * subject to the current version of the RealNetworks Public Source License 
 * Version 1.0 (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the RealNetworks Community Source License Version 1.0 
 * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
 * in which case the RCSL will apply. You may also obtain the license terms 
 * directly from RealNetworks.  You may not use this file except in 
 * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
 * applicable to this file, the RCSL.  Please see the applicable RPSL or 
 * RCSL for the rights, obligations and limitations governing use of the 
 * contents of the file.  
 *  
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the portions 
 * it created. 
 *  
 * This file, and the files included with this file, is distributed and made 
 * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
 * 
 * Technology Compatibility Kit Test Suite(s) Location: 
 *    http://www.helixcommunity.org/content/tck 
 * 
 * Contributor(s): 
 *  
 * ***** END LICENSE BLOCK ***** */ 

#ifndef EAC3DECINFO_H
#define EAC3DECINFO_H

#include "decinfostore.h"
class IMP4APayloadFormat;

class CEAC3DecInfo : public CDecoderInfo
{
public:
    virtual HXBOOL IsMatch(const char* pMimeType, IMP4APayloadFormat* pRssm);
    virtual const char* GetLibName(void);
    virtual const char* GetCodecFourCC(void);
    virtual const char* GetCodecName(void);
};

#endif /* EAC3DECINFO_H */

--- NEW FILE: ac3decinfo.cpp ---
/* ***** BEGIN LICENSE BLOCK ***** 
 * Version: RCSL 1.0/RPSL 1.0 
 *  
 * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
 *      
 * The contents of this file, and the files included with this file, are 
 * subject to the current version of the RealNetworks Public Source License 
 * Version 1.0 (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the RealNetworks Community Source License Version 1.0 
 * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
 * in which case the RCSL will apply. You may also obtain the license terms 
 * directly from RealNetworks.  You may not use this file except in 
 * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
 * applicable to this file, the RCSL.  Please see the applicable RPSL or 
 * RCSL for the rights, obligations and limitations governing use of the 
 * contents of the file.  
 *  
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the portions 
 * it created. 
 *  
 * This file, and the files included with this file, is distributed and made 
 * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
 * 
 * Technology Compatibility Kit Test Suite(s) Location: 
 *    http://www.helixcommunity.org/content/tck 
 * 
 * Contributor(s): 
 *  
 * ***** END LICENSE BLOCK ***** */ 

#include "ac3decinfo.h"

HXBOOL CAC3DecInfo::IsMatch(const char* pMimeType, IMP4APayloadFormat* pRssm)
{
    HXBOOL bRet = FALSE;

    if (pMimeType && !strcmp(pMimeType, "audio/AC3"))
    {
        bRet = TRUE;
    }

    return bRet;

}

const char* CAC3DecInfo::GetLibName(void)
{
    return "dspmdfaud";
}

const char* CAC3DecInfo::GetCodecFourCC(void)
{
    return " ac3";
}

const char* CAC3DecInfo::GetCodecName(void)
{
    return "AC3 Audio";
}


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic