Searched refs:myfp (Results 1 – 1 of 1) sorted by relevance
148 FILE *myfp = fopen(mybuf, "wb"); /* b - binary mode */ in rgb888_to_yv12() local149 (void) fprintf(myfp, "P6\n%d %d\n255\n", width, height); in rgb888_to_yv12()151 if (myfp == NULL) { in rgb888_to_yv12()154 fwrite(rgb_ptr0, width * height * rgb_stride, 1, myfp); in rgb888_to_yv12()155 fclose(myfp); in rgb888_to_yv12()