Mercurial > libavcodec.hg
comparison avcodec.h @ 7832:573f52f011c0 libavcodec
avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
author | michael |
---|---|
date | Mon, 08 Sep 2008 18:29:08 +0000 |
parents | 8195c970d077 |
children | 52d04dea9491 |
comparison
equal
deleted
inserted
replaced
7831:8195c970d077 | 7832:573f52f011c0 |
---|---|
2442 * @param[in] src_pix_fmt source pixel format | 2442 * @param[in] src_pix_fmt source pixel format |
2443 * @param[in] has_alpha Whether the source pixel format alpha channel is used. | 2443 * @param[in] has_alpha Whether the source pixel format alpha channel is used. |
2444 * @param[out] loss_ptr Combination of flags informing you what kind of losses will occur. | 2444 * @param[out] loss_ptr Combination of flags informing you what kind of losses will occur. |
2445 * @return The best pixel format to convert to or -1 if none was found. | 2445 * @return The best pixel format to convert to or -1 if none was found. |
2446 */ | 2446 */ |
2447 int avcodec_find_best_pix_fmt(int pix_fmt_mask, int src_pix_fmt, | 2447 int avcodec_find_best_pix_fmt(int64_t pix_fmt_mask, int src_pix_fmt, |
2448 int has_alpha, int *loss_ptr); | 2448 int has_alpha, int *loss_ptr); |
2449 | 2449 |
2450 | 2450 |
2451 /** | 2451 /** |
2452 * Print in buf the string corresponding to the pixel format with | 2452 * Print in buf the string corresponding to the pixel format with |