index fb5e6332dcc0335a9cd88c4ee9a893b9c747a100..7581cda0832fc1063a20ef4c58dfef457f66fa5f 100644 (file)
/*
-Copyright (c) 2016, Texas Instruments Incorporated - http://www.ti.com/
+Copyright (c) 2017, Texas Instruments Incorporated - http://www.ti.com/
All rights reserved.
* Redistribution and use in source and binary forms, with or without
#include "audioStreamInpProc.h"
#include "audioStreamOutProc.h"
+#include "dbgBenchmark.h" // PCM high-sampling rate + SRC + CAR benchmarking
+
//
// Framework Declarations
//
0, // audio
PAF_OB_CLOCK_INTERNAL, // clock
PAF_OB_FLUSH_ENABLE, // flush
- 0, // unused[2] // FL: rateTrackMode
- 0, // PAF_OB_MARKER_ENABLED // FL: markerMode
- 0 // FL: maxNumBufOverride
- // FL: (*** ?) missing init. values for numBufOverride[PAF_SOURCE_N]
+ 0, // rateTrackMode // unused
+ PAF_OB_MARKER_DISABLED, // markerMode
+ 0, // maxNumBufOverride
+ // this is the start of numBufOverride[PAF_SOURCE_N]
+ 0, // PAF_SOURCE_UNKNOWN
+ 0, // PAF_SOURCE_NONE
+ 0, // PAF_SOURCE_PASS
+ 0, // PAF_SOURCE_SNG
+ 0, // PAF_SOURCE_AUTO
+ 0, // PAF_SOURCE_BITSTREAM
+ 0, // PAF_SOURCE_DTSALL
+ 0, // PAF_SOURCE_PCMAUTO
+ 0, // PAF_SOURCE_PCM
+ 0, // PAF_SOURCE_PC8
+ 0, // PAF_SOURCE_AC3
+ 0, // PAF_SOURCE_DTS
+ 0, // PAF_SOURCE_AAC
+ 0, // PAF_SOURCE_MPEG
+ 0, // PAF_SOURCE_DTS12
+ 0, // PAF_SOURCE_DTS13
+ 0, // PAF_SOURCE_DTS14
+ 0, // PAF_SOURCE_DTS16
+ 0, // PAF_SOURCE_WMA9PRO
+ 0, // PAF_SOURCE_MP3
+ 0, // PAF_SOURCE_DSD1,
+ 0, // PAF_SOURCE_DSD2,
+ 0, // PAF_SOURCE_DSD3,
+ 0, // PAF_SOURCE_DDP
+ 0, // PAF_SOURCE_DTSHD
+ 0, // PAF_SOURCE_THD
+ 0, // PAF_SOURCE_DXP
};
const PAF_EncodeStatus PAF_AST_params_encodeStatus_primary =
// GJ Debug: The below is not required; hence 0
- // IRAM scratch memory for autodetection and stereo PCM input
+#if 0
+ // IRAM scratch memory for autodetection and stereo PCM input
// High watermark needs are set by the latter:
// double buffer stereo 32bit PCM input 512 max frame size
// 1 buffers * 512 samples/buffer * 2 words/sample * 4 bytes/word
IALG_SCRATCH, // attrs
NULL, // base
}
+#endif
+
};
const PAF_SIO_IALG_Params inpSioAlgParamsPrimary =
{
- 2,
+ 1,
inpMemTabPrimary
};
const PAF_ASP_outNumBufMap outPrimaryNumBufMap =
{
4, // maxNumBuf
-// 6, // maxNumBuf
-// 16, // maxNumBuf
PAF_SOURCE_N, // length
+ // this is the start of map[PAF_SOURCE_N]
0, // PAF_SOURCE_UNKNOWN
0, // PAF_SOURCE_NONE
2, // PAF_SOURCE_PASS
4, // PAF_SOURCE_DDP
4, // PAF_SOURCE_DTSHD
4, // PAF_SOURCE_THD
-// 6, // PAF_SOURCE_THD
-// 16, // PAF_SOURCE_THD
4, // PAF_SOURCE_DXP
-
};
const PAF_ASP_outNumBufMap *const outNumBufMap[] =
&PAF_ASP_params_decSioMap, // pDecSioMap
PAF_AST_streamsFromDecodes_std, // streamsFromDecodes
PAF_AST_streamsFromEncodes_std, // streamsFromEncodes
- 1024,// 256, // maxFramelength
+ PAF_MAX_SYS_FRAMELENGTH, // maxFramelength
PAF_AST_streamOrder, // streamOrder
inpLinkInit, // i_inpLinkInit
outLinkInit, // i_outLinkInit
&PAF_ASP_params_decSioMap, // pDecSioMap
PAF_AST_streamsFromDecodes_std, // streamsFromDecodes
PAF_AST_streamsFromEncodes_std, // streamsFromEncodes
- 1024, //256, // maxFramelength
+ PAF_MAX_SYS_FRAMELENGTH, // maxFramelength
PAF_AST_streamOrder, // streamOrder
inpLinkInit, // i_inpLinkInit
outLinkInit, // i_outLinkInit