- Pandora Handheld PC / gst-dsp -


gst-dsp を Pandora 用にコンパイルします。

[クロスコンパイラ] [コンパイル]
  1. gst-dsp のソースを取得します。

    % git clone git://github.com/felipec/gst-dsp.git
    
  2. configure を修正します。

    % cd gst-dsp
    % cp configure configure.Pandora
    % vi configure.Pandora
    % diff -C 0 configure configure.Pandora
    *** configure
    --- configure.Pandora
    ***************
    *** 2 ****
    --- 3 ----
    + CROSS_COMPILE=${HOME}/pandora-dev/arm-2011.09/bin/arm-none-linux-gnueabi-
    ***************
    *** 7,8 ****
    ! GST_CFLAGS=$(pkg-config --cflags gstreamer-0.10)
    ! GST_LIBS=$(pkg-config --libs gstreamer-0.10)
    --- 8,9 ----
    ! GST_CFLAGS=$(${HOME}/pandora-dev/arm-2011.09/bin/arm-none-linux-gnueabi-pkg-config --cflags gstreamer-0.10)
    ! GST_LIBS=$(${HOME}/pandora-dev/arm-2011.09/bin/arm-none-linux-gnueabi-pkg-config --libs gstreamer-0.10)
    ***************
    *** 16 ****
    ! cat > Makefile.conf <<EOF
    --- 17 ----
    ! cat > Makefile.Pandora <<EOF
    ***************
    *** 31 ****
    --- 33,34 ----
    +
    + grep -v 'include Makefile.conf' Makefile >> Makefile.Pandora
    
  3. configure を実行し、作成された Makefile.Pandora を修正します。

    % configure.Pandora
    % vi Makefile.Pandora
    
  4. CFLAGS := -O2 -ggdb -Wall と続く行の最後に

     -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -fassociative-math -funsafe-math-optimizations
    

    を付け加えます。

  5. GST_CFLAGS := -pthread と続く行の最後に

     -I$(HOME)/pandora-dev/arm-2011.09/usr/include/gstreamer-0.10
    

    を付け加えます。

  6. GST_LIBS := -pthread と続く行の最後に

     -lz
    

    を付け加えます。

  7. コンパイルします。

    % make -f Makefile.Pandora
    
  8. 出来た libgstdsp.so と gst-dsp-parse を Pandora に持って行きます。

[Pandora] [コーデック] [H.264] [gst-omapfb]

Ubuntu 13.10 x86_64 でクロスコンパイルしたバイナリです。

**** お約束ですが、このバイナリは無保証です。 ****
**** ご自身の判断、責任のもとご使用してください。 ****


戻る

This page is written in Japanese.

(c) Sano Yukihiko