x264 for cell r714 080501-CELLプロセッサ
x264 for cell をバージョンアップしました。 patch-x264...
x264 for cell をバージョンアップしました。
- patch-x264-cell-r714-080501.bz2 (1 patch)
- patches-x264-cell-r714-080501.tar.bz2 (series patch for quilt, stgit)
主な変更点としては、
- ベースを r635 から r714 に変更。ちなみに現在の最新バージョンは、 怒涛の更新により r839 なので、かなり古いものがベースです。
- SPE で動作するスレッド (x264_enc_thread_spu) を新しく作りました。こ のスレッドでは encode、intra analyse や rd 系の関数を実行します。
使用ツールのインストール
x264 のソース管理が subversion から git に変更されていますので、まず は git (StGIT) をインストールして下さい。Fedora(rpm) 系では以下のように します。
$ yum install git stgit
source tree の作成
1 patch を使用する場合と、series patch を使用する場合の 2 通りの方 法を用意してありますのでお好きな方をどうぞ。
1 patch を使用する場合
$ git clone git://git.videolan.org/x264.git $ cd x264 $ git branch cell-r714 96a59591e1190a3b4dbcbae79f9b150f09977427 $ git checkout cell-r714 $ bzip2 -dc /hack/cell/x264-cell/patch-x264-cell-r714-080501.bz2 | patch -p1
series patch を使用する場合
$ git clone git://git.videolan.org/x264.git $ bzip2 -dc patches-x264-cell-r714-080501.tar.bz2 | tar xvf - $ cd x264 $ stg branch -c cell-r714 96a59591e1190a3b4dbcbae79f9b150f09977427 $ stg import -s ../patches/series # trailing whitespace warning が出ます
実行ファイルの作成
実行ファイルは以下のようにして作成出来ます。PC の場合も configure を PS3 上で行うことで作成される config.mak, config.h が必要です。
$ ./configure # PS3 上で実行 $ make cell
これで実行ファイル x264 (ppe), x264_{me,enc}_thread_spu (spe) が出来 ます。




コメント
Houses and cars are not very cheap and not everybody is able to buy it. Nevertheless, credit loans was invented to aid people in such situations.
Posted by: FOWLERIsabel | 2010年04月15日 04:27