26 #ifndef AVUTIL_SPHERICAL_H 27 #define AVUTIL_SPHERICAL_H 207 size_t *left,
size_t *top,
208 size_t *right,
size_t *bottom);
int32_t pitch
Rotation around the right vector [-90, 90].
AVSphericalMapping * av_spherical_alloc(size_t *size)
Allocate a AVSphericalVideo structure and initialize its fields to default values.
Video represents a portion of a sphere mapped on a flat surface using equirectangular projection...
Video represents a sphere mapped on a flat surface using equirectangular projection.
void av_spherical_tile_bounds(const AVSphericalMapping *map, size_t width, size_t height, size_t *left, size_t *top, size_t *right, size_t *bottom)
Convert the bounding fields from an AVSphericalVideo from 0.32 fixed point to pixels.
uint32_t bound_bottom
Distance from the bottom edge.
Video frame is split into 6 faces of a cube, and arranged on a 3x2 layout.
uint32_t bound_right
Distance from the right edge.
int av_spherical_from_name(const char *name)
Get the AVSphericalProjection form a human-readable name.
int32_t yaw
Rotation around the up vector [-180, 180].
uint32_t padding
Number of pixels to pad from the edge of each cube face.
AVSphericalProjection
Projection of the video surface(s) on a sphere.
int32_t roll
Rotation around the forward vector [-180, 180].
const VDPAUPixFmtMap * map
This structure describes how to handle spherical videos, outlining information about projection...
uint32_t bound_top
Distance from the top edge.
enum AVSphericalProjection projection
Projection type.
uint32_t bound_left
Distance from the left edge.
const char * av_spherical_projection_name(enum AVSphericalProjection projection)
Provide a human-readable name of a given AVSphericalProjection.