[Cin] The "Story of Dav1d" with Cinelerra builds (AV1 decoder)

Andrew Randrianasulu randrianasulu at gmail.com
Thu Sep 5 23:28:56 CEST 2019


В сообщении от Thursday 05 September 2019 17:57:59 Phyllis Smith написал(а):
> Andrea, gg is interested in this.  Did you find a way to make dav1d work
> for 32-bit?  Phyllis/GG


Something like attached Makefile works, at least not errors out

patch (diff -u) made from dav1d directory also attached

I used this info as reference:

https://stackoverflow.com/questions/9279765/how-to-detect-os-in-a-make-file



> 
> 
> > Aha, for static Makefile GG added ...
> >
> > +$(NASM_BLD)/%.obj: src/x86/%.asm
> > +       $(NASM) -f elf64 \
> > +               -I src/ -I $(BUILD)/ -MQ $@ -MF $@.ndep \
> > +               $< -o $@
> >
> > replace elf64 with elf32 for 32-bit builds ..... (looking at my source
> > folder for 32-bit libdav1d build via Meson/Ninja)
> >
> > actually there are two instances of this parameter, another for (libdav1d)
> > testfiles down the file ....
> >
> >
> > +$(TESTS_CHKASM_BLD)/x86/%.obj: $(TESTS_CHKASM)/x86/%.asm
> > +       @$(NASM) -f elf64 \
> > +               -I src/ -I $(BUILD)/ -MQ $@ -MF $@.ndep \
> > +               $< -o $@
> >
> >
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 8869 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20190906/9d09c8ca/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86_patch.diff
Type: text/x-diff
Size: 1801 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20190906/9d09c8ca/attachment-0003.bin>


More information about the Cin mailing list