コード例 #1
0
ファイル: h264encoder.cpp プロジェクト: MoshDev/AndroidRTC
void H264Encoder::OnMessage(talk_base::Message *msg) {
    if ( msg->message_id == MSG_START_ENCODER) {
        doEncoding();        
    }
}
コード例 #2
0
/**
 * This method is a wrapper for performing the instant
 * codes obtention and then the encoding process.
 *
 * @param inputFileName The name of the input file.
 */
void LempelZiv78Encoder::encode(char *inputFileName)
{
  getInstantCodes(inputFileName);
  doEncoding(inputFileName);
}
コード例 #3
0
/**
 * This method is a wrapper for performing the addition
 * of the symbols in the dictionary and then the encoding process.
 *
 * @param inputFileName The name of the input file.
 */
void LempelZivWEncoder::encode(char *inputFileName)
{
  addFirstIndex(inputFileName);
  doEncoding(inputFileName);
}