|
|
@@ -95,8 +95,8 @@ typedef struct AVPixFmtDescriptor{ |
|
|
|
extern const AVPixFmtDescriptor av_pix_fmt_descriptors[]; |
|
|
|
|
|
|
|
/** |
|
|
|
* Reads a line from an image, and writes to dst the values of the |
|
|
|
* pixel format component c. |
|
|
|
* Reads a line from an image, and writes the values of the |
|
|
|
* pixel format component c to dst. |
|
|
|
* |
|
|
|
* @param data the array containing the pointers to the planes of the image |
|
|
|
* @param linesizes the array containing the linesizes of the image |
|
|
@@ -106,8 +106,8 @@ extern const AVPixFmtDescriptor av_pix_fmt_descriptors[]; |
|
|
|
* @param w the width of the line to read, that is the number of |
|
|
|
* values to write to dst |
|
|
|
* @param read_pal_component if not zero and the format is a paletted |
|
|
|
* format writes to dst the values corresponding to the palette |
|
|
|
* component c in data[1], rather than the palette indexes in |
|
|
|
* format writes the values corresponding to the palette |
|
|
|
* component c in data[1] to dst, rather than the palette indexes in |
|
|
|
* data[0]. The behavior is undefined if the format is not paletted. |
|
|
|
*/ |
|
|
|
static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], |
|
|
|