Revision f06ce1ce

View differences:

libavcodec/imgconvert.c
419 419
        .depth = 8,
420 420
        .x_chroma_shift = 0, .y_chroma_shift = 0,
421 421
    },
422

  
423
    /* VA API formats */
424
    [PIX_FMT_VAAPI_MOCO] = {
425
        .name = "vaapi_moco",
426
        .is_hwaccel = 1,
427
    },
428
    [PIX_FMT_VAAPI_IDCT] = {
429
        .name = "vaapi_idct",
430
        .is_hwaccel = 1,
431
    },
432
    [PIX_FMT_VAAPI_VLD] = {
433
        .name = "vaapi_vld",
434
        .is_hwaccel = 1,
435
    },
422 436
};
423 437

  
424 438
void avcodec_get_chroma_sub_sample(int pix_fmt, int *h_shift, int *v_shift)
libavutil/pixfmt.h
106 106
    PIX_FMT_VDPAU_VC1, ///< VC-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
107 107
    PIX_FMT_RGB48BE,   ///< packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, big-endian
108 108
    PIX_FMT_RGB48LE,   ///< packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, little-endian
109
    PIX_FMT_VAAPI_MOCO, ///< HW acceleration through VA API at motion compensation entry-point, Picture.data[0] contains a vaapi_render_state struct which contains macroblocks as well as various fields extracted from headers
110
    PIX_FMT_VAAPI_IDCT, ///< HW acceleration through VA API at IDCT entry-point, Picture.data[0] contains a vaapi_render_state struct which contains fields extracted from headers
111
    PIX_FMT_VAAPI_VLD,  ///< HW decoding through VA API, Picture.data[0] contains a vaapi_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
109 112
    PIX_FMT_NB,        ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
110 113
};
111 114

  

Also available in: Unified diff