Loading include/uapi/sound/compress_offload.h +13 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,19 @@ struct snd_compr_codec_caps { struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; } __attribute__((packed, aligned(4))); #ifdef CONFIG_AUDIO_QGKI /** * struct snd_compr_audio_info: compressed input audio information * @frame_size: legth of the encoded frame with valid data * @reserved: reserved for furture use */ struct snd_compr_audio_info { __u32 frame_size; __u32 reserved[15]; } __attribute__((packed, aligned(4))); #define SND_COMPR_AUDIO_INFO #endif /** * enum sndrv_compress_encoder * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the Loading include/uapi/sound/compress_params.h +6 −1 Original line number Diff line number Diff line Loading @@ -391,6 +391,7 @@ struct snd_codec_desc { * @align: Block alignment in bytes of an audio sample. * Only required for PCM or IEC formats. * @options: encoder-specific settings * @compr_passthr: compressed bitstream passthrough * @reserved: reserved for future use */ Loading @@ -409,7 +410,8 @@ struct snd_codec { union snd_codec_options options; #ifdef CONFIG_AUDIO_QGKI __u32 flags; __u32 reserved[2]; __u32 compr_passthr; __u32 reserved[1]; #else __u32 reserved[3]; #endif Loading @@ -430,6 +432,9 @@ struct snd_codec_metadata { __u64 timestamp; __u32 reserved[4]; }; #define SND_CODEC_COMPRESS_PASSTHROUGH #endif #endif Loading
include/uapi/sound/compress_offload.h +13 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,19 @@ struct snd_compr_codec_caps { struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; } __attribute__((packed, aligned(4))); #ifdef CONFIG_AUDIO_QGKI /** * struct snd_compr_audio_info: compressed input audio information * @frame_size: legth of the encoded frame with valid data * @reserved: reserved for furture use */ struct snd_compr_audio_info { __u32 frame_size; __u32 reserved[15]; } __attribute__((packed, aligned(4))); #define SND_COMPR_AUDIO_INFO #endif /** * enum sndrv_compress_encoder * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the Loading
include/uapi/sound/compress_params.h +6 −1 Original line number Diff line number Diff line Loading @@ -391,6 +391,7 @@ struct snd_codec_desc { * @align: Block alignment in bytes of an audio sample. * Only required for PCM or IEC formats. * @options: encoder-specific settings * @compr_passthr: compressed bitstream passthrough * @reserved: reserved for future use */ Loading @@ -409,7 +410,8 @@ struct snd_codec { union snd_codec_options options; #ifdef CONFIG_AUDIO_QGKI __u32 flags; __u32 reserved[2]; __u32 compr_passthr; __u32 reserved[1]; #else __u32 reserved[3]; #endif Loading @@ -430,6 +432,9 @@ struct snd_codec_metadata { __u64 timestamp; __u32 reserved[4]; }; #define SND_CODEC_COMPRESS_PASSTHROUGH #endif #endif