Lines Matching refs:u

76 …fInputSampleSize = ioEncodedFormat->u.raw_video.display.line_count * ioEncodedFormat->u.raw_video.…  in Setup()
79 fInputSampleSize = (ioEncodedFormat->u.raw_audio.format & B_AUDIO_FORMAT_SIZE_MASK); in Setup()
80 fInputFrameSize = fInputSampleSize * ioEncodedFormat->u.raw_audio.channel_count; in Setup()
87 ioEncodedFormat->u.raw_audio.format &= B_AUDIO_FORMAT_MASK; in Setup()
89 switch (ioEncodedFormat->u.raw_audio.format) { in Setup()
98 ioEncodedFormat->u.raw_audio.format = B_AUDIO_FORMAT_INT32; in Setup()
102 ioEncodedFormat->u.raw_audio.format = B_AUDIO_FORMAT_FLOAT32; in Setup()
152 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
157 ioDecodedFormat->u.raw_audio.valid_bits = 0; in NegotiateAudioOutputFormat()
161 ioDecodedFormat->u.raw_audio.valid_bits = fInputFormat.u.raw_audio.valid_bits; in NegotiateAudioOutputFormat()
165 switch (fInputFormat.u.raw_audio.format & B_AUDIO_FORMAT_MASK) { in NegotiateAudioOutputFormat()
169 ioDecodedFormat->u.raw_audio.format = fInputFormat.u.raw_audio.format & B_AUDIO_FORMAT_MASK; in NegotiateAudioOutputFormat()
170 ioDecodedFormat->u.raw_audio.valid_bits = 0; in NegotiateAudioOutputFormat()
175 ioDecodedFormat->u.raw_audio.format = media_raw_audio_format::B_AUDIO_INT; in NegotiateAudioOutputFormat()
176 ioDecodedFormat->u.raw_audio.valid_bits = fInputFormat.u.raw_audio.valid_bits; in NegotiateAudioOutputFormat()
182 ioDecodedFormat->u.raw_audio.format = media_raw_audio_format::B_AUDIO_FLOAT; in NegotiateAudioOutputFormat()
183 ioDecodedFormat->u.raw_audio.valid_bits = 0; in NegotiateAudioOutputFormat()
189 ioDecodedFormat->u.raw_audio.frame_rate = fInputFormat.u.raw_audio.frame_rate; in NegotiateAudioOutputFormat()
190 ioDecodedFormat->u.raw_audio.channel_count = fInputFormat.u.raw_audio.channel_count; in NegotiateAudioOutputFormat()
192 fFrameRate = (int32) ioDecodedFormat->u.raw_audio.frame_rate; in NegotiateAudioOutputFormat()
194 fOutputSampleSize = (ioDecodedFormat->u.raw_audio.format & B_AUDIO_FORMAT_SIZE_MASK); in NegotiateAudioOutputFormat()
195 fOutputFrameSize = fOutputSampleSize * ioDecodedFormat->u.raw_audio.channel_count; in NegotiateAudioOutputFormat()
197 if (ioDecodedFormat->u.raw_audio.byte_order == 0) in NegotiateAudioOutputFormat()
198 ioDecodedFormat->u.raw_audio.byte_order = B_MEDIA_HOST_ENDIAN; in NegotiateAudioOutputFormat()
200 ioDecodedFormat->u.raw_audio.channel_mask = 0; in NegotiateAudioOutputFormat()
201 ioDecodedFormat->u.raw_audio.matrix_mask = 0; in NegotiateAudioOutputFormat()
203 ioDecodedFormat->u.raw_audio.buffer_size = fInputFormat.u.raw_audio.buffer_size; in NegotiateAudioOutputFormat()
217 fOutputBufferFrameCount = ioDecodedFormat->u.raw_audio.buffer_size / fOutputFrameSize; in NegotiateAudioOutputFormat()
220 if (fInputFormat.u.raw_audio.byte_order == B_MEDIA_HOST_ENDIAN) { in NegotiateAudioOutputFormat()
223 switch (fInputFormat.u.raw_audio.format & B_AUDIO_FORMAT_MASK) { in NegotiateAudioOutputFormat()
250 if (ioDecodedFormat->u.raw_audio.byte_order == B_MEDIA_HOST_ENDIAN) { in NegotiateAudioOutputFormat()
253 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
274 switch (fInputFormat.u.raw_audio.format & B_AUDIO_FORMAT_MASK) { in NegotiateAudioOutputFormat()
276 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
299 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
322 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
345 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
368 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
391 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
414 switch (ioDecodedFormat->u.raw_audio.format) { in NegotiateAudioOutputFormat()
505 int32 samples = frames * fInputFormat.u.raw_audio.channel_count; in Decode()
517 fSwapOutput(buffer, *frameCount * fInputFormat.u.raw_audio.channel_count); in Decode()
544 description.u.beos.format = B_BEOS_FORMAT_RAW_AUDIO; in GetSupportedFormats()
546 format.u.raw_audio = media_multi_audio_format::wildcard; in GetSupportedFormats()
555 description.u.beos.format = B_BEOS_FORMAT_RAW_VIDEO; in GetSupportedFormats()
557 format.u.raw_video = media_raw_video_format::wildcard; in GetSupportedFormats()