|
|
|
@@ -415,12 +415,6 @@ void avcodec_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int |
|
|
|
*v_shift = desc->log2_chroma_h; |
|
|
|
} |
|
|
|
|
|
|
|
int ff_is_hwaccel_pix_fmt(enum AVPixelFormat pix_fmt) |
|
|
|
{ |
|
|
|
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt); |
|
|
|
return desc->flags & PIX_FMT_HWACCEL; |
|
|
|
} |
|
|
|
|
|
|
|
int avpicture_fill(AVPicture *picture, uint8_t *ptr, |
|
|
|
enum AVPixelFormat pix_fmt, int width, int height) |
|
|
|
{ |
|
|
|
|