On Tue, Mar 01, 2016 at 01:30:58AM +0800, Rick Kern wrote: > Autodetected by default. Encode using -codec:v vtenc. > > Signed-off-by: Rick Kern <[email protected]> [...]
> +/*
> + * contiguous_buf_size is 0 if not contiguous, and the size of the buffer
> + * containing all planes if so.
> + */
> +static int get_cv_pixel_info(
> + AVCodecContext *avctx,
> + const AVFrame *frame,
> + int *color,
> + int *plane_count,
> + size_t *widths,
> + size_t *heights,
> + size_t *strides,
> + size_t *contiguous_buf_size)
> +{
> + VTEncContext *vtctx = avctx->priv_data;
> + int av_format = frame->format;
> + int av_color_range = frame->color_range;
needs av_frame_get_color_range() OR update to the API as documented
in libavutil/frame.h
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
