~ubuntu-branches/ubuntu/trusty/libav/trusty

« back to all changes in this revision

Viewing changes to libswscale/swscale_internal.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Jonathan Nieder, Reinhard Tartler
  • Date: 2011-05-13 12:31:33 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (1.3.4 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20110513123133-zqcsj91sf5489y4s
Tags: 4:0.7~beta2-1
[ Jonathan Nieder ]
* only install doc/APIChanges in *-dev and libav-doc packages
* move note on source package lineage to README.Debian
* install NEWS.Debian in libavcodec-dev
* use dpkg source format 3.0 (quilt)
* allow "debian/rules clean" as unprivileged user

[ Reinhard Tartler ]
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
#define is16BPS(x)      (           \
344
344
           (x)==PIX_FMT_GRAY16BE    \
345
345
        || (x)==PIX_FMT_GRAY16LE    \
 
346
        || (x)==PIX_FMT_BGR48BE     \
 
347
        || (x)==PIX_FMT_BGR48LE     \
346
348
        || (x)==PIX_FMT_RGB48BE     \
347
349
        || (x)==PIX_FMT_RGB48LE     \
348
350
        || (x)==PIX_FMT_YUV420P16LE \
352
354
        || (x)==PIX_FMT_YUV422P16BE \
353
355
        || (x)==PIX_FMT_YUV444P16BE \
354
356
    )
 
357
#define is9_OR_10BPS(x) (           \
 
358
           (x)==PIX_FMT_YUV420P9LE  \
 
359
        || (x)==PIX_FMT_YUV420P9BE  \
 
360
        || (x)==PIX_FMT_YUV420P10LE \
 
361
        || (x)==PIX_FMT_YUV420P10BE \
 
362
    )
355
363
#define isBE(x) ((x)&1)
356
364
#define isPlanar8YUV(x) (           \
357
365
           (x)==PIX_FMT_YUV410P     \
366
374
    )
367
375
#define isPlanarYUV(x)  (           \
368
376
        isPlanar8YUV(x)             \
 
377
        || (x)==PIX_FMT_YUV420P9LE  \
 
378
        || (x)==PIX_FMT_YUV420P10LE \
369
379
        || (x)==PIX_FMT_YUV420P16LE \
370
380
        || (x)==PIX_FMT_YUV422P16LE \
371
381
        || (x)==PIX_FMT_YUV444P16LE \
 
382
        || (x)==PIX_FMT_YUV420P9BE  \
 
383
        || (x)==PIX_FMT_YUV420P10BE \
372
384
        || (x)==PIX_FMT_YUV420P16BE \
373
385
        || (x)==PIX_FMT_YUV422P16BE \
374
386
        || (x)==PIX_FMT_YUV444P16BE \
407
419
        || (x)==PIX_FMT_MONOWHITE   \
408
420
    )
409
421
#define isBGRinInt(x)   (           \
410
 
           (x)==PIX_FMT_BGR32       \
 
422
           (x)==PIX_FMT_BGR48BE     \
 
423
        || (x)==PIX_FMT_BGR48LE     \
 
424
        || (x)==PIX_FMT_BGR32       \
411
425
        || (x)==PIX_FMT_BGR32_1     \
412
426
        || (x)==PIX_FMT_BGR24       \
413
427
        || (x)==PIX_FMT_BGR565BE    \
430
444
        || (x)==PIX_FMT_RGB24       \
431
445
    )
432
446
#define isBGRinBytes(x) (           \
433
 
           (x)==PIX_FMT_BGRA        \
 
447
           (x)==PIX_FMT_BGR48BE     \
 
448
        || (x)==PIX_FMT_BGR48LE     \
 
449
        || (x)==PIX_FMT_BGRA        \
434
450
        || (x)==PIX_FMT_ABGR        \
435
451
        || (x)==PIX_FMT_BGR24       \
436
452
    )