3 * Copyright (C) Texas Instruments - http://www.ti.com/
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 /* =============================================================================
22 * Texas Instruments OMAP (TM) Platform Software
23 * (c) Copyright Texas Instruments, Incorporated. All Rights Reserved.
25 * Use of this software is controlled by the terms and conditions found
26 * in the license agreement under which this software has been supplied.
27 * =========================================================================== */
29 * @file OMX_G722Encoder.h
31 * This header file contains data and function prototypes for G722 ENCODER OMX
33 * @path $(OMAPSW_MPU)\linux\audio\src\openmax_il\g722_enc\inc
37 /* -----------------------------------------------------------------------------
40 *! ===================================
41 *! Date Author(s) Version Description
42 *! --------- ------------------- ------- ---------------------------------
43 *! 08-Mar-2007 A.Donjon 0.1 Code update for G722 ENCODER
46 * ================================================================================= */
47 #ifndef OMX_G722ENCODER_H
48 #define OMX_G722ENCODER_H
50 #include "LCML_DspCodec.h"
51 #include <OMX_Component.h>
54 /* ======================================================================= */
55 /** OMX_G722ENC_INDEXAUDIOTYPE Defines the custom configuration settings
58 * @param OMX_IndexCustomG722EncModeDasfConfig Sets the DASF mode
60 * @param OMX_IndexCustomG722EncModeTeeModeConfig Sets the TEE mode
63 /* ==================================================================== */
64 typedef enum OMX_G722ENC_INDEXAUDIOTYPE {
65 OMX_IndexCustomG722EncModeConfig = 0xFF000001,
66 OMX_IndexCustomG722EncHeaderInfoConfig,
67 OMX_IndexCustomG722EncStreamIDConfig,
68 OMX_IndexCustomG722EncDataPath
69 }OMX_G722ENC_INDEXAUDIOTYPE;
72 /* ======================================================================= */
74 * @def G722ENC_NUM_INPUT_BUFFERS Component default number of input buffers
76 /* ======================================================================= */
77 #define G722ENC_NUM_INPUT_BUFFERS 1
80 /* ======================================================================= */
82 * @def G722ENC_NUM_OUTPUT_BUFFERS Component default number of output buffers
84 /* ======================================================================= */
85 #define G722ENC_NUM_OUTPUT_BUFFERS 1
88 /* ======================================================================= */
90 * @def G722ENC_INPUT_BUFFER_SIZE Component default input buffer size
92 /* ======================================================================= */
93 #define G722ENC_INPUT_BUFFER_SIZE 320
95 /* ======================================================================= */
97 * @def G722ENC_OUTPUT_BUFFER_SIZE_BYTES Component default output buffer size
99 /* ======================================================================= */
100 #define G722ENC_OUTPUT_BUFFER_SIZE_BYTES 320