XSIZE 706 libavcodec/imgresample.c uint8_t img[XSIZE * YSIZE]; XSIZE 751 libavcodec/imgresample.c for(x=0;x<XSIZE;x++) { XSIZE 752 libavcodec/imgresample.c if (x < XSIZE/2 && y < YSIZE/2) { XSIZE 753 libavcodec/imgresample.c if (x < XSIZE/4 && y < YSIZE/4) { XSIZE 759 libavcodec/imgresample.c } else if (x < XSIZE/4) { XSIZE 764 libavcodec/imgresample.c } else if (y < XSIZE/4) { XSIZE 783 libavcodec/imgresample.c } else if (x < XSIZE/2) { XSIZE 784 libavcodec/imgresample.c v = ((x - (XSIZE/2)) * 255) / (XSIZE/2); XSIZE 785 libavcodec/imgresample.c } else if (y < XSIZE/2) { XSIZE 786 libavcodec/imgresample.c v = ((y - (XSIZE/2)) * 255) / (XSIZE/2); XSIZE 788 libavcodec/imgresample.c v = ((x + y - XSIZE) * 255) / XSIZE; XSIZE 790 libavcodec/imgresample.c img[(YSIZE - y) * XSIZE + (XSIZE - x)] = v; XSIZE 793 libavcodec/imgresample.c save_pgm("/tmp/in.pgm", img, XSIZE, YSIZE); XSIZE 796 libavcodec/imgresample.c xsize = (int)(XSIZE * fact); XSIZE 798 libavcodec/imgresample.c s = img_resample_full_init(xsize, ysize, XSIZE, YSIZE, 50 ,50, 0, 0, 0, 0, 0, 0); XSIZE 802 libavcodec/imgresample.c img + 50 * XSIZE, XSIZE, XSIZE, YSIZE - 100); XSIZE 813 libavcodec/imgresample.c xsize = (int)(XSIZE * fact); XSIZE 816 libavcodec/imgresample.c s = img_resample_init(xsize, ysize, XSIZE, YSIZE); XSIZE 818 libavcodec/imgresample.c img, XSIZE, XSIZE, YSIZE); XSIZE 821 libavcodec/imgresample.c s = img_resample_init(xsize, ysize, XSIZE, YSIZE); XSIZE 823 libavcodec/imgresample.c img, XSIZE, XSIZE, YSIZE);