Justin Ruggles
7c29a5de25
Calculate an exact frame size before writing. Now the buffer size requirements
...
can be known exactly, so larger frame sizes can be safely encoded without buffer
overwrite.
Originally committed as revision 24630 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
675eb677c5
cosmetics: rename find_subblock_rice_params() to find_subframe_rice_params()
...
Originally committed as revision 24629 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
089c18f315
Reduce number of input parameters to find_subblock_rice_params().
...
Originally committed as revision 24628 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
d309f01950
10l: fix bit count for frame header
...
Originally committed as revision 24627 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
b22f9d6535
Simplify fallback to verbatim mode encoding.
...
Originally committed as revision 24626 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
45e2908757
cosmetics: line wrap and vertical alignment
...
Originally committed as revision 24625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
8fbb8d31d8
Combine calc_rice_params_fixed() and calc_rice_params_lpc() into a single
...
function.
Originally committed as revision 24624 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
43b3273e5b
Remove unneeded wrapper function.
...
Originally committed as revision 24622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
0f5cc12c4f
Remove duplicate code by adding a flag for encoding in verbatim mode.
...
Originally committed as revision 24621 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
05236ed735
Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,
...
and drop the the ff_ variants at the next major bump.
Originally committed as revision 24620 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
93d65e3d92
Estimate frame size during encoding.
...
Originally committed as revision 24619 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
fa738b3ad1
Remove x86/mmx.h. It is not used anymore and has been deprecated for years.
...
Originally committed as revision 24618 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
0913a92a59
Fix compilation with --disable-yasm. 10l to me.
...
Originally committed as revision 24617 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
de4bc44abb
Convert deinterlacing MMX code to YASM
...
Originally committed as revision 24615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
eb96f1698a
cosmetics: indentation
...
Originally committed as revision 24612 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
520effb9b5
Combine output_subframe() and output_subframes().
...
Originally committed as revision 24611 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
fb443a6f3b
Remove unneeded variable.
...
Originally committed as revision 24610 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
724f34716b
cosmetics: indentation
...
Originally committed as revision 24609 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
6d263f41ae
Combine output_subframe_verbatim() and output_subframe_lpc().
...
Originally committed as revision 24608 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
6266cfb4ce
Combine and simplify output_residual() and output_subframe_lpc().
...
Originally committed as revision 24607 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
fc001d6cc1
cosmetics: reindent
...
Originally committed as revision 24606 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
175a57113f
Combine and simplify output_subframe_fixed() and output_subframe_lpc().
...
Originally committed as revision 24605 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
89912b5ff1
Combine and simplify output_subframe_constant() and output_subframe_verbatim().
...
Originally committed as revision 24604 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
1f1c05b09f
Pass FlacSubframe to output_subframe_* instead of channel number.
...
Originally committed as revision 24603 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
15f537ed53
cosmetics: change FlacEncodeContext variable name from ctx to s in several
...
places for consistency.
Originally committed as revision 24602 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
871a24f3bf
Set coded_frame->pts in the FLAC encoder
...
Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
27e3418844
Do not need to set coded_frame->key_frame = 1 because it is already set in
...
avcodec_alloc_frame().
Originally committed as revision 24600 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
7fe0c7c823
Move debug logging of compression options to a single function.
...
Originally committed as revision 24599 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e08ec71480
Add 2 failed memory allocation checks
...
Originally committed as revision 24598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e35b689ebd
cosmetics: pretty-print flacenc.c
...
Originally committed as revision 24597 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fc2db52e2f
Make avpicture_fill() directly call av_fill_image_linesizes() and
...
av_fill_image_pointers() rather than their wrappers ff_fill_linesize()
and ff_fill_pointer().
Improve performance.
Originally committed as revision 24587 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e7bd48a6ae
Move fill_image_linesize() and fill_image_data_ptr() from
...
libavcodec/imgconvert.c and make them public in libavcore/imgutils.h,
with the names av_fill_image_linesizes() and av_fill_image_pointers().
Originally committed as revision 24583 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
740dfe7012
Fix compilation in x86_64. I broke it with r24580.
...
Originally committed as revision 24582 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
2c3dda6838
Translate libmpeg2 MMX IDCT to plain asm
...
Originally committed as revision 24580 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
53cf47829a
Map rc_buffer_size to and c_initial_buffer_occupancy to their libvpx
...
counterparts.
Patch by James Zern, jzern at google
Originally committed as revision 24566 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
b6356d9726
10l: missed one reindent.
...
Originally committed as revision 24563 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
52fa20542b
Reindent after last commit.
...
Originally committed as revision 24562 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
d950497083
ff_prefix non static vp56 functions.
...
Originally committed as revision 24561 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
317167e7d9
nellymoserenc: Declare the supported sample format
...
Originally committed as revision 24560 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
a8ab0cccf7
b0rk3d FATE + black helicopters hissing -> rolling back to r24556 and sleeping
...
Originally committed as revision 24559 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
62d1f7864e
perform the clipping on luma_dc_qmul[1] and chroma_qmul[0] earlier
...
Originally committed as revision 24558 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
e7e81959d6
save some copies by moving some fields out of proba[2]
...
Originally committed as revision 24557 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
df9844937f
DCA: fix multichannel -> 2 channel downmix.
...
Patch by Nick Brereton
Originally committed as revision 24555 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nick Brereton
08634e7bda
Setup correct channel value when downmixing is required.
...
Patch by Nick Brereton
Originally committed as revision 24554 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
af0554e530
remove useless cast
...
Originally committed as revision 24553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
6f2c05f307
Document how the ref_buf is used.
...
Originally committed as revision 24551 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
a20df85886
Fix doxy that refers to the wrong variable.
...
Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Kojevnikov
49d7ef282d
Show correct bitrate for VBR MP3 files.
...
Patch by Alexander Kojevnikov, alexander kojevnikov com
Originally committed as revision 24539 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
de29597680
add Chinese AVS encoding via external library libxavs
...
Originally committed as revision 24533 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
126b638ea0
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
...
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.
Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago