|
|
@ -76,15 +76,15 @@ static int cpia_decode_frame(AVCodecContext *avctx, |
|
|
|
|
|
|
|
|
|
|
|
// currently unsupported properties
|
|
|
|
// currently unsupported properties
|
|
|
|
if (header[17] == SUBSAMPLE_422) { |
|
|
|
if (header[17] == SUBSAMPLE_422) { |
|
|
|
av_log(avctx, AV_LOG_ERROR, "Unsupported subsample!\n"); |
|
|
|
avpriv_report_missing_feature(avctx, "4:2:2 subsampling"); |
|
|
|
return AVERROR_PATCHWELCOME; |
|
|
|
return AVERROR_PATCHWELCOME; |
|
|
|
} |
|
|
|
} |
|
|
|
if (header[18] == YUVORDER_UYVY) { |
|
|
|
if (header[18] == YUVORDER_UYVY) { |
|
|
|
av_log(avctx, AV_LOG_ERROR, "Unsupported YUV byte order!\n"); |
|
|
|
avpriv_report_missing_feature(avctx, "YUV byte order UYVY"); |
|
|
|
return AVERROR_PATCHWELCOME; |
|
|
|
return AVERROR_PATCHWELCOME; |
|
|
|
} |
|
|
|
} |
|
|
|
if (header[29] == DECIMATION_ENAB) { |
|
|
|
if (header[29] == DECIMATION_ENAB) { |
|
|
|
av_log(avctx, AV_LOG_ERROR, "Decimation unsupported!\n"); |
|
|
|
avpriv_report_missing_feature(avctx, "Decimation"); |
|
|
|
return AVERROR_PATCHWELCOME; |
|
|
|
return AVERROR_PATCHWELCOME; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|