Lines Matching refs:format
118 p+=s->format->BytesPerPixel;
151 p+=s->format->BytesPerPixel;
184 p+=s->format->BytesPerPixel;
220 p+=s->format->BytesPerPixel;
256 p+=s->format->BytesPerPixel;
271 fprintf(stderr, " -format <fmt> (one of the: YV12, IYUV, YUY2, UYVY, YVYU)\n");
329 if (strcmp(argv[1], "-format") == 0)
345 fprintf(stderr, "The -format option %s is not recognized, see help for info.\n", argv[2]);
353 fprintf(stderr, "The -format option requires an argument, default is YUY2.\n");
439 SDL_PixelFormat format;
441 format.palette=NULL;
442 format.BitsPerPixel=32;
443 format.BytesPerPixel=4;
445 format.Rshift=0;
446 format.Gshift=8;
447 format.Bshift=16;
449 format.Rshift=24;
450 format.Gshift=16;
451 format.Bshift=8;
453 format.Ashift=0;
454 format.Rmask=0xff<<format.Rshift;
455 format.Gmask=0xff<<format.Gshift;
456 format.Bmask=0xff<<format.Bshift;
457 format.Amask=0;
458 format.Rloss=0;
459 format.Gloss=0;
460 format.Bloss=0;
461 format.Aloss=8;
462 format.colorkey=0;
463 format.alpha=0;
465 newsurf=SDL_ConvertSurface(MooseFrame[i], &format, SDL_SWSURFACE);
487 overlay->format==SDL_YV12_OVERLAY?"YV12":
488 overlay->format==SDL_IYUV_OVERLAY?"IYUV":
489 overlay->format==SDL_YUY2_OVERLAY?"YUY2":
490 overlay->format==SDL_UYVY_OVERLAY?"UYVY":
491 overlay->format==SDL_YVYU_OVERLAY?"YVYU":