diff options
author | Weiguang Kong <weiguang.kong@nxp.com> | 2017-09-14 13:31:22 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 984a7645c771d5f0964125bf71ace572fc799644 (patch) | |
tree | 4858177b624f07669be13c02e3e0a6ceaca1c050 /include/uapi | |
parent | 95c518121580ba316308b2fc1f0a1058ab539d40 (diff) |
MLK-16468-1: include: uapi: add multi-codec support for hifi4
update the mxc_hifi4.h header file to support multi-codec
decoding or encoding together for hifi4 dsp.
Signed-off-by: Weiguang Kong <weiguang.kong@nxp.com>
Reviewed-by: Mihai Serban <mihai.serban@nxp.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/mxc_hifi4.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/uapi/linux/mxc_hifi4.h b/include/uapi/linux/mxc_hifi4.h index f8db59889387..4da17005506f 100644 --- a/include/uapi/linux/mxc_hifi4.h +++ b/include/uapi/linux/mxc_hifi4.h @@ -33,7 +33,7 @@ #define HIFI4_DECODE_ONE_FRAME _IOW(HIFI4_IOC_MAGIC, 4, unsigned int) #define HIFI4_UNLOAD_CODEC _IOW(HIFI4_IOC_MAGIC, 5, unsigned int) #define HIFI4_GET_PCM_PROP _IOW(HIFI4_IOC_MAGIC, 6, unsigned int) -#define HIFI4_SET_CONFIG _IOW(HIFI4_IOC_MAGIC, 7, unsigned int) +#define HIFI4_SET_CONFIG _IOW(HIFI4_IOC_MAGIC, 7, unsigned int) #define CODEC_MP3_DEC 1 #define CODEC_AAC_DEC 2 @@ -54,6 +54,7 @@ struct decode_info { int out_buf_off; unsigned int cycles; unsigned int input_over; + unsigned int process_id; }; struct prop_info { @@ -69,11 +70,14 @@ struct prop_info { int aac_samplerate; int sbr_type; int mpeg_surr_present; + + unsigned int process_id; }; struct binary_info { int type; char *file; + unsigned int process_id; }; struct prop_config { @@ -81,6 +85,7 @@ struct prop_config { int cmd; /* command value */ int val; /* parameter value */ int ret; /* executed status of function */ + unsigned int process_id; }; #endif/* __MXC_HIFI4_UAPI_H__ */ |