Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread wm4
On Mon, 29 Feb 2016 20:07:15 +0100 Clément Bœsch wrote: > On Mon, Feb 29, 2016 at 06:57:15PM +0100, wm4 wrote: > [...] > > > +static bool get_vt_profile_level(AVCodecContext *avctx, > > > + CFStringRef*profile_level_val) > > > +{ > > > +

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Clément Bœsch
On Mon, Feb 29, 2016 at 08:14:10PM +0100, Nicolas George wrote: > Le primidi 11 ventôse, an CCXXIV, Clement Boesch a écrit : > > > > +case H264_PROF_BASELINE: > > > > +switch (vtctx->level) { > > > > +case 0: *profile_level_val = > > > >

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Nicolas George
Le primidi 11 ventôse, an CCXXIV, Clement Boesch a écrit : > > > +case H264_PROF_BASELINE: > > > +switch (vtctx->level) { > > > +case 0: *profile_level_val = > > > kVTProfileLevel_H264_Baseline_AutoLevel; break;

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Clément Bœsch
On Mon, Feb 29, 2016 at 06:57:15PM +0100, wm4 wrote: [...] > > +static bool get_vt_profile_level(AVCodecContext *avctx, > > + CFStringRef*profile_level_val) > > +{ > > +VTEncContext *vtctx = avctx->priv_data; > > +int64_t profile = vtctx->profile; > > +

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Michael Niedermayer
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 [...] > +/* > + * contiguous_buf_size is 0 if not contiguous, and the size of the buffer > + * containing all planes if so. > + */ >

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread wm4
On Tue, 1 Mar 2016 01:30:58 +0800 Rick Kern wrote: > Autodetected by default. Encode using -codec:v vtenc. > > Signed-off-by: Rick Kern > --- > MAINTAINERS|1 + > configure | 19 + > libavcodec/Makefile|1 + >

[FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Rick Kern
Autodetected by default. Encode using -codec:v vtenc. Signed-off-by: Rick Kern --- MAINTAINERS|1 + configure | 19 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/vtenc.c | 1339