Cosmetics: remove empty definitions of hw-accelerated PixFmtInfo

structs.

Originally committed as revision 20733 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Stefano Sabatini 15 years ago
parent c72406112f
commit 78149213cc
  1. 24
      libavcodec/imgconvert.c

@ -278,22 +278,6 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.pixel_type = FF_PIXEL_PALETTE,
.depth = 8,
},
[PIX_FMT_XVMC_MPEG2_MC] = {
},
[PIX_FMT_XVMC_MPEG2_IDCT] = {
},
[PIX_FMT_VDPAU_MPEG1] = {
},
[PIX_FMT_VDPAU_MPEG2] = {
},
[PIX_FMT_VDPAU_H264] = {
},
[PIX_FMT_VDPAU_WMV3] = {
},
[PIX_FMT_VDPAU_VC1] = {
},
[PIX_FMT_VDPAU_MPEG4] = {
},
[PIX_FMT_UYYVYY411] = {
.nb_channels = 1,
.color_type = FF_COLOR_YUV,
@ -391,14 +375,6 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
.pixel_type = FF_PIXEL_PACKED,
.depth = 8,
},
/* VA API formats */
[PIX_FMT_VAAPI_MOCO] = {
},
[PIX_FMT_VAAPI_IDCT] = {
},
[PIX_FMT_VAAPI_VLD] = {
},
};
void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift)

Loading…
Cancel
Save