Lines Matching refs:format
266 const media_multi_audio_format &format, in getStringFor() argument
274 if (format.frame_rate != media_raw_audio_format::wildcard.frame_rate) { in getStringFor()
275 s << (empty ? "" : ", ") << forAudioFrameRate(format.frame_rate); in getStringFor()
280 if (format.format != media_raw_audio_format::wildcard.format) { in getStringFor()
281 s << (empty ? "" : ", ") << forAudioFormat(format.format, format.valid_bits); in getStringFor()
286 if (format.channel_count != media_raw_audio_format::wildcard.channel_count) { in getStringFor()
287 s << (empty ? "" : ", ") << forAudioChannelCount(format.channel_count); in getStringFor()
293 if (format.channel_mask != media_multi_audio_format::wildcard.channel_mask) { in getStringFor()
294 s << (empty ? "" : " ") << "(" << forAudioChannelMask(format.channel_mask) << ")"; in getStringFor()
299 if (format.matrix_mask != media_multi_audio_format::wildcard.matrix_mask) { in getStringFor()
300 s << (empty ? "" : " ") << "(" << forAudioMatrixMask(format.matrix_mask) << ")"; in getStringFor()
305 if (format.byte_order != media_raw_audio_format::wildcard.byte_order) { in getStringFor()
306 s << (empty ? "" : ", ") << forAudioByteOrder(format.byte_order); in getStringFor()
311 if (format.buffer_size != media_raw_audio_format::wildcard.buffer_size) { in getStringFor()
312 s << (empty ? "" : ", ") << forAudioBufferSize(format.buffer_size); in getStringFor()
321 const media_raw_video_format &format, in getStringFor() argument
329 if (format.display.format != media_video_display_info::wildcard.format) { in getStringFor()
330 s << (empty ? "" : ", ") << forVideoFormat(format.display.format); in getStringFor()
335 if ((format.display.line_width != media_video_display_info::wildcard.line_width) in getStringFor()
336 && (format.display.line_count != media_video_display_info::wildcard.line_count)) { in getStringFor()
337 s << (empty ? "" : ", ") << forVideoResolution(format.display.line_width, in getStringFor()
338 format.display.line_count); in getStringFor()
342 if (format.field_rate != media_raw_video_format::wildcard.field_rate) { in getStringFor()
343 s << (empty ? "" : ", ") << forVideoFieldRate(format.field_rate, in getStringFor()
344 format.interlace); in getStringFor()
351 if ((format.pixel_width_aspect != media_raw_video_format::wildcard.pixel_width_aspect) in getStringFor()
352 && (format.pixel_height_aspect != media_raw_video_format::wildcard.pixel_height_aspect)) { in getStringFor()
353 s << (empty ? "" : ", ") << forVideoAspectRatio(format.pixel_width_aspect, in getStringFor()
354 format.pixel_height_aspect); in getStringFor()
359 if (format.orientation != media_raw_video_format::wildcard.orientation) { in getStringFor()
360 s << (empty ? "" : ", ") << forVideoOrientation(format.orientation); in getStringFor()
365 if ((format.first_active != media_raw_video_format::wildcard.first_active) in getStringFor()
366 && (format.last_active != media_raw_video_format::wildcard.last_active)) { in getStringFor()
367 s << (empty ? "" : ", ") << forVideoActiveLines(format.first_active, in getStringFor()
368 format.last_active); in getStringFor()
376 const media_encoded_audio_format &format, in getStringFor() argument
384 if (format.bit_rate != media_encoded_audio_format::wildcard.bit_rate) { in getStringFor()
385 s << (empty ? "" : ", ") << forAudioBitRate(format.bit_rate); in getStringFor()
390 if (format.frame_size != media_encoded_audio_format::wildcard.frame_size) { in getStringFor()
391 s << (empty ? "" : ", ") << forAudioFrameSize(format.frame_size); in getStringFor()
398 const media_encoded_video_format &format, in getStringFor() argument
406 if ((format.avg_bit_rate != media_encoded_video_format::wildcard.avg_bit_rate) in getStringFor()
407 && (format.max_bit_rate != media_encoded_video_format::wildcard.max_bit_rate)) { in getStringFor()
408 s << (empty ? "" : ", ") << forVideoBitRate(format.avg_bit_rate, in getStringFor()
409 format.max_bit_rate); in getStringFor()
416 if (format.frame_size != media_encoded_video_format::wildcard.frame_size) { in getStringFor()
417 s << (empty ? "" : ", ") << forVideoFrameSize(format.frame_size); in getStringFor()
422 if ((format.forward_history != media_encoded_video_format::wildcard.forward_history) in getStringFor()
423 && (format.backward_history != media_encoded_video_format::wildcard.backward_history)) { in getStringFor()
424 s << (empty ? "" : ", ") << forVideoHistory(format.forward_history, in getStringFor()
425 format.backward_history); in getStringFor()
434 const media_multistream_format &format, in getStringFor() argument
442 if (format.format != media_multistream_format::wildcard.format) { in getStringFor()
443 s << (empty ? "" : ", ") << forMultistreamFormat(format.format); in getStringFor()
448 if ((format.avg_bit_rate != media_multistream_format::wildcard.avg_bit_rate) in getStringFor()
449 && (format.max_bit_rate != media_multistream_format::wildcard.max_bit_rate)) { in getStringFor()
450 s << (empty ? "" : ", ") << forMultistreamBitRate(format.avg_bit_rate, in getStringFor()
451 format.max_bit_rate); in getStringFor()
458 if ((format.avg_chunk_size != media_multistream_format::wildcard.avg_chunk_size) in getStringFor()
459 && (format.max_chunk_size != media_multistream_format::wildcard.max_chunk_size)) { in getStringFor()
460 s << (empty ? "" : ", ") << forMultistreamChunkSize(format.avg_chunk_size, in getStringFor()
461 format.max_chunk_size); in getStringFor()
466 if (format.flags != media_multistream_format::wildcard.flags) { in getStringFor()
467 s << (empty ? "" : ", ") << forMultistreamFlags(format.flags); in getStringFor()
476 const media_format &format, in getStringFor() argument
480 BString s = getStringFor(format.type, complete); in getStringFor()
481 switch (format.type) { in getStringFor()
483 BString formatInfo = getStringFor(format.u.raw_audio, complete); in getStringFor()
489 BString formatInfo = getStringFor(format.u.raw_video, complete); in getStringFor()
495 BString formatInfo = getStringFor(format.u.encoded_audio, complete); in getStringFor()
501 BString formatInfo = getStringFor(format.u.encoded_video, complete); in getStringFor()
507 BString formatInfo = getStringFor(format.u.multistream, complete); in getStringFor()
567 uint32 format, in forAudioFormat() argument
571 if (format == media_raw_audio_format::wildcard.format) { in forAudioFormat()
575 switch (format) { in forAudioFormat()
588 static BStringFormat format( in forAudioFormat() local
590 format.Format(s, validBits); in forAudioFormat()
633 static BStringFormat format( in forAudioChannelCount() local
636 format.Format(s, channelCount); in forAudioChannelCount()
674 static BStringFormat format(B_TRANSLATE( in forAudioBufferSize() local
676 format.Format(s, bufferSize); in forAudioBufferSize()
935 static BStringFormat format(B_TRANSLATE("{0, plural," in forAudioFrameSize() local
938 format.Format(s, frameSize); in forAudioFrameSize()
948 color_space format) in forVideoFormat() argument
952 if (format == media_video_display_info::wildcard.format) { in forVideoFormat()
956 switch (format) { in forVideoFormat()
1159 static BStringFormat format(B_TRANSLATE("{0, plural, one{# byte per row}" in forVideoBytesPerRow() local
1161 format.Format(s, bytesPerRow); in forVideoBytesPerRow()
1173 static BStringFormat format( in forVideoOffset() local
1175 format.Format(s, pixelOffset); in forVideoOffset()
1182 static BStringFormat format( in forVideoOffset() local
1184 format.Format(t, lineOffset); in forVideoOffset()
1230 static BStringFormat format(B_TRANSLATE("{0, plural," in forVideoFrameSize() local
1233 format.Format(s, frameSize); in forVideoFrameSize()
1245 static BStringFormat format(B_TRANSLATE("{0, plural," in forVideoHistory() local
1248 format.Format(s, static_cast<int32>(forwardHistory)); in forVideoHistory()
1255 static BStringFormat format(B_TRANSLATE("{0, plural," in forVideoHistory() local
1258 format.Format(t, static_cast<int32>(backwardHistory)); in forVideoHistory()
1273 int32 format) in forMultistreamFormat() argument
1277 if (format == media_multistream_format::wildcard.format) { in forMultistreamFormat()
1281 switch (format) { in forMultistreamFormat()
1327 static BStringFormat format(B_TRANSLATE("{0, plural," in forMultistreamChunkSize() local
1330 format.Format(s, avgChunkSize); in forMultistreamChunkSize()
1336 static BStringFormat format(B_TRANSLATE("{0, plural," in forMultistreamChunkSize() local
1339 format.Format(s, maxChunkSize); in forMultistreamChunkSize()