Lines Matching defs:input
650 static int apng_do_inverse_blend(AVFrame *output, const AVFrame *input,
653 // output: background, input: foreground
657 unsigned int leftmost_x = input->width;
659 unsigned int topmost_y = input->height;
661 const uint8_t *input_data = input->data[0];
663 ptrdiff_t input_linesize = input->linesize[0];
667 for (y = 0; y < input->height; ++y) {
668 for (x = 0; x < input->width; ++x) {
686 if (leftmost_x == input->width && rightmost_x == 0) {
698 input->data[0] + input_linesize * y + bpp * leftmost_x,
706 switch (input->format) {
714 palette = (uint32_t*)input->data[1];
726 uint8_t *foreground = input->data[0] + input_linesize * y + bpp * leftmost_x;
731 if (input->format == AV_PIX_FMT_PAL8) {
748 switch (input->format) {