[FFmpeg-devel] [PATCH v2 3/6] avcodec/cbs_vp9: Write frame data directly

2019-11-19 Thread Andreas Rheinhardt
Writing a unit (always a frame) in cbs_vp9 used an intermediate buffer to write the frame header followed by the frame data that was copied into said buffer. Afterwards, the final buffer for the frame was allocated and everything copied into this buffer. But it is trivial to compute the needed size

Re: [FFmpeg-devel] [PATCH v2 3/6] avcodec/cbs_vp9: Write frame data directly

2019-11-18 Thread Andreas Rheinhardt
On Mon, Nov 18, 2019 at 1:05 AM Mark Thompson wrote: > On 17/11/2019 07:34, Andreas Rheinhardt wrote: > > Writing a unit (always a frame) in cbs_vp9 used an intermediate buffer > > to write the frame header followed by the frame data that was copied > > into said buffer. Afterwards, the final buf

Re: [FFmpeg-devel] [PATCH v2 3/6] avcodec/cbs_vp9: Write frame data directly

2019-11-17 Thread Mark Thompson
On 17/11/2019 07:34, Andreas Rheinhardt wrote: > Writing a unit (always a frame) in cbs_vp9 used an intermediate buffer > to write the frame header followed by the frame data that was copied > into said buffer. Afterwards, the final buffer for the frame was > allocated and everything copied into th

[FFmpeg-devel] [PATCH v2 3/6] avcodec/cbs_vp9: Write frame data directly

2019-11-16 Thread Andreas Rheinhardt
Writing a unit (always a frame) in cbs_vp9 used an intermediate buffer to write the frame header followed by the frame data that was copied into said buffer. Afterwards, the final buffer for the frame was allocated and everything copied into this buffer. But it is trivial to compute the needed size