Instead of putting compile-time options (compilation directives) throughout the code, another possible approach is to consider one specific configuration and synthesize the "minimal" source code that can execute it.
We can start with default configurations like ultrafast, veryslow, or placebo https://github.com/ternava/x264/blob/master/tools/test_x264.py#L40-L49
Here I propose we create branches for each default configuration that we want to specialize...
@ternava where is the original source code? My guess is https://github.com/ternava/x264/tree/x264-e9a5903edf
second question: should I use ./configure --disable-avs --enable-pic --enable-shared && make to test my new specialized source code?
Instead of putting compile-time options (compilation directives) throughout the code, another possible approach is to consider one specific configuration and synthesize the "minimal" source code that can execute it. We can start with default configurations like ultrafast, veryslow, or placebo https://github.com/ternava/x264/blob/master/tools/test_x264.py#L40-L49
Here I propose we create branches for each default configuration that we want to specialize...
@ternava where is the original source code? My guess is https://github.com/ternava/x264/tree/x264-e9a5903edf
second question: should I use
./configure --disable-avs --enable-pic --enable-shared && make
to test my new specialized source code?