Home
last modified time | relevance | path

Searched refs:field_rate (Results 1 – 25 of 28) sorted by relevance

12

/haiku/src/add-ons/media/media-add-ons/radeon/
H A DRadeonProducer.cpp633 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 DProducer.cpp267 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 DVideoProducer.cpp368 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 DProducer.cpp220 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 DProducer.cpp380 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 DMediaDefs.cpp284 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 DMediaTrack.cpp1014 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 Dmedia_format_schema10 field_rate = '30'
H A DMediaFormatIO.cpp631 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 DAVCodecEncoder.cpp299 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 DAVCodecDecoder.cpp563 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 DAVFormatWriter.cpp140 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 DProducer.cpp568 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 DVideoNode.cpp265 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 DVideoNode.cpp227 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 DImageTrackVideoSupplier.cpp24 fFormat.u.encoded_video.output.field_rate = 0.0; in ImageTrackVideoSupplier()
/haiku/src/apps/mediaconverter/
H A DMediaFileInfo.cpp82 rvf->field_rate / rvf->interlace); in LoadInfo()
/haiku/src/apps/cortex/support/
H A DMediaString.cpp342 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 DMediaOutputInfo.cpp249 / format.u.raw_video.field_rate); in ComputeBufferPeriod()
/haiku/src/tests/kits/media/nodetest/
H A DConsumerNode.cpp156 SetBufferDuration((1000000LL * numBuffers) / mOutput.format.u.raw_video.field_rate); in Connected()
/haiku/src/tests/kits/media/mpeg2_decoder_test/
H A Dmpeg2_decoder_test.cpp213 rawMediaFormat.u.raw_video.field_rate = 0; // wildcard in CreateRawMediaFormat()
/haiku/src/apps/cortex/InfoView/
H A DEndPointInfoView.cpp198 s = MediaString::forVideoFieldRate(format.u.raw_video.field_rate, in _addFormatFields()
H A DConnectionInfoView.cpp163 s = MediaString::forVideoFieldRate(format.u.raw_video.field_rate, in _addFormatFields()
/haiku/src/apps/mediaplayer/
H A DInfoWin.cpp424 videoFormat.field_rate); in _UpdateVideo()
/haiku/headers/os/media/
H A DMediaDefs.h374 float field_rate; member

12