Home
last modified time | relevance | path

Searched refs:rawMediaFormat (Results 1 – 2 of 2) sorted by relevance

/haiku/src/tests/kits/media/mpeg2_decoder_test/
H A Dmpeg2_decoder_test.cpp129 media_format rawMediaFormat = CreateRawMediaFormat(); in main() local
131 = mpeg2Decoder->SetOutputFormat(&rawMediaFormat); in main()
202 media_format rawMediaFormat; in CreateRawMediaFormat() local
203 memset(&rawMediaFormat, 0, sizeof(media_format)); in CreateRawMediaFormat()
205 rawMediaFormat.type = B_MEDIA_RAW_VIDEO; in CreateRawMediaFormat()
206 rawMediaFormat.u.raw_video.display.format = B_RGB32; in CreateRawMediaFormat()
207 rawMediaFormat.u.raw_video.display.line_width = 720; in CreateRawMediaFormat()
208 rawMediaFormat.u.raw_video.display.line_count = 576; in CreateRawMediaFormat()
209 rawMediaFormat.u.raw_video.last_active in CreateRawMediaFormat()
210 = rawMediaFormat.u.raw_video.display.line_count - 1; in CreateRawMediaFormat()
[all …]
/haiku/src/tests/kits/media/mp3_decoder_test/
H A Dmp3_decoder_test.cpp170 media_format rawMediaFormat = CreateRawMediaFormat(); in InitializeMp3DecodingCookie() local
172 = cookie->decoder->SetOutputFormat(&rawMediaFormat); in InitializeMp3DecodingCookie()
177 = rawMediaFormat.u.raw_audio.buffer_size * 3; in InitializeMp3DecodingCookie()
238 media_format rawMediaFormat; in CreateRawMediaFormat() local
239 memset(&rawMediaFormat, 0, sizeof(media_format)); in CreateRawMediaFormat()
241 rawMediaFormat.type = B_MEDIA_RAW_AUDIO; in CreateRawMediaFormat()
242 rawMediaFormat.u.raw_audio.frame_rate = 48000; in CreateRawMediaFormat()
243 rawMediaFormat.u.raw_audio.channel_count = 2; in CreateRawMediaFormat()
244 rawMediaFormat.u.raw_audio.format = media_raw_audio_format::B_AUDIO_SHORT; in CreateRawMediaFormat()
245 rawMediaFormat.u.raw_audio.byte_order = B_MEDIA_HOST_ENDIAN; in CreateRawMediaFormat()
[all …]