2014年4月13日日曜日

AVCaptureSessionPresetInputPriorityの機能について

AVCaptureSessionのsessionPreset設定値の一覧
で意味のわからなかったAVCaptureSessionPresetInputPriorityの説明を
がんばらないで適当訳にしてみた。

【説明原文】
Specifies that the capture session does not control audio and video output settings.
To enable capture settings not supported by any session presets (such as high frame rate),
change the value of the activeFormat property on the appropriate capture device.
When you change the device’s format,
the session preset automatically changes to this value,
indicating that the AVCaptureSession object has relinquished responsibility for configuring its inputs and outputs.
(Instead, the capture device’s active format dictates the quality of service level provided at the outputs.)
To return to automatic configuration,
use the session’s sessionPreset property to choose another preset.

【適当訳】
キャプチャセッションが音声および映像出力セッティングをコントロールしないことを示しています。
セッションプリセットでサポートされてないキャプチャ設定を可能にします。(高いフレームレートとか)
適切なキャプチャデバイスのactiveFormatプロパティを変更してください。
デバイスのフォーマットを変更したとき、
セッションプリセットは自動的にこの値に変更され、
AVCaptureSessionオブジェクトが入出力を構成するのを放棄したことを示す。
(その代わり、キャプチャデバイスのアクティブなフォーマットは出力で提供するサービスレベルの品質を指示します。)
自動構成に戻ると、
そのセッションのsessionPresetプロパティを他のプリセットを選ぶために使う。


なるほど分からん。
随所にformatって書いてあるけどなんのこっちゃ。

0 件のコメント:

コメントを投稿