1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

vf_stereo3d: add alternating modes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2015-12-18 11:02:10 +01:00 committed by wm4
parent 5dd5dc66c1
commit f1909bc231

View File

@ -63,6 +63,8 @@ typedef enum stereo_code {
INTERLEAVE_ROWS_LR, //row-interleave (left eye has top row)
INTERLEAVE_ROWS_RL, //row-interleave (right eye has top row)
STEREO_AUTO, //use video metadata info (for input)
ALTERNATING_LR, //alternating frames (left first)
ALTERNATING_RL, //alternating frames (right first)
STEREO_CODE_COUNT //no value set - TODO: needs autodetection
} stereo_code;
@ -125,6 +127,8 @@ const struct m_opt_choice_alternatives stereo_code_names[] = {
{"interleave_rows_left_first", INTERLEAVE_ROWS_LR},
{"irr", INTERLEAVE_ROWS_RL},
{"interleave_rows_right_first", INTERLEAVE_ROWS_RL},
{"al", ALTERNATING_LR},
{"ar", ALTERNATING_RL},
// convenience alias for MP_STEREO3D_MONO
{"mono", MONO_L},
// for filter auto-insertion