/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | RadeonProducer.cpp | 633 if( format->u.raw_video.field_rate == media_raw_video_format::wildcard.field_rate ) { in verifySetMode() 635 format->u.raw_video.field_rate = frame_rate * format->u.raw_video.interlace; in verifySetMode() 637 if( format->u.raw_video.field_rate == frame_rate ) in verifySetMode() 639 else if( format->u.raw_video.field_rate == frame_rate * 2 ) in verifySetMode() 643 format->u.raw_video.field_rate )); in verifySetMode() 649 if( format->u.raw_video.field_rate == media_raw_video_format::wildcard.field_rate ) in verifySetMode() 650 format->u.raw_video.field_rate = frame_rate; in verifySetMode() 653 if( fabs(format->u.raw_video.field_rate - frame_rate) > 0.001 ) { in verifySetMode() 655 format->u.raw_video.field_rate - 29.976, in verifySetMode() 662 if( format->u.raw_video.field_rate == media_raw_video_format::wildcard.field_rate ) in verifySetMode() [all …]
|
/haiku/src/add-ons/media/media-add-ons/video_producer_demo/ |
H A D | Producer.cpp | 267 if (fOutput.format.u.raw_video.field_rate == 0) in FormatSuggestionRequested() 268 fOutput.format.u.raw_video.field_rate = 29.97f; in FormatSuggestionRequested() 384 if (format->u.raw_video.field_rate == 0) in PrepareToConnect() 385 format->u.raw_video.field_rate = 29.97f; in PrepareToConnect() 418 if (fOutput.format.u.raw_video.field_rate != 0.0f) { in Connect() 422 (1000000 / fOutput.format.u.raw_video.field_rate)); in Connect() 673 (1000000 / fConnectedFormat.field_rate)), 0) - in FrameGenerator() 713 (1000000 / fConnectedFormat.field_rate)); in FrameGenerator()
|
/haiku/src/apps/mediaplayer/media_node_framework/video/ |
H A D | VideoProducer.cpp | 368 if (format->u.raw_video.field_rate == 0) { in PrepareToConnect() 369 format->u.raw_video.field_rate in PrepareToConnect() 370 = fSupplier->Format().u.raw_video.field_rate; in PrepareToConnect() 416 if (fConnectedFormat.field_rate != 0.0f) { in Connect() 419 * 1000000LL / fConnectedFormat.field_rate); in Connect() 421 fBufferDuration = bigtime_t(1000000LL / fConnectedFormat.field_rate); in Connect()
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | Producer.cpp | 220 fOutput.format.u.raw_video.field_rate = FIELD_RATE; // XXX: mmu in NodeRegistered() 349 format->u.raw_video.field_rate = FIELD_RATE; in FormatSuggestionRequested() 526 if (format->u.raw_video.field_rate == 0) in PrepareToConnect() 527 format->u.raw_video.field_rate = FIELD_RATE; in PrepareToConnect() 567 if (fOutput.format.u.raw_video.field_rate != 0.0f) { in Connect() 571 (1000000 / fOutput.format.u.raw_video.field_rate)); in Connect() 914 (1000000 / fConnectedFormat.field_rate)) - in FrameGenerator()
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixProducer/ |
H A D | Producer.cpp | 380 if (format->u.raw_video.field_rate == 0) in PrepareToConnect() 381 format->u.raw_video.field_rate = 29.97f; in PrepareToConnect() 414 if (fOutput.format.u.raw_video.field_rate != 0.0f) { in Connect() 418 (1000000 / fOutput.format.u.raw_video.field_rate)); in Connect() 690 (1000000 / fConnectedFormat.field_rate)) - in FrameGenerator()
|
/haiku/src/kits/media/ |
H A D | MediaDefs.cpp | 284 if (a.field_rate != 0 && b.field_rate != 0 in raw_video_format_matches() 285 && a.field_rate != b.field_rate) { in raw_video_format_matches() 571 if (format->field_rate == 0) in raw_video_format_specialize() 572 format->field_rate = other->field_rate; in raw_video_format_specialize() 983 return a.field_rate == b.field_rate in operator ==() 1140 f.u.raw_video.field_rate, in string_for_format() 1180 f.u.encoded_video.output.field_rate, in string_for_format()
|
H A D | MediaTrack.cpp | 1014 return fFormat.u.raw_video.field_rate; in _FrameRate() 1016 return fFormat.u.encoded_video.output.field_rate; in _FrameRate()
|
/haiku/src/apps/cortex/Persistence/Wrappers/ |
H A D | media_format_schema | 10 field_rate = '30'
|
H A D | MediaFormatIO.cpp | 631 if(f.field_rate != w.field_rate) in export_raw_video_attr() 632 context.writeAttr(gKey_field_rate, f.field_rate); in export_raw_video_attr() 1033 f.field_rate = atof(value); in import_raw_video_attribute()
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVCodecEncoder.cpp | 299 fCodecContext->time_base = (AVRational){1, (int)fInputFormat.u.raw_video.field_rate}; in _Setup() 300 fCodecContext->framerate = (AVRational){(int)fInputFormat.u.raw_video.field_rate, 1}; in _Setup() 323 * fInputFormat.u.raw_video.field_rate) * 8; in _Setup() 729 / fInputFormat.u.raw_video.field_rate);
|
H A D | AVCodecDecoder.cpp | 563 float fromFormat = fInputFormat.u.encoded_video.output.field_rate; in _NegotiateVideoOutputFormat() 565 inOutFormat->u.raw_video.field_rate = fromFormat; in _NegotiateVideoOutputFormat() 570 inOutFormat->u.raw_video.field_rate = av_q2d(fCodecContext->framerate); in _NegotiateVideoOutputFormat() 1360 if (containerProperties.field_rate > 0.0) { in _ApplyEssentialVideoContainerPropertiesToContext() 1361 ConvertVideoFrameRateToAVCodecContext(containerProperties.field_rate, in _ApplyEssentialVideoContainerPropertiesToContext()
|
H A D | AVFormatWriter.cpp | 140 fStream->time_base.den = (int)format->u.raw_video.field_rate; in Init()
|
/haiku/src/add-ons/media/media-add-ons/usb_vision/ |
H A D | Producer.cpp | 568 if (format->u.raw_video.field_rate == 0) in PrepareToConnect() 569 format->u.raw_video.field_rate = 29.97f; in PrepareToConnect() 602 if (fOutput.format.u.raw_video.field_rate != 0.0f) { in Connect() 606 (1000000 / fOutput.format.u.raw_video.field_rate)); in Connect() 1100 (1000000 / fConnectedFormat.field_rate)), 0) - in FrameGenerator() 1140 (1000000 / fConnectedFormat.field_rate)); in FrameGenerator()
|
/haiku/src/apps/tv/ |
H A D | VideoNode.cpp | 265 if (fInput.format.u.raw_video.field_rate < 1.0) in Connected() 266 fInput.format.u.raw_video.field_rate = 25.0; in Connected()
|
/haiku/src/add-ons/media/media-add-ons/videowindow/ |
H A D | VideoNode.cpp | 227 if (fInput.format.u.raw_video.field_rate < 1.0) in Connected() 228 fInput.format.u.raw_video.field_rate = 25.0; in Connected()
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | ImageTrackVideoSupplier.cpp | 24 fFormat.u.encoded_video.output.field_rate = 0.0; in ImageTrackVideoSupplier()
|
/haiku/src/apps/mediaconverter/ |
H A D | MediaFileInfo.cpp | 82 rvf->field_rate / rvf->interlace); in LoadInfo()
|
/haiku/src/apps/cortex/support/ |
H A D | MediaString.cpp | 342 if (format.field_rate != media_raw_video_format::wildcard.field_rate) { in getStringFor() 343 s << (empty ? "" : ", ") << forVideoFieldRate(format.field_rate, in getStringFor() 1069 if (fieldRate == media_raw_video_format::wildcard.field_rate) { in forVideoFieldRate()
|
/haiku/src/add-ons/media/media-add-ons/demultiplexer/ |
H A D | MediaOutputInfo.cpp | 249 / format.u.raw_video.field_rate); in ComputeBufferPeriod()
|
/haiku/src/tests/kits/media/nodetest/ |
H A D | ConsumerNode.cpp | 156 SetBufferDuration((1000000LL * numBuffers) / mOutput.format.u.raw_video.field_rate); in Connected()
|
/haiku/src/tests/kits/media/mpeg2_decoder_test/ |
H A D | mpeg2_decoder_test.cpp | 213 rawMediaFormat.u.raw_video.field_rate = 0; // wildcard in CreateRawMediaFormat()
|
/haiku/src/apps/cortex/InfoView/ |
H A D | EndPointInfoView.cpp | 198 s = MediaString::forVideoFieldRate(format.u.raw_video.field_rate, in _addFormatFields()
|
H A D | ConnectionInfoView.cpp | 163 s = MediaString::forVideoFieldRate(format.u.raw_video.field_rate, in _addFormatFields()
|
/haiku/src/apps/mediaplayer/ |
H A D | InfoWin.cpp | 424 videoFormat.field_rate); in _UpdateVideo()
|
/haiku/headers/os/media/ |
H A D | MediaDefs.h | 374 float field_rate; member
|