mbox series

[FFmpeg-devel,v5,0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

Message ID 20240919142116.239725-1-aimingoff@pc.nifty.jp
Headers show
Series lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter | expand

Message

TADANO Tokumei Sept. 19, 2024, 2:21 p.m. UTC
This is updated patch of:
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=3943
I contacted to Ronan LE MEILLAT and agreed with him to submit new patch.

Abstruct of GoPro Max .360 video file format is described in:
https://gopro.com/news/max-tech-specs-stitching-resolution

The specification is little bit buggy.
The format is based on EAC (Equi-Angular Cubemap), and there are overlapped
pixels at boundaries of front and rear cams.
Probably, the desinger intended to add 2 x 32 (= total 64) ovelapped pixels.
But actual format has 2 x 64 pixels overlapped area.
Thus the width will be 2 x 32 pixels shorter than standard EAC format after
blending overlapped area.

This filter blends overlapped area, stretches the width of the cube,
and combine two streams into single stream with standard format.

v3: modifies `configure` file to add dependency on opencl.
v4: fix small difference from v360 filter in xyz_to_eac()
v5: rebase to latest master (drop internal.h)

TADANO Tokumei (1):
  lavfi/vf_gopromax_opencl: add GoPro Max 360 video filter

 configure                        |   1 +
 doc/filters.texi                 |  78 +++++++
 libavfilter/Makefile             |   2 +
 libavfilter/allfilters.c         |   1 +
 libavfilter/opencl/gopromax.cl   | 282 +++++++++++++++++++++++++
 libavfilter/opencl_source.h      |   1 +
 libavfilter/vf_gopromax_opencl.c | 350 +++++++++++++++++++++++++++++++
 7 files changed, 715 insertions(+)
 create mode 100644 libavfilter/opencl/gopromax.cl
 create mode 100644 libavfilter/vf_gopromax_opencl.c