Commit Graph
100 Commits
Author SHA1 Message Date
Fabrice BellardandMichael Niedermayer da81cc38e8 avcodec/hevc: reduce memory for SAO
cherry picked from commit 5d9f79edef2c11b915bdac3a025b59a32082f409

SAO edge filter uses pre-SAO pixel data on the left and top of the ctb, so
this data must be kept available. This was done previously by having 2
copies of the frame, one before and one after SAO.

This commit reduces the storage to just that, instead of the previous whole
frame.

Commit message taken from patch by Christophe Gisquet <christophe.gisquet@gmail.com>

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-04 01:54:01 +01:00
Fabrice BellardandBenjamin Larsson eb1c687b1b Use the ffmpeg mdct function, patch by Fabrice Bellard. Thread: [FFmpeg-devel] NellyMoser transform bug, 10/25/2007 12:24 PM
Originally committed as revision 10909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 14:34:25 +00:00
Fabrice Bellard cf7fc795ae support for adding new components (syntax: ffmpeg -i input_file [output options] output_file [[component output options] {-newaudio|-newvideo|-newsubtitle}]... - added subtitle support - added '-alang' option
Originally committed as revision 4351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:31:45 +00:00
Fabrice Bellard ae27975dfe subtitle option
Originally committed as revision 4350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:07:47 +00:00
Fabrice Bellard 8b475508d4 buggy PCR output (just to keep HW decoders happy) - audio and subtitle language support - 'title' stream field sets the service name - fixed TS packet stuffing code - support for subtitle PES packets
Originally committed as revision 4349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:05:41 +00:00
Fabrice Bellard 0973026090 optional ISO 639 3 letter language field
Originally committed as revision 4348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:02:29 +00:00
Fabrice Bellard a9c3213f96 DVD subtitle parsing - show mpeg component IDs by default
Originally committed as revision 4347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:01:49 +00:00
Fabrice Bellard 240c1657dc subtitle codec type support
Originally committed as revision 4346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 13:59:38 +00:00
Fabrice Bellard e45f19437e harcoded DTS computation for mpeg
Originally committed as revision 2624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-18 13:03:37 +00:00
Fabrice Bellard 044007c220 primitive LPCM generator
Originally committed as revision 2622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 14:00:18 +00:00
Fabrice Bellard 0dbb48d91e better and simpler logic for MPEG muxing - fixed rare MPEG muxing PTS generation bug (stuffing is added in such rare cases) - fixed AC3 payload size generation - generate correct AC3 frame header (need spec checking)
Originally committed as revision 2621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 11:25:30 +00:00
Fabrice Bellard 6ec87caa70 fixed incorrect PTS/DTS logic in MPEG video case (caused rare PTS glitches if start codes were between two PES packets)
Originally committed as revision 2620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 11:21:25 +00:00
Fabrice Bellard b84f2a3533 pts and dts support in parser API
Originally committed as revision 2619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-16 11:17:06 +00:00
Fabrice Bellard 037b5189d8 MPEG1/2 decoding update (buffered frames are decoded now)
Originally committed as revision 2617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:47:23 +00:00
Fabrice Bellard 3735396022 make av_read_frame() return buffered frames at EOF
Originally committed as revision 2616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:45:37 +00:00
Fabrice Bellard a700a6ae8f moved packet output to a separate function - added the frame buffered by the decoder at EOF, if any
Originally committed as revision 2615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:43:44 +00:00
Fabrice Bellard 6e45e92856 added End Of File handling to return last picture for MPEG1/2/4
Originally committed as revision 2614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:40:37 +00:00
Fabrice Bellard 8bb27bdfd4 init picture structure to avoid uninitialized fields
Originally committed as revision 2612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 10:46:34 +00:00
Fabrice Bellard 7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Fabrice Bellard 3e9d718ecb fill codec info
Originally committed as revision 2599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:55:12 +00:00
Fabrice Bellard 99db6420f2 update
Originally committed as revision 2595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 19:17:15 +00:00
Fabrice Bellard 0f26033b7a update -interlace help
Originally committed as revision 2594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:07:11 +00:00
Fabrice Bellard 83dddc4a71 generate MPEG elementary streams in all cases - added interlaced MPEG2 test
Originally committed as revision 2593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:06:36 +00:00
Fabrice Bellard 3ab5b8cc9a interlaced DCT support for MPEG2 encoding
Originally committed as revision 2591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:51:54 +00:00
Fabrice Bellard db9b1b5eae fixed interlaced encoding
Originally committed as revision 2590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 16:49:20 +00:00
Fabrice Bellard e56d417bee -interlace option - better consistency in help
Originally committed as revision 2588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 14:50:09 +00:00
Fabrice Bellard 32e7b91af1 fixed potential problem if aspect_ratio_info == 0 for MPEG stream - fixed aspect ratio problem if CODEC_ID_MPEG2VIDEO is used to decode an MPEG1 stream (which is the recommended codec id for mpeg video)
Originally committed as revision 2587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 11:18:36 +00:00
Fabrice Bellard 8a56ac7b89 copy packet without omitting the padding
Originally committed as revision 2584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 15:34:44 +00:00
Fabrice Bellard 248a189a7d fixed low delay decoding
Originally committed as revision 2583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-09 14:51:49 +00:00
Fabrice Bellard bcbecff13f fixed memory leak
Originally committed as revision 2525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-20 11:22:25 +00:00
Fabrice Bellard e240a0bbe0 simpler bandwidth allocation for RTSP streaming - use av_read_frame() - initial support for raw MPEG2 transport stream streaming using RTSP
Originally committed as revision 2506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 19:02:56 +00:00
Fabrice Bellard 72ea344bd1 initial seek support
Originally committed as revision 2505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:59:45 +00:00
Fabrice Bellard 254abc2ec6 use av_read_frame() - added initial seek support (rename -start to -ss (mplayer...)) - added '-dump' option to dump input packets
Originally committed as revision 2504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:54:17 +00:00
Fabrice Bellard afda223c6b frame rate should be completely disabled in asf (closer now) - disabled seek
Originally committed as revision 2503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:49:58 +00:00
Fabrice Bellard 155e9ee909 initial seek support
Originally committed as revision 2502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:48:33 +00:00
Fabrice Bellard 27f388aa24 seek support
Originally committed as revision 2501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:47:52 +00:00
Fabrice Bellard f9b5459e79 seeking support - fixed some ADPCM decoding cases
Originally committed as revision 2500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:44:27 +00:00
Fabrice Bellard 8e38ff0c07 fixed double free
Originally committed as revision 2499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:43:12 +00:00
Fabrice Bellard ba0ce88a2d added parsing
Originally committed as revision 2498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:42:51 +00:00
Fabrice Bellard 4986a42929 seek support for PCM formats
Originally committed as revision 2497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:41:45 +00:00
Fabrice Bellard ccd39ae6ea use parsers
Originally committed as revision 2496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:40:14 +00:00
Fabrice Bellard ff762d6ed2 initial seek support - more generic play/pause support
Originally committed as revision 2495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:39:26 +00:00
Fabrice Bellard fb2758c83d initial av_read_frame() and av_seek_frame() support
Originally committed as revision 2494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:37:55 +00:00
Fabrice Bellard c6f353ff61 also parse extradata for MPEG4
Originally committed as revision 2493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:33:58 +00:00
Fabrice Bellard 8424cf505c new audio/video parser API
Originally committed as revision 2492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 15:29:20 +00:00
Fabrice Bellard 962d6ae6c5 exported mpa_decode_header for new parser API
Originally committed as revision 2491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 15:21:16 +00:00
Fabrice Bellard 8dbcc9f226 comment fix
Originally committed as revision 2490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 15:19:05 +00:00
Fabrice Bellard 8b1ab7bf21 added MPEG2TS support in RTP, SDP and RTSP - replaced fake RTP demux by a specific API
Originally committed as revision 2448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:25:27 +00:00
Fabrice Bellard da24c5e330 make AVFMT_NOHEADER flag dynamic - added av_open_input_stream()
Originally committed as revision 2447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:20:56 +00:00
Fabrice Bellard b45a7a18d3 mpeg TS demux API (called from RTP layer) - raw mpeg TS reader (uses fake codec MPEG2TS)
Originally committed as revision 2446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:16:31 +00:00
Fabrice Bellard 985180a1b8 added fake codec CODEC_ID_MPEG2TS of type CODEC_TYPE_DATA (needed for simpler handling of raw transport streams in ffserver and RTP - better solutions are welcomed)
Originally committed as revision 2445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:08:18 +00:00
Fabrice Bellard 6eb23b82c2 updated
Originally committed as revision 2309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 15:18:34 +00:00
Fabrice Bellard 4c4b3fcd62 clean target removes output_example
Originally committed as revision 2308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-28 15:04:44 +00:00
Fabrice Bellard c9d88b14c7 update
Originally committed as revision 2288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:29:32 +00:00
Fabrice Bellard 165f74ff46 remove unused AMREXTRALIBS
Originally committed as revision 2287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:29:19 +00:00
Fabrice Bellard cf7412b58d use VC++ lib tool if available
Originally committed as revision 2286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:28:53 +00:00
Fabrice Bellard 988a9f9e3a doc update
Originally committed as revision 2285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:28:18 +00:00
Fabrice Bellard 211f2123c5 avoid initializing pts for not decoded streams
Originally committed as revision 2284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:26:35 +00:00
Fabrice Bellard 61890b02b3 better image sequence support (Charles Yates) - suppressed unused non overlay support
Originally committed as revision 2283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 19:37:27 +00:00
Fabrice Bellard 69ef9450d8 generate correct PTS in transport stream - use mpeg2 encoder by default
Originally committed as revision 2282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 12:56:42 +00:00
Fabrice Bellard cb728d7902 correct DLL windows install
Originally committed as revision 2279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-15 22:27:43 +00:00
Fabrice Bellard 951bf3e681 fixed windows build
Originally committed as revision 2278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-15 22:26:45 +00:00
Fabrice Bellard 8c522a4036 update
Originally committed as revision 2277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-15 19:52:13 +00:00
Fabrice Bellard 50f52fcdc3 doc update
Originally committed as revision 2265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:52:23 +00:00
Fabrice Bellard 7b7d86f120 simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +00:00
Fabrice Bellard d35ff76b79 windows installer
Originally committed as revision 2263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:49:35 +00:00
Fabrice Bellard 258207b7fc simplified version handling - set win32 install path
Originally committed as revision 2262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:43:29 +00:00
Fabrice Bellard cb0c448a8d example using video encoder latency
Originally committed as revision 2257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 23:09:30 +00:00
Fabrice Bellard fa0f62c37d removed invalid sequence end code
Originally committed as revision 2256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 22:44:30 +00:00
Fabrice Bellard 490579042a 64 bit pts for writing - more const usage
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 22:37:33 +00:00
Fabrice Bellard b160941221 removed warnings
Originally committed as revision 2248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:59:16 +00:00
Fabrice Bellard 09b85c13a3 use const data - began to make code more portable
Originally committed as revision 2247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:56:25 +00:00
Fabrice Bellard 1df1df0b44 removed warnings
Originally committed as revision 2246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:50:44 +00:00
Fabrice Bellard 83586795a2 remove warnings
Originally committed as revision 2245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:48:19 +00:00
Fabrice Bellard 3bb1f2da02 mpegaudio decoder no longer forgets to decoder last audio frame
Originally committed as revision 2244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:45:27 +00:00
Fabrice Bellard d0526ecf66 show stream info with -stats
Originally committed as revision 2239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:49:53 +00:00
Fabrice Bellard 98ce5991d7 update sub_id in mpegaudio decoding (might need same method as MPEG2VIDEO too ?)
Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:49:26 +00:00
Fabrice Bellard 6a58e1510d ID3 parsing and generation in MP3 format
Originally committed as revision 2237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:34:28 +00:00
Fabrice Bellard e224e36030 removed localtime_r.h
Originally committed as revision 2236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:32:30 +00:00
Fabrice Bellard c54d0a1ae0 removed strptime test
Originally committed as revision 2235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:16:37 +00:00
Fabrice Bellard 33f25681ae removed ctype.h
Originally committed as revision 2234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:13:17 +00:00
Fabrice Bellard f42eda74dd header fixes - removed MPEG-4 b frame limtation in help
Originally committed as revision 2233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:12:30 +00:00
Fabrice Bellard 80783dc2c2 CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:04:29 +00:00
Fabrice Bellard dcedf58672 changed my mind about CODEC_ID_MPEGVIDEO - CODEC_ID_MP3LAME is absolete
Originally committed as revision 2231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:03:29 +00:00
Fabrice Bellard 66a15ea2d2 removed os_support.h
Originally committed as revision 2230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:59:53 +00:00
Fabrice Bellard db0e9b034b AC3 note
Originally committed as revision 2229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:39:36 +00:00
Fabrice Bellard f71869a4db simpler strptime - added os_support.[ch] - moved localtime_r to os_support.c
Originally committed as revision 2228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:20:55 +00:00
Fabrice Bellard 742d87d633 removed os_support.h
Originally committed as revision 2227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:05:43 +00:00
Fabrice Bellard ca4a77c5b3 removed os_support.h as most of libavcodec is os independant - most of the time only libavformat needs OS dependant features
Originally committed as revision 2226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 21:04:11 +00:00
Fabrice Bellard 4358d5def3 removed ctype.h header
Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 20:04:44 +00:00
Fabrice Bellard a182f5da93 fixed endianness dependancies (untested)
Originally committed as revision 2224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 20:00:13 +00:00
Fabrice Bellard 56c4a18464 ctype.h is a common header
Originally committed as revision 2223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 19:58:34 +00:00
Fabrice Bellard 25f90cf76a version update
Originally committed as revision 2222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 19:08:27 +00:00
Fabrice Bellard 8c5b5683ae fixed audio frame buffering problem (should correct problems on some streams) - faster synthesis filter - prototype 'parse_only' support
Originally committed as revision 2173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 13:38:06 +00:00
Fabrice Bellard d99ce8d7de spelling fix
Originally committed as revision 2172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-28 13:30:03 +00:00
Fabrice Bellard 802f454e5b removed unused variable
Originally committed as revision 2162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:28:41 +00:00
Fabrice Bellard acaa20d7bd avoid warning
Originally committed as revision 2161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:21:06 +00:00
Fabrice Bellard 02c28fe629 avoid warning
Originally committed as revision 2160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:15:37 +00:00
Fabrice Bellard df15903f27 removed unused variable
Originally committed as revision 2159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:13:48 +00:00
Fabrice Bellard d9c533a521 removed unused variables
Originally committed as revision 2158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 22:08:22 +00:00