diff --git a/pasdk/test_dsp/framework/audioStreamOutDec.h b/pasdk/test_dsp/framework/audioStreamOutDec.h
index cf4a2bc9e5b64cc2f18c3c9717cb40558baaa9c4..eda649f44bdad16219b773071cacd7b97c073f61 100644 (file)
// status codes
#define ASOP_DOP_SOK ( 0 ) // ok
#define ASOP_DOP_ERR_RESET_ENCRESET ( -1 ) // error - reset, enc reset
-#define ASOP_DOP_ERR_INFO1_ASPCHAINRESET ( -2 ) // error - info1, ASP chain reset
-#define ASOP_DOP_ERR_INFO1_ENCINFO ( -3 ) // error - info1, enc info
-#define ASOP_DOP_ERR_INFO1_SETRATEX ( -4 ) // error - info1, set rate X
-#define ASOP_DOP_ERR_INFO1_STARTOUTPUT ( -5 ) // error - info1, start output
-#define ASOP_DOP_ERR_INFO1_INITOUTBUFCFG ( -6 ) // error - info1, init out buf config
-#define ASOP_DOP_ERR_INFO2_SETRATEX ( -7 ) // error - info2, set rate X
-#define ASOP_DOP_ERR_INIT_CBINITREAD ( -8 ) // error - init, CB init read
-#define ASOP_DOP_ERR_INIT_CBREADSTART ( -9 ) // error - init, CB read start
-#define ASOP_DOP_ERR_STREAM_CBREAD ( -10 ) // error - stream, CB read
-#define ASOP_DOP_ERR_STREAM_CBREADUNDTHR ( -11 ) // error - stream, CB read underflow threshold reached
-#define ASOP_DOP_ERR_STREAM_ASPCHAINAPPLY ( -12 ) // error - stream, ASP chain apply
-#define ASOP_DOP_ERR_ENCODE_ENCSELECT ( -13 ) // error - encode, encoder (re-)select
-#define ASOP_DOP_ERR_ENCODE_ENC ( -14 ) // error - encode, encoder
-#define ASOP_DOP_ERR_ENCODE_WRTOPBUFS ( -15 ) // error - encode, write output buffers
-#define ASOP_DOP_ERR_FINALTEST_CBCHKDRAIN ( -16 ) // error - final test, CB check drained
-#define ASOP_DOP_ERR_FINALTEST_CBDRAINED ( -17 ) // error - final test, CB drained
-#define ASOP_DOP_ERR_COMPLETE_CBREADSTOP ( -18 ) // error - complete, CB read stop
-#define ASOP_DOP_ERR_COMPLETE_STOPOUTPUT ( -19 ) // error - complete, stop output
+#define ASOP_DOP_ERR_DEC1_ASPCHAINRESET ( -2 ) // error - dec1, ASP chain reset
+#define ASOP_DOP_ERR_DEC1_ENCINFO ( -3 ) // error - dec1, enc info
+#define ASOP_DOP_ERR_DEC1_SETRATEX ( -4 ) // error - dec1, set rate X
+#define ASOP_DOP_ERR_DEC1_STARTOUTPUT ( -5 ) // error - dec1, start output
+#define ASOP_DOP_ERR_INFO2_SETRATEX ( -6 ) // error - info2, set rate X
+#define ASOP_DOP_ERR_INIT_CBINITREAD ( -7 ) // error - init, CB init read
+#define ASOP_DOP_ERR_INIT_CBREADSTART ( -8 ) // error - init, CB read start
+#define ASOP_DOP_ERR_STREAM_CBREAD ( -9 ) // error - stream, CB read
+#define ASOP_DOP_ERR_STREAM_CBREADUNDTHR ( -10 ) // error - stream, CB read underflow threshold reached
+#define ASOP_DOP_ERR_STREAM_ASPCHAINAPPLY ( -11 ) // error - stream, ASP chain apply
+#define ASOP_DOP_ERR_ENCODE_ENCSELECT ( -12 ) // error - encode, encoder (re-)select
+#define ASOP_DOP_ERR_ENCODE_ENC ( -13 ) // error - encode, encoder
+#define ASOP_DOP_ERR_ENCODE_WRTOPBUFS ( -14 ) // error - encode, write output buffers
+#define ASOP_DOP_ERR_FINALTEST_CBCHKDRAIN ( -15 ) // error - final test, CB check drained
+#define ASOP_DOP_ERR_FINALTEST_CBDRAINED ( -16 ) // error - final test, CB drained
+#define ASOP_DOP_ERR_COMPLETE_CBREADSTOP ( -17 ) // error - complete, CB read stop
+#define ASOP_DOP_ERR_COMPLETE_STOPOUTPUT ( -18 ) // error - complete, stop output
// Purpose: ASOT Function for Output reset
Int frame
);
-// Purpose: Reset ASP chain, execute ENC info, and initiate Output
+// Purpose: Dec Info1 stub function
Int asopDecOutProcInfo1(
const PAF_ASOT_Params *pP,
const PAF_ASOT_Patchs *pQ,
Int frame
);
+// Purpose: Reset ASP chain, execute ENC info, and initiate Output
+Int asopDecOutProcDec1(
+ const PAF_ASOT_Params *pP,
+ const PAF_ASOT_Patchs *pQ,
+ PAF_ASOT_Config *pAsotCfg,
+ Int frame
+);
+
// Purpose: Re-initiate Output
Int asopDecOutProcInfo2(
const PAF_ASOT_Params *pP,