back out dav1d 0.6.0->0.5.1 nasm incompatible most systems, upgrade openexr to 2...
authorGood Guy <good1.2guy@gmail.com>
Thu, 19 Mar 2020 17:38:18 +0000 (11:38 -0600)
committerGood Guy <good1.2guy@gmail.com>
Thu, 19 Mar 2020 17:38:18 +0000 (11:38 -0600)
24 files changed:
cinelerra-5.1/cinelerra/canvas.C
cinelerra-5.1/cinelerra/playbackengine.C
cinelerra-5.1/cinelerra/transportque.C
cinelerra-5.1/configure.ac
cinelerra-5.1/plugins/shapes/16-9_boart.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_boxes.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_cat_eyes.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_film_bands.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_multi_circle.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_multi_spiral.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_multi_square.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_rare_spiral.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_rectangles.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_star.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_stars.png [new file with mode: 0644]
cinelerra-5.1/plugins/shapes/16-9_wood.png [new file with mode: 0644]
cinelerra-5.1/thirdparty/Makefile
cinelerra-5.1/thirdparty/src/dav1d-0.5.1.patch1 [moved from cinelerra-5.1/thirdparty/src/dav1d-0.6.0.patch1 with 93% similarity]
cinelerra-5.1/thirdparty/src/dav1d-0.5.1.tar.gz [new file with mode: 0644]
cinelerra-5.1/thirdparty/src/dav1d-0.6.0.tar.xz [deleted file]
cinelerra-5.1/thirdparty/src/ilmBase.tar.xz [new file with mode: 0644]
cinelerra-5.1/thirdparty/src/ilmbase-2.2.1.tar.xz [deleted file]
cinelerra-5.1/thirdparty/src/openExr.tar.xz [new file with mode: 0644]
cinelerra-5.1/thirdparty/src/openexr-2.4.1.tar.xz [moved from cinelerra-5.1/thirdparty/src/openexr-2.2.1.tar.xz with 57% similarity]

index 963c63d84240d6af1fcea3e2fb793f4c9beb759b..2319f14b3b1ca0face0de48cd77e127b0a600e6a 100644 (file)
@@ -924,7 +924,7 @@ CanvasPopup::~CanvasPopup()
 }
 
 CanvasZoomSize::CanvasZoomSize(Canvas *canvas)
 }
 
 CanvasZoomSize::CanvasZoomSize(Canvas *canvas)
- : BC_MenuItem(_("Zoom..."))
+ : BC_MenuItem(_("Resize Window..."))
 {
        this->canvas = canvas;
 }
 {
        this->canvas = canvas;
 }
index f95f57581b0dcf7f3ee025d5620912069624d8ca..83bd3efa9027cbc000f2436c9f86d4d381a58682 100644 (file)
@@ -402,12 +402,11 @@ void PlaybackEngine::run()
 // Dispatch the command
                        start_render_engine();
                        break;
 // Dispatch the command
                        start_render_engine();
                        break;
-
-               case SINGLE_FRAME_FWD:
-               case SINGLE_FRAME_REWIND:
 // fall through
                default:
                        is_playing_back = 1;
 // fall through
                default:
                        is_playing_back = 1;
+               case REWIND:
+               case GOTO_END:
                        perform_change();
                        arm_render_engine();
 
                        perform_change();
                        arm_render_engine();
 
@@ -462,7 +461,6 @@ void PlaybackEngine::send_command(int command, EDL *edl, int wait_tracking, int
 {
 //printf("PlaybackEngine::send_command 1 %d\n", command);
 // Stop requires transferring the output buffer to a refresh buffer.
 {
 //printf("PlaybackEngine::send_command 1 %d\n", command);
 // Stop requires transferring the output buffer to a refresh buffer.
-       int do_stop = 0;
        int curr_command = is_playing_back ? this->command->command : STOP;
        int curr_single_frame = TransportCommand::single_frame(curr_command);
        int curr_audio = this->command->toggle_audio ?
        int curr_command = is_playing_back ? this->command->command : STOP;
        int curr_single_frame = TransportCommand::single_frame(curr_command);
        int curr_audio = this->command->toggle_audio ?
@@ -470,9 +468,12 @@ void PlaybackEngine::send_command(int command, EDL *edl, int wait_tracking, int
        int single_frame = TransportCommand::single_frame(command);
        int next_audio = next_command->toggle_audio ? !single_frame : single_frame;
        float next_speed = next_command->speed;
        int single_frame = TransportCommand::single_frame(command);
        int next_audio = next_command->toggle_audio ? !single_frame : single_frame;
        float next_speed = next_command->speed;
-
+       int cmd = -1;
 // Dispatch command
        switch( command ) {
 // Dispatch command
        switch( command ) {
+       case STOP:
+               transport_stop(wait_tracking);
+               break;
        case FAST_REWIND:       // Commands that play back
        case NORMAL_REWIND:
        case SLOW_REWIND:
        case FAST_REWIND:       // Commands that play back
        case NORMAL_REWIND:
        case SLOW_REWIND:
@@ -487,38 +488,39 @@ void PlaybackEngine::send_command(int command, EDL *edl, int wait_tracking, int
                if( next_speed ) curr_command = COMMAND_NONE;
 // Same direction pressed twice, not shuttle, and no change in audio state,  Stop
                if( curr_command == command && !curr_single_frame &&
                if( next_speed ) curr_command = COMMAND_NONE;
 // Same direction pressed twice, not shuttle, and no change in audio state,  Stop
                if( curr_command == command && !curr_single_frame &&
-                   curr_audio == next_audio ) { do_stop = 1;  break; }
-
+                   curr_audio == next_audio ) {
+                       transport_stop(wait_tracking);
+                       break;
+               }
 // Resume or change direction
                switch( curr_command ) {
 // Resume or change direction
                switch( curr_command ) {
-               default:
-                       transport_stop(0);
-                       next_command->resume = 1;
-// fall through
+               case REWIND:
+               case GOTO_END:
                case STOP:
                case COMMAND_NONE:
                case SINGLE_FRAME_FWD:
                case SINGLE_FRAME_REWIND:
                case CURRENT_FRAME:
                case LAST_FRAME:
                case STOP:
                case COMMAND_NONE:
                case SINGLE_FRAME_FWD:
                case SINGLE_FRAME_REWIND:
                case CURRENT_FRAME:
                case LAST_FRAME:
-                       next_command->realtime = 1;
-// Start from scratch
-                       transport_command(command, CHANGE_NONE, edl, use_inout);
+// already stopped
+                       break;
+               default:
+                       transport_stop(0);
+                       next_command->resume = 1;
                        break;
                }
                        break;
                }
+               next_command->realtime = 1;
+               cmd = command;
                break;
                break;
-
-// Commands that stop
-       case STOP:
        case REWIND:
        case GOTO_END:
        case REWIND:
        case GOTO_END:
-               do_stop = 1;
+               transport_stop(1);
+               next_command->realtime = 1;
+               cmd = command;
                break;
        }
                break;
        }
-
-       if( do_stop ) {
-               transport_stop(wait_tracking);
-       }
+       if( cmd >= 0 )
+               transport_command(cmd, CHANGE_NONE, edl, use_inout);
 }
 
 int PlaybackEngine::put_command(TransportCommand *command, int reset)
 }
 
 int PlaybackEngine::put_command(TransportCommand *command, int reset)
index 5021f462d06e535633d8b08cd828464e8f901998..5b3a3762a5abfb71355d4bc8ae4debf2236ad0cb 100644 (file)
@@ -197,12 +197,16 @@ void TransportCommand::set_playback_range(EDL *edl, int use_inout, int do_displa
                        }
                        break;
 
                        }
                        break;
 
+               case REWIND:
+                       start_position = 0;
                case CURRENT_FRAME:
                case LAST_FRAME:
                case SINGLE_FRAME_FWD:
                        end_position = start_position + frame_period;
                        break;
 
                case CURRENT_FRAME:
                case LAST_FRAME:
                case SINGLE_FRAME_FWD:
                        end_position = start_position + frame_period;
                        break;
 
+               case GOTO_END:
+                       end_position = length;
                case SINGLE_FRAME_REWIND:
                        start_position = end_position - frame_period;
                        break;
                case SINGLE_FRAME_REWIND:
                        start_position = end_position - frame_period;
                        break;
index f10af67ef952e0a04e9841421957b4262e125f43..f61ef275d78d548e7c8c3a222a4a984c75c34727 100644 (file)
@@ -239,15 +239,6 @@ PKG_3RD([giflib],[yes],
     libutil.a ],
   [ . ])
 
     libutil.a ],
   [ . ])
 
-PKG_3RD([ilmbase],[auto],
-  [ilmbase-2.2.1],
-  [ Iex/.libs/libIex.a \
-    IexMath/.libs/libIexMath.a \
-    Half/.libs/libHalf.a \
-    Imath/.libs/libImath.a \
-    IlmThread/.libs/libIlmThread.a ],
-  [ Iex Half Imath config IlmThread ])
-
 PKG_DEF([ladspa], [ladspa-0.4.17], [], [])
 
 PKG_3RD([lame],[auto],
 PKG_DEF([ladspa], [ladspa-0.4.17], [], [])
 
 PKG_3RD([lame],[auto],
@@ -338,10 +329,18 @@ PKG_3RD([mjpegtools],[yes],
   [ .  lavtools utils ])
 
 PKG_3RD([openexr],[auto],
   [ .  lavtools utils ])
 
 PKG_3RD([openexr],[auto],
-  [openexr-2.2.1],
-  [ IlmImf/.libs/libIlmImf.a \
-    IlmImfUtil/.libs/libIlmImfUtil.a ],
-  [ IlmImf config ])
+  [openexr-2.4.1],
+  [ usr/local/lib/libHalf.a \
+    usr/local/lib/libIex.a \
+    usr/local/lib/libIexMath.a \
+    usr/local/lib/libIlmThread.a \
+    usr/local/lib/libImath.a \
+    usr/local/lib/libIlmImf.a \
+    usr/local/lib/libIlmImfUtil.a ],
+  [ usr/local/include/OpenEXR ])
+
+PKG_3RD([openExr],[auto], [openExr], [] [])
+PKG_3RD([ilmBase],[auto], [ilmBase], [] [])
 
 #PKG_3RD([festival],[no],
 #  [festival],
 
 #PKG_3RD([festival],[no],
 #  [festival],
@@ -415,7 +414,7 @@ PKG_3RD([libaom],[auto],
   [ usr/local/include ])
 
 PKG_3RD([dav1d],[auto],
   [ usr/local/include ])
 
 PKG_3RD([dav1d],[auto],
-  [dav1d-0.6.0],
+  [dav1d-0.5.1],
   [ usr/local/lib*/libdav1d*.a ],
   [ usr/local/include ])
 
   [ usr/local/lib*/libdav1d*.a ],
   [ usr/local/include ])
 
@@ -895,7 +894,7 @@ PKG_PROVIDE([ffmpeg])
 PKG_PROVIDE([fftw])
 PKG_PROVIDE([flac])
 PKG_PROVIDE([giflib])
 PKG_PROVIDE([fftw])
 PKG_PROVIDE([flac])
 PKG_PROVIDE([giflib])
-PKG_PROVIDE([ilmbase], [$WANT_OPENEXR])
+PKG_PROVIDE([ilmBase], [$WANT_OPENEXR])
 PKG_PROVIDE([ladspa],[$WANT_LADSPA_BUILD])
 PKG_PROVIDE([lame])
 PKG_PROVIDE([libavc1394],[$WANT_FIREWIRE])
 PKG_PROVIDE([ladspa],[$WANT_LADSPA_BUILD])
 PKG_PROVIDE([lame])
 PKG_PROVIDE([libavc1394],[$WANT_FIREWIRE])
@@ -912,6 +911,7 @@ PKG_PROVIDE([mjpegtools])
 PKG_PROVIDE([libaom])
 PKG_PROVIDE([dav1d])
 PKG_PROVIDE([libwebp])
 PKG_PROVIDE([libaom])
 PKG_PROVIDE([dav1d])
 PKG_PROVIDE([libwebp])
+PKG_PROVIDE([openExr], [$WANT_OPENEXR])
 PKG_PROVIDE([openexr], [$WANT_OPENEXR])
 PKG_PROVIDE([openjpeg])
 PKG_PROVIDE([tiff])
 PKG_PROVIDE([openexr], [$WANT_OPENEXR])
 PKG_PROVIDE([openjpeg])
 PKG_PROVIDE([tiff])
diff --git a/cinelerra-5.1/plugins/shapes/16-9_boart.png b/cinelerra-5.1/plugins/shapes/16-9_boart.png
new file mode 100644 (file)
index 0000000..b63a925
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_boart.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_boxes.png b/cinelerra-5.1/plugins/shapes/16-9_boxes.png
new file mode 100644 (file)
index 0000000..19f9d2f
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_boxes.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_cat_eyes.png b/cinelerra-5.1/plugins/shapes/16-9_cat_eyes.png
new file mode 100644 (file)
index 0000000..dc89dbd
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_cat_eyes.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_film_bands.png b/cinelerra-5.1/plugins/shapes/16-9_film_bands.png
new file mode 100644 (file)
index 0000000..e98ec5c
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_film_bands.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_multi_circle.png b/cinelerra-5.1/plugins/shapes/16-9_multi_circle.png
new file mode 100644 (file)
index 0000000..30c246a
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_multi_circle.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_multi_spiral.png b/cinelerra-5.1/plugins/shapes/16-9_multi_spiral.png
new file mode 100644 (file)
index 0000000..257cf48
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_multi_spiral.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_multi_square.png b/cinelerra-5.1/plugins/shapes/16-9_multi_square.png
new file mode 100644 (file)
index 0000000..2952101
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_multi_square.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_rare_spiral.png b/cinelerra-5.1/plugins/shapes/16-9_rare_spiral.png
new file mode 100644 (file)
index 0000000..bcddf6f
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_rare_spiral.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_rectangles.png b/cinelerra-5.1/plugins/shapes/16-9_rectangles.png
new file mode 100644 (file)
index 0000000..3f39742
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_rectangles.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_star.png b/cinelerra-5.1/plugins/shapes/16-9_star.png
new file mode 100644 (file)
index 0000000..f7ba3d5
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_star.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_stars.png b/cinelerra-5.1/plugins/shapes/16-9_stars.png
new file mode 100644 (file)
index 0000000..54edfb2
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_stars.png differ
diff --git a/cinelerra-5.1/plugins/shapes/16-9_wood.png b/cinelerra-5.1/plugins/shapes/16-9_wood.png
new file mode 100644 (file)
index 0000000..140e71c
Binary files /dev/null and b/cinelerra-5.1/plugins/shapes/16-9_wood.png differ
index 5315237e099d9ef27fdfcb78e9120d8ff7ab0eb5..0c595eee31c99e5ef0ce29743ffb3f910507d272 100644 (file)
@@ -195,9 +195,6 @@ audiofile.mak_params?=LIBS="-lm -lstdc++"
 flac.cfg_params?= --enable-shared=no
 flac.cflags?="$(call inc_path,libogg) $(call ld_path,libogg,src/.libs)"
 giflib.cfg_params=echo "exec true" > ./configure; chmod +x ./configure;
 flac.cfg_params?= --enable-shared=no
 flac.cflags?="$(call inc_path,libogg) $(call ld_path,libogg,src/.libs)"
 giflib.cfg_params=echo "exec true" > ./configure; chmod +x ./configure;
-ilmbase.cfg_vars= CFLAGS+=" -Wno-narrowing" CXXFLAGS+=" -Wno-narrowing"
-ilmbase.cfg_params?=--prefix=$(call bld_path,ilmbase,usr)
-ilmbase.mak_params?=; $(MAKE) -C ilmbase* install; cd $(call bld_path,ilmbase); ln -sf lib64 usr/lib
 lame.cfg_vars?= CFLAGS+=" -O"
 lame.cfg_params?=--enable-shared=no
 lame.mak_params?= ; cd $(call bld_path,lame,include); ln -sf . lame
 lame.cfg_vars?= CFLAGS+=" -O"
 lame.cfg_params?=--enable-shared=no
 lame.mak_params?= ; cd $(call bld_path,lame,include); ln -sf . lame
@@ -242,8 +239,8 @@ openjpeg.cfg_vars?=$(call cmake_config,.)
 openjpeg.mak_params?= ; cd $(call bld_path,openjpeg,src/lib/openjp2); ln -sf . openjpeg-2.1
 opencv.cfg_vars?=$(call cmake_config,.)
 opencv.cfg_params?= -DBUILD_SHARED_LIBS:BOOL=OFF
 openjpeg.mak_params?= ; cd $(call bld_path,openjpeg,src/lib/openjp2); ln -sf . openjpeg-2.1
 opencv.cfg_vars?=$(call cmake_config,.)
 opencv.cfg_params?= -DBUILD_SHARED_LIBS:BOOL=OFF
-openexr.cfg_vars?=LD_LIBRARY_PATH=$(call bld_path,ilmbase,usr/lib)
-openexr.cfg_params?=--enable-shared=no --with-ilmbase-prefix=$(call bld_path,ilmbase,usr)
+openexr.cfg_vars?=true; \#
+openexr.mak_vars?=true; \#
 speech_tools.mak_params?=-j1
 tiff.cfg_vars+=LIBS+=" -lpthread"
 tiff.cfg_params+= --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\
 speech_tools.mak_params?=-j1
 tiff.cfg_vars+=LIBS+=" -lpthread"
 tiff.cfg_params+= --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\
@@ -328,7 +325,7 @@ $(call rules,$(call std-build,ffmpeg, twolame lame openjpeg opus \
 $(call rules,$(call std-build,fftw))
 $(call rules,$(call std-build,flac,libogg))
 $(call rules,$(call std-build,giflib))
 $(call rules,$(call std-build,fftw))
 $(call rules,$(call std-build,flac,libogg))
 $(call rules,$(call std-build,giflib))
-$(call rules,$(call std-build,ilmbase))
+$(call rules,$(call std-build,ilmBase, openexr))
 $(call rules,$(call std-build,ladspa))
 $(call rules,$(call std-build,lame))
 $(call rules,$(call std-build,libaom))
 $(call rules,$(call std-build,ladspa))
 $(call rules,$(call std-build,lame))
 $(call rules,$(call std-build,libaom))
@@ -346,7 +343,8 @@ $(call rules,$(call std-build,libuuid))
 $(call rules,$(call std-build,libvorbis))
 $(call rules,$(call std-build,mjpegtools, libjpeg))
 $(call rules,$(call std-build,opencv))
 $(call rules,$(call std-build,libvorbis))
 $(call rules,$(call std-build,mjpegtools, libjpeg))
 $(call rules,$(call std-build,opencv))
-$(call rules,$(call std-build,openexr, ilmbase))
+$(call rules,$(call std-build,openexr))
+$(call rules,$(call std-build,openExr, ilmBase))
 $(call rules,$(call std-build,openjpeg))
 $(call rules,$(call std-build,opus))
 $(call rules,$(call std-build,speech_tools))
 $(call rules,$(call std-build,openjpeg))
 $(call rules,$(call std-build,opus))
 $(call rules,$(call std-build,speech_tools))
similarity index 93%
rename from cinelerra-5.1/thirdparty/src/dav1d-0.6.0.patch1
rename to cinelerra-5.1/thirdparty/src/dav1d-0.5.1.patch1
index ebfb9ca65f477e3776cbd20fc8b52d8967f243b2..d4f2b8356971afc979633a0cd8b1b2f33c9000fc 100644 (file)
@@ -1,7 +1,7 @@
-diff -ruN a/Makefile b/Makefile
+diff -urN a/Makefile b/Makefile
 --- a/Makefile 1969-12-31 17:00:00.000000000 -0700
 --- a/Makefile 1969-12-31 17:00:00.000000000 -0700
-+++ b/Makefile 2020-03-12 17:08:48.095517451 -0600
-@@ -0,0 +1,368 @@
++++ b/Makefile 2019-10-14 10:54:47.354841430 -0600
+@@ -0,0 +1,363 @@
 +
 +_ARCH := $(shell uname -m)
 +ARCH_I32 := $(shell expr "x$(_ARCH)" : 'xi[346]86.*')
 +
 +_ARCH := $(shell uname -m)
 +ARCH_I32 := $(shell expr "x$(_ARCH)" : 'xi[346]86.*')
@@ -36,7 +36,7 @@ diff -ruN a/Makefile b/Makefile
 +
 +STATIC_LIB=$(BUILD)/src/libdav1d.a
 +SHARED_LIB=$(BUILD)/src/libdav1d.so
 +
 +STATIC_LIB=$(BUILD)/src/libdav1d.a
 +SHARED_LIB=$(BUILD)/src/libdav1d.so
-+DEFS= -DNDEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
++DEFS= -DNDEBUG -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L
 +FUZZ= -DDAV1D_MT_FUZZING
 +
 +BLD_INCL= $(DEFS) -I. -Isrc -Iinclude/dav1d -Iinclude \
 +FUZZ= -DDAV1D_MT_FUZZING
 +
 +BLD_INCL= $(DEFS) -I. -Isrc -Iinclude/dav1d -Iinclude \
@@ -78,7 +78,7 @@ diff -ruN a/Makefile b/Makefile
 +      -fomit-frame-pointer \
 +      -ffast-math \
 +      -fPIC \
 +      -fomit-frame-pointer \
 +      -ffast-math \
 +      -fPIC \
-+      -mpreferred-stack-boundary=6 \
++      -mpreferred-stack-boundary=5 \
 +      -MD -MQ $@ -MF $@.d \
 +
 +SHA_OPTS=\
 +      -MD -MQ $@ -MF $@.d \
 +
 +SHA_OPTS=\
@@ -88,7 +88,7 @@ diff -ruN a/Makefile b/Makefile
 +      -shared \
 +      -fPIC \
 +      -Wl,--start-group \
 +      -shared \
 +      -fPIC \
 +      -Wl,--start-group \
-+      -Wl,-soname,libdav1d.so.4 \
++      -Wl,-soname,libdav1d.so.2 \
 +      -Wl,--end-group \
 +      -pthread \
 +
 +      -Wl,--end-group \
 +      -pthread \
 +
@@ -98,22 +98,21 @@ diff -ruN a/Makefile b/Makefile
 +
 +# nasm
 +NASM_OBJS=$(call any,$(NASM_BLD), \
 +
 +# nasm
 +NASM_OBJS=$(call any,$(NASM_BLD), \
-+      cpuid.obj \
-+      msac.obj \
 +      cdef.obj \
 +      film_grain.obj \
 +      ipred.obj \
 +      itx.obj \
 +      cdef.obj \
 +      film_grain.obj \
 +      ipred.obj \
 +      itx.obj \
++      cdef_sse.obj \
++      ipred_ssse3.obj \
 +      loopfilter.obj \
 +      looprestoration.obj \
 +      mc.obj \
 +      loopfilter.obj \
 +      looprestoration.obj \
 +      mc.obj \
-+      cdef_sse.obj \
-+      film_grain_ssse3.obj \
-+      ipred_ssse3.obj \
 +      itx_ssse3.obj \
 +      itx_ssse3.obj \
-+      loopfilter_ssse3.obj \
 +      looprestoration_ssse3.obj \
 +      looprestoration_ssse3.obj \
-+      mc_ssse3.obj)
++      loopfilter_ssse3.obj \
++      mc_ssse3.obj \
++      cpuid.obj \
++      msac.obj )
 +
 +$(NASM_BLD)/%.obj: src/x86/%.asm
 +      $(NASM) -f $(ASM_ARCH) \
 +
 +$(NASM_BLD)/%.obj: src/x86/%.asm
 +      $(NASM) -f $(ASM_ARCH) \
@@ -137,7 +136,6 @@ diff -ruN a/Makefile b/Makefile
 +      dequant_tables.o \
 +      getbits.o \
 +      intra_edge.o \
 +      dequant_tables.o \
 +      getbits.o \
 +      intra_edge.o \
-+      itx_1d.o \
 +      lf_mask.o \
 +      log.o \
 +      msac.o \
 +      lf_mask.o \
 +      log.o \
 +      msac.o \
@@ -150,8 +148,7 @@ diff -ruN a/Makefile b/Makefile
 +      tables.o \
 +      warpmv.o \
 +      wedge.o \
 +      tables.o \
 +      warpmv.o \
 +      wedge.o \
-+      x86/cpu.c.o \
-+      x86/msac_init.c.o)
++      x86/cpu.c.o)
 +$(SRC_BLD)/%.o: src/%.c
 +      $(CC_CC) $(BLD_INCL) -pthread -o $@ -c $<
 +$(SRC_BLD)/x86/%.c.o: src/x86/%.c
 +$(SRC_BLD)/%.o: src/%.c
 +      $(CC_CC) $(BLD_INCL) -pthread -o $@ -c $<
 +$(SRC_BLD)/x86/%.c.o: src/x86/%.c
@@ -207,17 +204,17 @@ diff -ruN a/Makefile b/Makefile
 +      echo >> $@ "#define HAVE_ASM 1"
 +      echo >> $@ "#define HAVE_POSIX_MEMALIGN 1"
 +      echo >> $@ "#define HAVE_UNISTD_H 1"
 +      echo >> $@ "#define HAVE_ASM 1"
 +      echo >> $@ "#define HAVE_POSIX_MEMALIGN 1"
 +      echo >> $@ "#define HAVE_UNISTD_H 1"
-+      echo >> $@ "#define STACK_ALIGNMENT 64"
++      echo >> $@ "#define STACK_ALIGNMENT 32"
 +
 +$(BUILD)/config.asm:
 +      echo  > $@ "%define ARCH_X86_32 $(ARCH_X86_32)"
 +      echo >> $@ "%define ARCH_X86_64 $(ARCH_X86_64)"
 +      echo >> $@ "%define PIC 1"
 +
 +$(BUILD)/config.asm:
 +      echo  > $@ "%define ARCH_X86_32 $(ARCH_X86_32)"
 +      echo >> $@ "%define ARCH_X86_64 $(ARCH_X86_64)"
 +      echo >> $@ "%define PIC 1"
-+      echo >> $@ "%define STACK_ALIGNMENT 64"
++      echo >> $@ "%define STACK_ALIGNMENT 32"
 +
 +$(BUILD)/include/vcs_version.h:
 +      mkdir -p $(BUILD)/include
 +
 +$(BUILD)/include/vcs_version.h:
 +      mkdir -p $(BUILD)/include
-+      echo  > $@ "#define DAV1D_VERSION \"0.6.0\""
++      echo  > $@ "#define DAV1D_VERSION \"0.5.0\""
 +
 +$(BUILD)/include/dav1d/version.h:
 +      mkdir -p $(BUILD)/include/dav1d
 +
 +$(BUILD)/include/dav1d/version.h:
 +      mkdir -p $(BUILD)/include/dav1d
@@ -265,7 +262,6 @@ diff -ruN a/Makefile b/Makefile
 +      input/annexb.o \
 +      input/ivf.o \
 +      input/input.o \
 +      input/annexb.o \
 +      input/ivf.o \
 +      input/input.o \
-+      input/section5.o \
 +      output/md5.o \
 +      output/null.o \
 +      output/output.o \
 +      output/md5.o \
 +      output/null.o \
 +      output/output.o \
@@ -273,9 +269,8 @@ diff -ruN a/Makefile b/Makefile
 +      output/yuv.o)
 +
 +DAV1DPLAY_OBJS=$(call any,$(TOOLS_BLD),\
 +      output/yuv.o)
 +
 +DAV1DPLAY_OBJS=$(call any,$(TOOLS_BLD),\
-+      ../examples/dav1dplay.o \
++      dav1dplay.o \
 +      input/annexb.o \
 +      input/annexb.o \
-+      input/section5.o \
 +      input/ivf.o \
 +      input/input.o)
 +
 +      input/ivf.o \
 +      input/input.o)
 +
@@ -350,7 +345,7 @@ diff -ruN a/Makefile b/Makefile
 +
 +$(OBJDIR):
 +      mkdir -p $@/include/dav1d \
 +
 +$(OBJDIR):
 +      mkdir -p $@/include/dav1d \
-+              $(BUILD)/src $(BUILD)/include $(BUILD)/examples \
++              $(BUILD)/src $(BUILD)/include \
 +              $(ENTRY_BLD) $(NASM_BLD) \
 +              $(SRC_BLD)/x86 $(BIT8_BLD)/x86 $(BIT16_BLD)/x86 \
 +              $(TOOLS_BLD) $(TOOLS_BLD)/input $(TOOLS_BLD)/output \
 +              $(ENTRY_BLD) $(NASM_BLD) \
 +              $(SRC_BLD)/x86 $(BIT8_BLD)/x86 $(BIT16_BLD)/x86 \
 +              $(TOOLS_BLD) $(TOOLS_BLD)/input $(TOOLS_BLD)/output \
diff --git a/cinelerra-5.1/thirdparty/src/dav1d-0.5.1.tar.gz b/cinelerra-5.1/thirdparty/src/dav1d-0.5.1.tar.gz
new file mode 100644 (file)
index 0000000..805f750
Binary files /dev/null and b/cinelerra-5.1/thirdparty/src/dav1d-0.5.1.tar.gz differ
diff --git a/cinelerra-5.1/thirdparty/src/dav1d-0.6.0.tar.xz b/cinelerra-5.1/thirdparty/src/dav1d-0.6.0.tar.xz
deleted file mode 100644 (file)
index 7eaa76b..0000000
Binary files a/cinelerra-5.1/thirdparty/src/dav1d-0.6.0.tar.xz and /dev/null differ
diff --git a/cinelerra-5.1/thirdparty/src/ilmBase.tar.xz b/cinelerra-5.1/thirdparty/src/ilmBase.tar.xz
new file mode 100644 (file)
index 0000000..08edd2d
Binary files /dev/null and b/cinelerra-5.1/thirdparty/src/ilmBase.tar.xz differ
diff --git a/cinelerra-5.1/thirdparty/src/ilmbase-2.2.1.tar.xz b/cinelerra-5.1/thirdparty/src/ilmbase-2.2.1.tar.xz
deleted file mode 100644 (file)
index 026ee91..0000000
Binary files a/cinelerra-5.1/thirdparty/src/ilmbase-2.2.1.tar.xz and /dev/null differ
diff --git a/cinelerra-5.1/thirdparty/src/openExr.tar.xz b/cinelerra-5.1/thirdparty/src/openExr.tar.xz
new file mode 100644 (file)
index 0000000..2ce807b
Binary files /dev/null and b/cinelerra-5.1/thirdparty/src/openExr.tar.xz differ
similarity index 57%
rename from cinelerra-5.1/thirdparty/src/openexr-2.2.1.tar.xz
rename to cinelerra-5.1/thirdparty/src/openexr-2.4.1.tar.xz
index 80cc3d6011e1820a85046b6043b82bb5958d8ffc..faeb30fb0c24b9489be32e4c7067abac44a57f3c 100644 (file)
Binary files a/cinelerra-5.1/thirdparty/src/openexr-2.2.1.tar.xz and b/cinelerra-5.1/thirdparty/src/openexr-2.4.1.tar.xz differ