- 29 Jun, 2022 1 commit
-
-
Nicholas Guriev authored
-
- 26 Oct, 2014 4 commits
-
-
Diego Elio Pettenò authored
-
Luca Barbato authored
From Libav11 only setting the codec time_base triggers a warning.
-
Luca Barbato authored
This the correct pattern since Libav 0.6.
-
Marcel Meyer authored
-
- 19 Aug, 2014 1 commit
-
-
Diego Elio Pettenò authored
It was not really packaged, and it was the standard automake one, there's no reason to keep it around.
-
- 18 Aug, 2014 1 commit
-
-
Diego Elio Pettenò authored
-
- 17 Aug, 2014 10 commits
-
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
This allows loading tiff files with libav without waiting for libav 11 but it will create colour files by default, even though the image would be grayscale only. libav 11 supports grayscale tiff files as grayscale rather than palettized, but until then, this workaround should work.
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
Apply the zoomfactor on the requested sizes, and always call stretch(). If the stretch() would make the image the same size, simply avoid processing altogether.
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
Now these two functions use the global maskColor and it makes the code simpler.
-
Diego Elio Pettenò authored
-
- 16 Aug, 2014 20 commits
-
-
Diego Elio Pettenò authored
This makes the code simpler because only initImage() needs to access the global parameter then.
-
Diego Elio Pettenò authored
Since resizing and stretching are so similar, factor out their base code without the allocations.
-
Diego Elio Pettenò authored
Most of the functions don't need to modify the pointer, only loading and canvas-modifying functions need those, everything else only needs to access the frame.
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
Instead use av_frame_free() directly.
-
Diego Elio Pettenò authored
This changes only the file output functions to not use the double-pointers but just the read-only single pointer, more will follow.
-
Diego Elio Pettenò authored
Now IMAGE is just a pointer to AVFrame.
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
The mask checking was only used in that unit so keep it over there and inline it. The compiler can easily optimize for this and the result is that there is no overhead in the inlining.
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
This is useful to reduce the size of .bss since we almost never get 100000 different indexes. It also uses dynamic allocations during parsing to avoid growing over 1MB stack and then reducing.
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
-
Diego Elio Pettenò authored
Reduces the amount of code used for parameters passing.
-
Diego Elio Pettenò authored
This also passes down the mask parameter as an array rather than separate integers.
-
Diego Elio Pettenò authored
This reduces the stack size of main() although to the expense of the .bss section of the ELF file. It also allows for using them directly in the processing functions.
-
Diego Elio Pettenò authored
-
- 10 Aug, 2014 3 commits
-
-
Diego Elio Pettenò authored
Headers don't exist for their own end.
-
Diego Elio Pettenò authored
The file is obsoleted by the Issues tracker, and its content is obsoleted by the fact that now libav does allocation for us.
-
Diego Elio Pettenò authored
-