comparison imgconvert.c @ 10640:e3e0c834590e libavcodec

Cosmetics: remove empty definitions of hw-accelerated PixFmtInfo structs.
author stefano
date Fri, 04 Dec 2009 23:16:27 +0000
parents 96d1d05cfd37
children aa8bebc96764
comparison
equal deleted inserted replaced
10639:4e0b0c0cb915 10640:e3e0c834590e
276 .nb_channels = 4, .is_alpha = 1, 276 .nb_channels = 4, .is_alpha = 1,
277 .color_type = FF_COLOR_RGB, 277 .color_type = FF_COLOR_RGB,
278 .pixel_type = FF_PIXEL_PALETTE, 278 .pixel_type = FF_PIXEL_PALETTE,
279 .depth = 8, 279 .depth = 8,
280 }, 280 },
281 [PIX_FMT_XVMC_MPEG2_MC] = {
282 },
283 [PIX_FMT_XVMC_MPEG2_IDCT] = {
284 },
285 [PIX_FMT_VDPAU_MPEG1] = {
286 },
287 [PIX_FMT_VDPAU_MPEG2] = {
288 },
289 [PIX_FMT_VDPAU_H264] = {
290 },
291 [PIX_FMT_VDPAU_WMV3] = {
292 },
293 [PIX_FMT_VDPAU_VC1] = {
294 },
295 [PIX_FMT_VDPAU_MPEG4] = {
296 },
297 [PIX_FMT_UYYVYY411] = { 281 [PIX_FMT_UYYVYY411] = {
298 .nb_channels = 1, 282 .nb_channels = 1,
299 .color_type = FF_COLOR_YUV, 283 .color_type = FF_COLOR_YUV,
300 .pixel_type = FF_PIXEL_PACKED, 284 .pixel_type = FF_PIXEL_PACKED,
301 .depth = 8, 285 .depth = 8,
388 [PIX_FMT_RGBA] = { 372 [PIX_FMT_RGBA] = {
389 .nb_channels = 4, .is_alpha = 1, 373 .nb_channels = 4, .is_alpha = 1,
390 .color_type = FF_COLOR_RGB, 374 .color_type = FF_COLOR_RGB,
391 .pixel_type = FF_PIXEL_PACKED, 375 .pixel_type = FF_PIXEL_PACKED,
392 .depth = 8, 376 .depth = 8,
393 },
394
395 /* VA API formats */
396 [PIX_FMT_VAAPI_MOCO] = {
397 },
398 [PIX_FMT_VAAPI_IDCT] = {
399 },
400 [PIX_FMT_VAAPI_VLD] = {
401 }, 377 },
402 }; 378 };
403 379
404 void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift) 380 void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift)
405 { 381 {