/external/adhd/cras/src/server/ |
buffer_share.c | 12 static inline struct id_offset *find_unused(const struct buffer_share *mix) 16 for (i = 0; i < mix->id_sz; i++) { 17 if (!mix->wr_idx[i].used) 18 return &mix->wr_idx[i]; 25 static inline struct id_offset *find_id(const struct buffer_share *mix, 30 for (i = 0; i < mix->id_sz; i++) { 31 if (mix->wr_idx[i].used && id == mix->wr_idx[i].id) 32 return &mix->wr_idx[i]; 38 static void alloc_more_ids(struct buffer_share *mix) 53 struct buffer_share *mix; local [all...] |
buffer_share.h | 31 void buffer_share_destroy(struct buffer_share *mix); 34 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data); 37 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id); 40 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, 47 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix); 53 unsigned int buffer_share_id_offset(const struct buffer_share *mix, 59 void *buffer_share_get_data(const struct buffer_share *mix,
|
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformat.c | 17 static MIX_RESULT mix_videofmt_getcaps_default(MixVideoFormat *mix, 19 static MIX_RESULT mix_videofmt_initialize_default(MixVideoFormat *mix, 26 mix_videofmt_decode_default(MixVideoFormat *mix, 29 static MIX_RESULT mix_videofmt_flush_default(MixVideoFormat *mix); 30 static MIX_RESULT mix_videofmt_eos_default(MixVideoFormat *mix); 31 static MIX_RESULT mix_videofmt_deinitialize_default(MixVideoFormat *mix); 91 MixVideoFormat *mix = MIX_VIDEOFORMAT(obj); local 94 if(mix->objectlock) { 95 g_mutex_free(mix->objectlock); 96 mix->objectlock = NULL [all...] |
mixvideoformatenc.c | 15 static MIX_RESULT mix_videofmtenc_getcaps_default(MixVideoFormatEnc *mix, 17 static MIX_RESULT mix_videofmtenc_initialize_default(MixVideoFormatEnc *mix, 25 mix_videofmtenc_encode_default(MixVideoFormatEnc *mix, MixBuffer * bufin[], 28 static MIX_RESULT mix_videofmtenc_flush_default(MixVideoFormatEnc *mix); 29 static MIX_RESULT mix_videofmtenc_eos_default(MixVideoFormatEnc *mix); 30 static MIX_RESULT mix_videofmtenc_deinitialize_default(MixVideoFormatEnc *mix); 32 MixVideoFormatEnc *mix, guint *max_size); 111 MixVideoFormatEnc *mix = MIX_VIDEOFORMATENC(obj); local 115 if(mix->objectlock) { 116 g_mutex_free(mix->objectlock) [all...] |
mixvideo.h | 41 typedef MIX_RESULT (*MixVideoGetVersionFunc)(MixVideo * mix, guint * major, 44 typedef MIX_RESULT (*MixVideoInitializeFunc)(MixVideo * mix, MixCodecMode mode, 47 typedef MIX_RESULT (*MixVideoDeinitializeFunc)(MixVideo * mix); 49 typedef MIX_RESULT (*MixVideoConfigureFunc)(MixVideo * mix, 53 typedef MIX_RESULT (*MixVideoGetConfigFunc)(MixVideo * mix, 56 typedef MIX_RESULT (*MixVideoDecodeFunc)(MixVideo * mix, MixBuffer * bufin[], 59 typedef MIX_RESULT (*MixVideoGetFrameFunc)(MixVideo * mix, 62 typedef MIX_RESULT (*MixVideoReleaseFrameFunc)(MixVideo * mix, 65 typedef MIX_RESULT (*MixVideoRenderFunc)(MixVideo * mix, 68 typedef MIX_RESULT (*MixVideoEncodeFunc)(MixVideo * mix, MixBuffer * bufin[] [all...] |
mixvideoformat_h264.h | 72 * @mix: object to add reference 77 MixVideoFormat_H264 *mix_videoformat_h264_ref(MixVideoFormat_H264 * mix); 90 MIX_RESULT mix_videofmt_h264_getcaps(MixVideoFormat *mix, GString *msg); 91 MIX_RESULT mix_videofmt_h264_initialize(MixVideoFormat *mix, 97 MIX_RESULT mix_videofmt_h264_decode(MixVideoFormat *mix, MixBuffer * bufin[], 99 MIX_RESULT mix_videofmt_h264_flush(MixVideoFormat *mix); 100 MIX_RESULT mix_videofmt_h264_eos(MixVideoFormat *mix); 101 MIX_RESULT mix_videofmt_h264_deinitialize(MixVideoFormat *mix); 105 MIX_RESULT mix_videofmt_h264_handle_ref_frames(MixVideoFormat *mix, 110 MIX_RESULT mix_videofmt_h264_process_decode(MixVideoFormat *mix, [all...] |
mixvideoformat_mp42.h | 77 * @mix: object to add reference 82 MixVideoFormat_MP42 *mix_videoformat_mp42_ref(MixVideoFormat_MP42 * mix); 95 MIX_RESULT mix_videofmt_mp42_getcaps(MixVideoFormat *mix, GString *msg); 96 MIX_RESULT mix_videofmt_mp42_initialize(MixVideoFormat *mix, 100 MIX_RESULT mix_videofmt_mp42_decode(MixVideoFormat *mix, MixBuffer * bufin[], 102 MIX_RESULT mix_videofmt_mp42_flush(MixVideoFormat *mix); 103 MIX_RESULT mix_videofmt_mp42_eos(MixVideoFormat *mix); 104 MIX_RESULT mix_videofmt_mp42_deinitialize(MixVideoFormat *mix); 108 MIX_RESULT mix_videofmt_mp42_handle_ref_frames(MixVideoFormat *mix, 111 MIX_RESULT mix_videofmt_mp42_process_decode(MixVideoFormat *mix, [all...] |
mixvideoformat_vc1.h | 76 * @mix: object to add reference 81 MixVideoFormat_VC1 *mix_videoformat_vc1_ref(MixVideoFormat_VC1 * mix); 94 MIX_RESULT mix_videofmt_vc1_getcaps(MixVideoFormat *mix, GString *msg); 95 MIX_RESULT mix_videofmt_vc1_initialize(MixVideoFormat *mix, 101 MIX_RESULT mix_videofmt_vc1_decode(MixVideoFormat *mix, MixBuffer * bufin[], 103 MIX_RESULT mix_videofmt_vc1_flush(MixVideoFormat *mix); 104 MIX_RESULT mix_videofmt_vc1_eos(MixVideoFormat *mix); 105 MIX_RESULT mix_videofmt_vc1_deinitialize(MixVideoFormat *mix); 109 MIX_RESULT mix_videofmt_vc1_handle_ref_frames(MixVideoFormat *mix, 114 MIX_RESULT mix_videofmt_vc1_process_decode(MixVideoFormat *mix, [all...] |
mixvideoformat.h | 44 typedef MIX_RESULT (*MixVideoFmtGetCapsFunc)(MixVideoFormat *mix, GString *msg); 45 typedef MIX_RESULT (*MixVideoFmtInitializeFunc)(MixVideoFormat *mix, 51 typedef MIX_RESULT (*MixVideoFmtDecodeFunc)(MixVideoFormat *mix, 54 typedef MIX_RESULT (*MixVideoFmtFlushFunc)(MixVideoFormat *mix); 55 typedef MIX_RESULT (*MixVideoFmtEndOfStreamFunc)(MixVideoFormat *mix); 56 typedef MIX_RESULT (*MixVideoFmtDeinitializeFunc)(MixVideoFormat *mix); 125 * @mix: object to add reference 130 MixVideoFormat *mix_videoformat_ref(MixVideoFormat * mix); 142 MIX_RESULT mix_videofmt_getcaps(MixVideoFormat *mix, GString *msg); 144 MIX_RESULT mix_videofmt_initialize(MixVideoFormat *mix, [all...] |
mixvideoformatenc_mpeg4.c | 96 /*MixVideoFormatEnc_MPEG4 *mix = MIX_VIDEOFORMATENC_MPEG4(obj); */
108 mix_videoformatenc_mpeg4_ref(MixVideoFormatEnc_MPEG4 * mix) {
109 return (MixVideoFormatEnc_MPEG4 *) g_object_ref(G_OBJECT(mix));
113 MIX_RESULT mix_videofmtenc_mpeg4_getcaps(MixVideoFormatEnc *mix, GString *msg) {
123 if (mix == NULL) {
124 LOG_E( "mix == NULL\n");
130 return parent_class->getcaps(mix, msg);
135 MIX_RESULT mix_videofmtenc_mpeg4_initialize(MixVideoFormatEnc *mix,
160 if (mix == NULL || config_params_enc == NULL || va_display == NULL) {
162 "mix == NULL || config_params_enc == NULL || va_display == NULL\n"); [all...] |
mixvideoformatenc_mpeg4.h | 98 * @mix: object to add reference
103 MixVideoFormatEnc_MPEG4 *mix_videoformatenc_mpeg4_ref(MixVideoFormatEnc_MPEG4 * mix);
116 MIX_RESULT mix_videofmtenc_mpeg4_getcaps(MixVideoFormatEnc *mix, GString *msg);
117 MIX_RESULT mix_videofmtenc_mpeg4_initialize(MixVideoFormatEnc *mix,
123 MIX_RESULT mix_videofmtenc_mpeg4_encode(MixVideoFormatEnc *mix, MixBuffer * bufin[],
126 MIX_RESULT mix_videofmtenc_mpeg4_flush(MixVideoFormatEnc *mix);
127 MIX_RESULT mix_videofmtenc_mpeg4_eos(MixVideoFormatEnc *mix);
128 MIX_RESULT mix_videofmtenc_mpeg4_deinitialize(MixVideoFormatEnc *mix);
129 MIX_RESULT mix_videofmtenc_mpeg4_get_max_encoded_buf_size (MixVideoFormatEnc *mix, guint * max_size);
133 MIX_RESULT mix_videofmtenc_mpeg4_process_encode (MixVideoFormatEnc_MPEG4 *mix, MixBuffer * bufin, [all...] |
mixvideoformatenc_preview.h | 97 * @mix: object to add reference 102 MixVideoFormatEnc_Preview *mix_videoformatenc_preview_ref(MixVideoFormatEnc_Preview * mix); 115 MIX_RESULT mix_videofmtenc_preview_getcaps(MixVideoFormatEnc *mix, GString *msg); 116 MIX_RESULT mix_videofmtenc_preview_initialize(MixVideoFormatEnc *mix, 122 MIX_RESULT mix_videofmtenc_preview_encode(MixVideoFormatEnc *mix, MixBuffer * bufin[], 125 MIX_RESULT mix_videofmtenc_preview_flush(MixVideoFormatEnc *mix); 126 MIX_RESULT mix_videofmtenc_preview_eos(MixVideoFormatEnc *mix); 127 MIX_RESULT mix_videofmtenc_preview_deinitialize(MixVideoFormatEnc *mix); 130 MIX_RESULT mix_videofmtenc_preview_process_encode (MixVideoFormatEnc_Preview *mix, MixBuffer * bufin,
|
mixvideo.c | 47 #define MIX_VIDEO_PRIVATE(mix) (MixVideoPrivate *)(mix->context) 49 #define MIX_VIDEO_PRIVATE(mix) MIX_VIDEO_GET_PRIVATE(mix) 52 #define CHECK_INIT(mix, priv) \ 53 if (!mix) { \ 56 if (!MIX_IS_VIDEO(mix)) { \ 60 priv = MIX_VIDEO_PRIVATE(mix); \ 66 #define CHECK_INIT_CONFIG(mix, priv) \ 67 CHECK_INIT(mix, priv); 182 MixVideo *mix = MIX_VIDEO(obj); local [all...] |
mixvideoformatenc.h | 41 typedef MIX_RESULT (*MixVideoFmtEncGetCapsFunc)(MixVideoFormatEnc *mix, GString *msg); 42 typedef MIX_RESULT (*MixVideoFmtEncInitializeFunc)(MixVideoFormatEnc *mix, 48 typedef MIX_RESULT (*MixVideoFmtEncodeFunc)(MixVideoFormatEnc *mix, MixBuffer * bufin[], 51 typedef MIX_RESULT (*MixVideoFmtEncFlushFunc)(MixVideoFormatEnc *mix); 52 typedef MIX_RESULT (*MixVideoFmtEncEndOfStreamFunc)(MixVideoFormatEnc *mix); 53 typedef MIX_RESULT (*MixVideoFmtEncDeinitializeFunc)(MixVideoFormatEnc *mix); 54 typedef MIX_RESULT (*MixVideoFmtEncGetMaxEncodedBufSizeFunc) (MixVideoFormatEnc *mix, guint *max_size); 138 * @mix: object to add reference 143 MixVideoFormatEnc *mix_videoformatenc_ref(MixVideoFormatEnc * mix); 156 MIX_RESULT mix_videofmtenc_getcaps(MixVideoFormatEnc *mix, GString *msg) [all...] |
mixvideoformatenc_h264.c | 96 /*MixVideoFormatEnc_H264 *mix = MIX_VIDEOFORMATENC_H264(obj); */ 108 mix_videoformatenc_h264_ref(MixVideoFormatEnc_H264 * mix) { 109 return (MixVideoFormatEnc_H264 *) g_object_ref(G_OBJECT(mix)); 113 MIX_RESULT mix_videofmtenc_h264_getcaps(MixVideoFormatEnc *mix, GString *msg) { 123 if (mix == NULL) { 124 LOG_E( "mix == NULL\n"); 130 return parent_class->getcaps(mix, msg); 135 MIX_RESULT mix_videofmtenc_h264_initialize(MixVideoFormatEnc *mix, 160 if (mix == NULL || config_params_enc == NULL || va_display == NULL) { 162 "mix == NULL || config_params_enc == NULL || va_display == NULL\n"); [all...] |
mixvideoformatenc_h264.h | 97 * @mix: object to add reference 102 MixVideoFormatEnc_H264 *mix_videoformatenc_h264_ref(MixVideoFormatEnc_H264 * mix); 115 MIX_RESULT mix_videofmtenc_h264_getcaps(MixVideoFormatEnc *mix, GString *msg); 116 MIX_RESULT mix_videofmtenc_h264_initialize(MixVideoFormatEnc *mix, 122 MIX_RESULT mix_videofmtenc_h264_encode(MixVideoFormatEnc *mix, MixBuffer * bufin[], 125 MIX_RESULT mix_videofmtenc_h264_flush(MixVideoFormatEnc *mix); 126 MIX_RESULT mix_videofmtenc_h264_eos(MixVideoFormatEnc *mix); 127 MIX_RESULT mix_videofmtenc_h264_deinitialize(MixVideoFormatEnc *mix); 128 MIX_RESULT mix_videofmtenc_h264_get_max_encoded_buf_size (MixVideoFormatEnc *mix, guint * max_size); 132 MIX_RESULT mix_videofmtenc_h264_process_encode (MixVideoFormatEnc_H264 *mix, MixBuffer * bufin, [all...] |
mixvideoformat_mp42.c | 102 /* MixVideoFormat_MP42 *mix = MIX_VIDEOFORMAT_MP42(obj); */ 168 mix_videoformat_mp42_ref(MixVideoFormat_MP42 * mix) { 169 return (MixVideoFormat_MP42 *) g_object_ref(G_OBJECT(mix)); 173 MIX_RESULT mix_videofmt_mp42_getcaps(MixVideoFormat *mix, GString *msg) { 179 return parent_class->getcaps(mix, msg); 186 MIX_RESULT mix_videofmt_mp42_initialize(MixVideoFormat *mix, 205 MixVideoFormat_MP42 *self = MIX_VIDEOFORMAT_MP42(mix); 207 if (mix == NULL || config_params == NULL || frame_mgr == NULL) { 211 if (!MIX_IS_VIDEOFORMAT_MP42(mix)) { 218 ret = parent_class->initialize(mix, config_params, frame_mgr [all...] |
/hardware/intel/common/libmix/mix_audio/src/ |
mixaudio.c | 42 * @title: Mix Audio Types 106 MIX_RESULT mix_audio_initialize_default(MixAudio *mix, MixCodecMode mode, MixAudioInitParams *aip, MixDrmParams *drminitparams); 107 MIX_RESULT mix_audio_configure_default(MixAudio *mix, MixAudioConfigParams *audioconfigparams, MixDrmParams *drmparams); 108 MIX_RESULT mix_audio_decode_default(MixAudio *mix, const MixIOVec *iovin, gint iovincnt, guint64 *insize, MixIOVec *iovout, gint iovoutcnt, guint64 *outsize); 109 MIX_RESULT mix_audio_capture_encode_default(MixAudio *mix, MixIOVec *iovout, gint iovoutcnt); 110 MIX_RESULT mix_audio_start_default(MixAudio *mix); 111 MIX_RESULT mix_audio_stop_drop_default(MixAudio *mix); 112 MIX_RESULT mix_audio_stop_drain_default(MixAudio *mix); 113 MIX_RESULT mix_audio_pause_default(MixAudio *mix); 114 MIX_RESULT mix_audio_resume_default(MixAudio *mix); 292 MixAudio *mix = MIX_AUDIO(obj); local [all...] |
mixaudio.h | 54 * @MIX_STATE_UNINITIALIZED: MIX is not initialized. 55 * @MIX_STATE_INITIALIZED: MIX is initialized. 56 * @MIX_STATE_CONFIGURED: MIX is configured successfully. 152 MIX_RESULT (*initialize) (MixAudio *mix, MixCodecMode mode, MixAudioInitParams *aip, MixDrmParams *drminitparams); 153 MIX_RESULT (*configure) (MixAudio *mix, MixAudioConfigParams *audioconfigparams, MixDrmParams *drmparams); 154 MIX_RESULT (*decode) (MixAudio *mix, const MixIOVec *iovin, gint iovincnt, guint64 *insize, MixIOVec *iovout, gint iovoutcnt, guint64 *outsize); 155 MIX_RESULT (*capture_encode) (MixAudio *mix, MixIOVec *iovout, gint iovoutcnt); 156 MIX_RESULT (*start) (MixAudio *mix); 157 MIX_RESULT (*stop_drop) (MixAudio *mix); 158 MIX_RESULT (*stop_drain) (MixAudio *mix); [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/d30v/ |
serial2.l | 2 .*:5: Error: Unable to mix instructions as specified 3 .*:6: Error: Unable to mix instructions as specified 4 .*:8: Error: Unable to mix instructions as specified 5 .*:9: Error: Unable to mix instructions as specified 6 .*:11: Error: Unable to mix instructions as specified 7 .*:12: Error: Unable to mix instructions as specified 8 .*:13: Error: Unable to mix instructions as specified 9 .*:14: Error: Unable to mix instructions as specified 10 .*:16: Error: Unable to mix instructions as specified 11 .*:17: Error: Unable to mix instructions as specifie [all...] |
serial2O.l | 2 .*:5: Error: Unable to mix instructions as specified 3 .*:6: Error: Unable to mix instructions as specified 4 .*:11: Error: Unable to mix instructions as specified 5 .*:12: Error: Unable to mix instructions as specified 6 .*:16: Error: Unable to mix instructions as specified 7 .*:17: Error: Unable to mix instructions as specified 8 .*:21: Error: Unable to mix instructions as specified 9 .*:22: Error: Unable to mix instructions as specified 10 .*:26: Error: Unable to mix instructions as specified 11 .*:27: Error: Unable to mix instructions as specifie [all...] |
serial.l | 2 .*:6: Error: Unable to mix instructions as specified 3 .*:7: Error: Unable to mix instructions as specified 4 .*:8: Error: Unable to mix instructions as specified 5 .*:9: Error: Unable to mix instructions as specified 15 .* Error: Unable to mix instructions as specified 18 .* Error: Unable to mix instructions as specified 23 .* Error: Unable to mix instructions as specified 28 .* Error: Unable to mix instructions as specified
|
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioPolicyConfig.java | 61 * @param mix a non-null {@link AudioMix} to be part of the audio policy. 65 public void addMix(AudioMix mix) throws IllegalArgumentException { 66 if (mix == null) { 69 mMixes.add(mix); 89 for (AudioMix mix : mMixes) { 90 // write mix route flags 91 dest.writeInt(mix.getRouteFlags()); 93 dest.writeInt(mix.mCallbackFlags); 95 dest.writeInt(mix.mDeviceSystemType); 96 dest.writeString(mix.mDeviceAddress) [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioPolicyMix.cpp | 45 void AudioPolicyMix::setMix(AudioMix &mix) 47 mMix = mix; 61 snprintf(buffer, SIZE, "%*sAudio Policy Mix %d:\n", spaces, "", index+1); 65 ALOGE("%s: failed to convert mix type %d", __FUNCTION__, mMix.mMixType); 68 snprintf(buffer, SIZE, "%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str()); 115 status_t AudioPolicyMixCollection::registerMix(const String8& address, AudioMix mix, 120 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string()); 124 policyMix->setMix(mix); 138 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string()); 151 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string()) 175 AudioMix *mix = policyMix->getMix(); local 297 AudioMix *mix = valueAt(i)->getMix(); local 331 AudioMix *mix = policyMix->getMix(); local 342 AudioMix *mix = audioPolicyMix->getMix(); local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestMix.rs | 28 return mix(inStart, inStop, inFraction); 34 return mix(inStart, inStop, inFraction); 40 return mix(inStart, inStop, inFraction); 46 return mix(inStart, inStop, inFraction); 52 return mix(inStart, inStop, inFraction); 58 return mix(inStart, inStop, inFraction); 64 return mix(inStart, inStop, inFraction); 70 return mix(inStart, inStop, inFraction); 76 return mix(inStart, inStop, inFraction); 82 return mix(inStart, inStop, inFraction) [all...] |