Hey is there an update on the status of the patch? Any other requested
changes?
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
peg_encode_picture_frame(s);
+if (m->error < 0) {
+ret = m->error;
+return ret;
+}
+
+ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8 + 100,
+ put_bits_count(&s->pb) / 4 + 1000
+ * @param s input to encode
+ * @param bits output array where the ith character represents how many
input values have i length encoding
+ * @param val output array of input values sorted by their encoded length
+ * @param max_nval maximum number of distinct input values
+ * @return int
+ff_mjpeg_encode_picture_frame(s);
+if (m->error < 0) {
+ret = m->error;
+return ret;
+ }
+
+ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8 + 100,
+put_bits_count(&s->pb) / 4 + 10
s);
+if (m->error < 0) {
+ret = m->error;
+return ret;
+}
+
+ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8 + 100,
+ put_bits_count(&s->pb) / 4 + 1000);
-int ret = ff_mpv_reallocate_putbitbuf
Thanks for looking at our patch!
> What's the performance impact like when you enable it? Any reason why it
> shouldn't be made the default?
From local testing on converting a random video using the mjpeg codec, we
were able to encode at a speed of 207 fps with the -huffman optimal flag, a
speed
+ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8 +
100,
+put_bits_count(&s->pb) / 4 +
1000);
-int ret = ff_mpv_reallocate_putbitbuffer(s, put_bits_count(&s->pb) / 8
+ 100,
-