1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

Remove unused PixFmtInfo.is_hwaccel field.

Originally committed as revision 20635 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-11-28 00:53:15 +00:00
parent bc7eb330e3
commit f72d40b01a

View File

@ -58,7 +58,6 @@ typedef struct PixFmtInfo {
uint8_t color_type; /**< color type (see FF_COLOR_xxx constants) */ uint8_t color_type; /**< color type (see FF_COLOR_xxx constants) */
uint8_t pixel_type; /**< pixel storage type (see FF_PIXEL_xxx constants) */ uint8_t pixel_type; /**< pixel storage type (see FF_PIXEL_xxx constants) */
uint8_t is_alpha : 1; /**< true if alpha can be specified */ uint8_t is_alpha : 1; /**< true if alpha can be specified */
uint8_t is_hwaccel : 1; /**< true if this is an HW accelerated format */
uint8_t depth; /**< bit depth of the color components */ uint8_t depth; /**< bit depth of the color components */
} PixFmtInfo; } PixFmtInfo;
@ -316,35 +315,27 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
}, },
[PIX_FMT_XVMC_MPEG2_MC] = { [PIX_FMT_XVMC_MPEG2_MC] = {
.name = "xvmcmc", .name = "xvmcmc",
.is_hwaccel = 1,
}, },
[PIX_FMT_XVMC_MPEG2_IDCT] = { [PIX_FMT_XVMC_MPEG2_IDCT] = {
.name = "xvmcidct", .name = "xvmcidct",
.is_hwaccel = 1,
}, },
[PIX_FMT_VDPAU_MPEG1] = { [PIX_FMT_VDPAU_MPEG1] = {
.name = "vdpau_mpeg1", .name = "vdpau_mpeg1",
.is_hwaccel = 1,
}, },
[PIX_FMT_VDPAU_MPEG2] = { [PIX_FMT_VDPAU_MPEG2] = {
.name = "vdpau_mpeg2", .name = "vdpau_mpeg2",
.is_hwaccel = 1,
}, },
[PIX_FMT_VDPAU_H264] = { [PIX_FMT_VDPAU_H264] = {
.name = "vdpau_h264", .name = "vdpau_h264",
.is_hwaccel = 1,
}, },
[PIX_FMT_VDPAU_WMV3] = { [PIX_FMT_VDPAU_WMV3] = {
.name = "vdpau_wmv3", .name = "vdpau_wmv3",
.is_hwaccel = 1,
}, },
[PIX_FMT_VDPAU_VC1] = { [PIX_FMT_VDPAU_VC1] = {
.name = "vdpau_vc1", .name = "vdpau_vc1",
.is_hwaccel = 1,
}, },
[PIX_FMT_VDPAU_MPEG4] = { [PIX_FMT_VDPAU_MPEG4] = {
.name = "vdpau_mpeg4", .name = "vdpau_mpeg4",
.is_hwaccel = 1,
}, },
[PIX_FMT_UYYVYY411] = { [PIX_FMT_UYYVYY411] = {
.name = "uyyvyy411", .name = "uyyvyy411",
@ -463,15 +454,12 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
/* VA API formats */ /* VA API formats */
[PIX_FMT_VAAPI_MOCO] = { [PIX_FMT_VAAPI_MOCO] = {
.name = "vaapi_moco", .name = "vaapi_moco",
.is_hwaccel = 1,
}, },
[PIX_FMT_VAAPI_IDCT] = { [PIX_FMT_VAAPI_IDCT] = {
.name = "vaapi_idct", .name = "vaapi_idct",
.is_hwaccel = 1,
}, },
[PIX_FMT_VAAPI_VLD] = { [PIX_FMT_VAAPI_VLD] = {
.name = "vaapi_vld", .name = "vaapi_vld",
.is_hwaccel = 1,
}, },
}; };