FFmpeg/libavcodec
James Almer df3a2ff767 avcodec/cbs: use a reference to the assembled CodedBitstreamFragment buffer when writing packets
This saves one malloc + memcpy per packet

The CodedBitstreamFragment buffer is padded to follow the requirements
of AVPacket.

Reviewed-by: jkqxz
Signed-off-by: James Almer <jamrial@gmail.com>
2018-03-05 11:44:51 -03:00
..
2014-06-15 12:11:46 +02:00
2018-02-24 17:06:31 +01:00
2017-07-16 16:53:02 +02:00
2018-02-09 22:10:56 +01:00
2016-03-28 14:13:17 -08:00
2013-12-29 01:11:16 +01:00
2018-02-24 17:06:31 +01:00
2013-08-13 15:45:08 +02:00
2017-07-07 15:23:58 -04:00
2016-06-06 14:32:48 +02:00
2017-05-01 17:55:22 +02:00
2017-05-08 12:30:09 +02:00
2017-11-09 19:49:32 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2017-04-23 14:27:47 +07:00
2015-09-10 16:36:47 +02:00
2016-07-11 23:30:11 +01:00
2018-01-05 03:35:48 +01:00
2017-06-11 10:00:16 +02:00
2016-11-14 00:33:12 +01:00
2015-07-01 04:24:58 +02:00
2016-03-04 13:51:42 +01:00
2017-08-30 12:13:01 +02:00
2015-07-22 16:15:53 +02:00
2017-06-18 14:05:57 +02:00
2017-07-12 20:36:13 +02:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2016-07-27 10:19:40 +03:00
2016-07-27 10:19:40 +03:00
2017-12-11 00:42:26 -03:00
2016-08-28 11:18:16 +02:00
2016-11-05 18:56:26 +01:00
2017-10-03 19:47:37 -03:00
2016-10-21 23:58:47 +02:00
2017-11-26 21:41:14 +00:00
2017-10-03 19:47:37 -03:00
2018-02-21 23:38:10 +00:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2016-11-15 22:01:08 +01:00
2017-02-03 20:16:30 +01:00
2017-01-11 16:02:10 +01:00
2017-02-21 00:40:20 +01:00
2017-12-10 14:43:01 +01:00
2011-05-21 13:48:10 +02:00
2018-02-27 16:22:12 +01:00
2018-01-03 13:00:06 -05:00
2017-07-20 08:24:46 +01:00
2012-07-05 02:54:34 +00:00
2012-06-29 20:43:30 +02:00
2014-02-21 16:57:26 -03:00
2017-01-09 18:43:19 +01:00
2017-12-19 23:22:35 +00:00
2016-04-14 22:31:57 +02:00
2017-08-07 13:09:41 +02:00
2017-04-23 14:27:47 +07:00
2017-07-26 06:13:05 +07:00
2017-07-11 13:22:02 +07:00
2016-06-23 00:42:16 +02:00
2014-04-22 20:44:31 +02:00
2017-01-16 10:24:01 +01:00
2018-02-24 04:50:55 +01:00
2017-05-25 14:30:04 +02:00
2016-08-06 18:27:01 -03:00
2018-02-21 23:38:30 +00:00
2018-02-21 23:38:30 +00:00
2017-07-14 02:30:37 +02:00
2017-05-21 13:23:22 +02:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00
2017-09-22 01:33:22 +02:00
2017-10-03 19:47:37 -03:00
2016-01-28 19:49:48 -08:00
2017-01-20 13:58:41 +01:00
2017-07-24 17:52:42 +02:00