Daniel Verkamp
124f0b2f46
flashsv2enc: only encode diff blocks when needed
...
A flashsv2 block may have a "diff block" to indicate which scan lines of
the block are actually encoded. However, this diff block need not be
used when the entire block is coded.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
097c64ffcb
flashsv2enc: remove experimental flag, the encoder seems working now
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
dbb9117d18
flashsv2enc: move blockbuffer realloc to reconfigure_at_keyframe()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9b6467fd46
flashv2enc: reallocate not only on block count changes but on dimension changes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Derek Buitenhuis
3174987b42
flashsv2enc: Replace a VLA with a heap alloc
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9b326fc261
flashsv2enc: fix prev-Z-prime encoding
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
1b129c2abc
flashsv2enc: align codec declarations
...
While here constify enums for .pix_fmts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Carl Eugen Hoyos
db11fc5392
Fix flashsv2 encoder error message.
13 years ago
Michael Niedermayer
2a37ac042f
flashsv2enc: fix division by zero
...
Fixes other half of Ticket1105
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
40d8c89cb6
flashsvenc: fix image sizes below 192x192
...
Fixes half of Ticket1105
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
ae2c33b0c2
cosmetics: remove superfluous curly brackets
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3f35b66512
flashv2enc: switch to ff_alloc_packet2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
131698af55
flashsv2enc: switch to encode2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
7099f36578
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
ba10207bbe
Use more designated initializers.
...
Also remove some pointless NULL/0 assigments.
C++ code must be left as it is because named struct
initializers are not supported by C++ standard.
13 years ago
Clément Bœsch
1912c215e0
doxygen: remove a few @file parameters.
...
It is not mandatory and prevents breakage on rename.
13 years ago
Michael Niedermayer
4517ba092e
flashsv2enc:fix segfault
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f0f3425311
flashsv2enc: mark encoder experimental
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c83a528193
flashsv2enc: remove useless casts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
ba9c4db59a
flashsv2enc: use av_freep()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f6a5edb64c
flashsv2enc: remove useless if()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Joshua Warner
3f6dc4a130
encoder for adobe's flash ScreenVideo2 codec
14 years ago