openh264/codec
Martin Storsjö 861f54887d Avoid trying to downscale layers to dimensions below 2
When calculating what resolution to actually downscale to,
it can end up smaller than what the caller set. When scaling
down to resolutions close to the limit of allowed values,
this can end up setting values lower than the limit.

Previously, e.g. a downscale from 2266x8 to 566x2 will end
up as 566x1 after this calculation. When scaling to a
566x1, the chroma plane gets a height of 0, which doesn't
make sense, and which breaks e.g. the SSE2 scaler. Therefore,
make sure none of the dimensions end up set below 2.
2015-02-19 14:53:02 +02:00
..
api/svc update the version info to sync with recent change of API 2015-01-29 11:14:08 +08:00
build Merge pull request #1805 from syureyi/fix_android_demo 2015-02-09 11:05:17 +08:00
common Move parts of wels_const.h into a shared header 2015-02-02 12:41:11 +02:00
console Remove accidental double semicolons 2015-02-02 09:20:35 +02:00
decoder Merge pull request #1812 from huili2/cropping_error 2015-02-12 11:27:48 +08:00
encoder Avoid trying to downscale layers to dimensions below 2 2015-02-19 14:53:02 +02:00
processing 1, update the max-nal-size setting in UT and param check since we are using a larger input check 2015-02-06 13:24:20 +08:00