Commit 51a2f021 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_v360: add fixed pixel padding options

parent 79d14a3c
...@@ -17961,6 +17961,12 @@ No padding. ...@@ -17961,6 +17961,12 @@ No padding.
Default value is @b{@samp{0}}. Default value is @b{@samp{0}}.
@item fin_pad
@item fout_pad
Set fixed padding for the input/output cubemap. Values in pixels.
Default value is @b{@samp{0}}. If greater than zero it overrides other padding options.
@item in_forder @item in_forder
@item out_forder @item out_forder
Set order of faces for the input/output cubemap. Choose one direction for each position. Set order of faces for the input/output cubemap. Choose one direction for each position.
......
...@@ -114,6 +114,7 @@ typedef struct V360Context { ...@@ -114,6 +114,7 @@ typedef struct V360Context {
int in_stereo, out_stereo; int in_stereo, out_stereo;
float in_pad, out_pad; float in_pad, out_pad;
int fin_pad, fout_pad;
float yaw, pitch, roll; float yaw, pitch, roll;
...@@ -129,6 +130,9 @@ typedef struct V360Context { ...@@ -129,6 +130,9 @@ typedef struct V360Context {
float input_mirror_modifier[2]; float input_mirror_modifier[2];
float output_mirror_modifier[3]; float output_mirror_modifier[3];
int in_width, in_height;
int out_width, out_height;
int pr_width[4], pr_height[4]; int pr_width[4], pr_height[4];
int in_offset_w[4], in_offset_h[4]; int in_offset_w[4], in_offset_h[4];
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment