Lines Matching defs:cpp
292 static int ascii2index(const uint8_t *cpixel, int cpp)
297 for (i = 0; i < cpp; i++) {
311 int ncolors, cpp, ret, i, j;
336 &width, &height, &ncolors, &cpp) != 4) {
344 if (cpp <= 0 || cpp >= 5) {
345 av_log(avctx, AV_LOG_ERROR, "unsupported/invalid number of chars per pixel: %d\n", cpp);
350 for (i = 0; i < cpp; i++)
379 if (end - ptr < cpp)
382 ptr += cpp;
393 if ((ret = ascii2index(index, cpp)) < 0)
411 if (end - ptr < cpp)
414 if ((ret = ascii2index(ptr, cpp)) < 0)
418 ptr += cpp;