Commit Graph

6 Commits

Author SHA1 Message Date
Lukas Rucka
babdb79239 COMPAT: compile even with antique version of ffmpeg/libavcodec 2019-07-23 16:01:01 +02:00
Martin Piatka
55bc7d3f82 lavc: Add r10k to yuv422p10le conversion 2019-06-20 12:17:37 +02:00
Martin Pulec
997862ad3e Optimalizations for video_codec.c
- compile with -Ofast
- use restricted pointers for vc_copyline functions
- use a vectorizable for-loop
- small fixes - in vc_copylineR12LtoRGB was not decoded last few pixels
  and in copylineYUVtoRGB was out-of-bound access (not likely, only if
  output dst_len was not divisible by 6)
2019-06-19 16:43:11 +02:00
Martin Pulec
79e90e6501 Libavcodec: toggle optimalizations + params restrict
Note: C99 restrict cannot be used because restrict is not a keyword in
C++. __restrict__ or __restrict can be used (the later is supported also
by MSVC).

+ rename min/max macro
2019-06-18 14:59:20 +02:00
Martin Pulec
6b1cf9c2b5 Libavcodec conversions: rename 2019-06-18 14:59:20 +02:00
Martin Pulec
81f7b632d6 Libavcodec: moved conversions to a separate file 2019-06-18 14:59:20 +02:00