ternava / x264

x264 Git mirror
GNU General Public License v2.0
0 stars 0 forks source link

Specializing for a configuration and towards a minimal x264 #10

Open FAMILIAR-project opened 3 years ago

FAMILIAR-project commented 3 years ago

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?

ternava commented 3 years ago

All right. I can try the first option then.

To answer your two questions: