|
FFmpeg
|
Represents a view into a single field of frame data. More...
#include <format.h>
Data Fields | |
| uint8_t * | data [4] |
| int | linesize [4] |
| int | width |
| Dimensions and format. | |
| int | height |
| enum AVPixelFormat | format |
| int | padding [4] |
| Number of bytes after the last pixel of each line that may be read (input frames) or written (output frames). | |
| const AVFrame * | avframe |
| Pointer to the original AVFrame, if there is a 1:1 correspondence. | |
Represents a view into a single field of frame data.
Ostensibly, this is a (non-compatible) subset of AVFrame, however, the semantics are VERY different.
Unlike AVFrame, this struct does NOT own any data references. All buffers referenced by a SwsFrame are managed externally. This merely represents a view into data.
This struct is not refcounted, and may be freely copied onto the stack.
| uint8_t* SwsFrame::data[4] |
Definition at line 208 of file format.h.
Referenced by op_pass_setup(), run_copy(), run_legacy_swscale(), run_rgb0(), run_rgb2xyz(), run_xyz2rgb(), and setup_legacy_swscale().
| int SwsFrame::linesize[4] |
Definition at line 209 of file format.h.
Referenced by op_pass_setup(), run_copy(), run_legacy_lut3d(), run_legacy_swscale(), run_legacy_unscaled(), run_rgb0(), run_rgb2xyz(), and run_xyz2rgb().
| int SwsFrame::width |
| int SwsFrame::height |
Definition at line 214 of file format.h.
Referenced by op_pass_setup().
| enum AVPixelFormat SwsFrame::format |
Definition at line 215 of file format.h.
Referenced by op_pass_setup(), and run_copy().
| int SwsFrame::padding[4] |
Number of bytes after the last pixel of each line that may be read (input frames) or written (output frames).
Definition at line 221 of file format.h.
Referenced by ff_sws_graph_run(), and op_pass_setup().
| const AVFrame* SwsFrame::avframe |