OROCHI
 
Loading...
Searching...
No Matches
GxMotionEncoder.cpp File Reference

モーション圧縮アルゴリズム More...

#include "GxMotion.h"
Include dependency graph for GxMotionEncoder.cpp:

Functions

s32 NEW_MOTION_ENCODER::uncompressData (u32 *pCompressData, f32 *pData)
 圧縮プログラムのデコードテスト
 
s32 NEW_MOTION_ENCODER::uncompressUnitQuaternion (u32 **ppCompressData, f32 *pData[4])
 回転を表す四元数の新圧縮プログラムのデコードテスト
 
s32 NEW_MOTION_ENCODER::uncompressUnitQuaternionFrame (u32 **ppCompressData, u32 frame0, u32 frame1, f32 *pDataStw[3], f32 *pData[4])
 回転を表す四元数の新圧縮プログラムのデコード
 
f32 NEW_MOTION_ENCODER::inverseQuantize (s32 in, s8 width)
 量子反転
 
void NEW_MOTION_ENCODER::getQuaternion (f32 data[3], f32 outData[4])
 回転を取得
 
f32 NEW_MOTION_ENCODER::getCurveValueFromFrame (u32 *pCompressData, u32 frame, KeyCache *pCache)
 カーブ値を取得
 
f32 NEW_MOTION_ENCODER::getCurveValueFromCache (u32 *pCompressData, u32 frame, KeyCache *pCache, u32 cacheFrame)
 カーブ値を取得
 

Detailed Description

モーション圧縮アルゴリズム

Author
Copyright (C)2009 SiliconStudio Inc. All rights reserved.
Yuya Ikeuchi

Function Documentation

◆ getCurveValueFromCache()

f32 NEW_MOTION_ENCODER::getCurveValueFromCache ( u32 * pCompressData,
u32 frame,
KeyCache * pCache,
u32 cacheFrame )

カーブ値を取得

Parameters
pCompressData[in] 圧縮データ
frame[in] フレーム
pCache[in] キーキャッシュ
cacheFrame[in] キャッシュフレーム
Returns
カーブ値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCurveValueFromFrame()

f32 NEW_MOTION_ENCODER::getCurveValueFromFrame ( u32 * pCompressData,
u32 frame,
KeyCache *  )

カーブ値を取得

Parameters
pCompressData[in] 圧縮データ
frame[in] フレーム
pCache[in] キーキャッシュ
Returns
カーブ値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getQuaternion()

void NEW_MOTION_ENCODER::getQuaternion ( f32 data[3],
f32 outData[4] )

回転を取得

Parameters
data[in] 入力値
outData[out] 出力値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ inverseQuantize()

f32 NEW_MOTION_ENCODER::inverseQuantize ( s32 in,
s8 width )

量子反転

Parameters
in[in] 入力値
width[in] 幅
Returns
出力値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ uncompressUnitQuaternionFrame()

s32 NEW_MOTION_ENCODER::uncompressUnitQuaternionFrame ( u32 ** ppCompressData,
u32 frame0,
u32 frame1,
f32 * pDataStw[3],
f32 * pData[4] )

回転を表す四元数の新圧縮プログラムのデコード

Parameters
ppCompressData[in] 圧縮データ
frame0[in] 計算してほしいフレーム
frame1[in] 計算してほしいフレーム
pDataStw[in] 計算用領域(new回避のため外から渡す)
pData[out] デコードデータを書き込むバッファ
Returns
フレーム数
Here is the call graph for this function:
Here is the caller graph for this function: