Revision f72d40b0

View differences:

libavcodec/imgconvert.c
58 58
    uint8_t color_type;      /**< color type (see FF_COLOR_xxx constants) */
59 59
    uint8_t pixel_type;      /**< pixel storage type (see FF_PIXEL_xxx constants) */
60 60
    uint8_t is_alpha : 1;    /**< true if alpha can be specified */
61
    uint8_t is_hwaccel : 1;  /**< true if this is an HW accelerated format */
62 61
    uint8_t depth;           /**< bit depth of the color components */
63 62
} PixFmtInfo;
64 63

  
......
316 315
    },
317 316
    [PIX_FMT_XVMC_MPEG2_MC] = {
318 317
        .name = "xvmcmc",
319
        .is_hwaccel = 1,
320 318
    },
321 319
    [PIX_FMT_XVMC_MPEG2_IDCT] = {
322 320
        .name = "xvmcidct",
323
        .is_hwaccel = 1,
324 321
    },
325 322
    [PIX_FMT_VDPAU_MPEG1] = {
326 323
        .name = "vdpau_mpeg1",
327
        .is_hwaccel = 1,
328 324
    },
329 325
    [PIX_FMT_VDPAU_MPEG2] = {
330 326
        .name = "vdpau_mpeg2",
331
        .is_hwaccel = 1,
332 327
    },
333 328
    [PIX_FMT_VDPAU_H264] = {
334 329
        .name = "vdpau_h264",
335
        .is_hwaccel = 1,
336 330
    },
337 331
    [PIX_FMT_VDPAU_WMV3] = {
338 332
        .name = "vdpau_wmv3",
339
        .is_hwaccel = 1,
340 333
    },
341 334
    [PIX_FMT_VDPAU_VC1] = {
342 335
        .name = "vdpau_vc1",
343
        .is_hwaccel = 1,
344 336
    },
345 337
    [PIX_FMT_VDPAU_MPEG4] = {
346 338
        .name = "vdpau_mpeg4",
347
        .is_hwaccel = 1,
348 339
    },
349 340
    [PIX_FMT_UYYVYY411] = {
350 341
        .name = "uyyvyy411",
......
463 454
    /* VA API formats */
464 455
    [PIX_FMT_VAAPI_MOCO] = {
465 456
        .name = "vaapi_moco",
466
        .is_hwaccel = 1,
467 457
    },
468 458
    [PIX_FMT_VAAPI_IDCT] = {
469 459
        .name = "vaapi_idct",
470
        .is_hwaccel = 1,
471 460
    },
472 461
    [PIX_FMT_VAAPI_VLD] = {
473 462
        .name = "vaapi_vld",
474
        .is_hwaccel = 1,
475 463
    },
476 464
};
477 465

  

Also available in: Unified diff