summaryrefslogtreecommitdiff
path: root/libavutil/spherical.c
Commit message (Collapse)AuthorAgeFilesLines
* avutil/spherical: Use av_strstart instead of strncmpAndreas Rheinhardt2021-02-281-2/+2
| | | | | | | It makes the intent clearer and avoids calculating the length separately. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* Mark some pointers as constAndreas Rheinhardt2021-01-011-1/+1
| | | | | Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avutil/spherical: add av_spherical_projection_name()James Almer2017-03-311-0/+27
| | | | | | Reviewed-by: Benoit Fouet <benoit.fouet@free.fr> Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/spherical: Make AVSphericalMapping pointer parameter const.Carl Eugen Hoyos2017-03-161-1/+1
| | | | | Reflects the actual code and silences a gcc warning: ffprobe.c:1797:42: warning: passing argument 1 of 'av_spherical_tile_bounds' discards 'const' qualifier from pointer target type
* spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-071-0/+18
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara2016-12-071-0/+34
While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>