/external/libvpx/libvpx/test/ |
D | encode_test_driver.h | 44 : encoder_(encoder), iter_(NULL) {} in CxDataIterator() 47 return vpx_codec_get_cx_data(encoder_, &iter_); in Next() 51 vpx_codec_ctx_t *encoder_; 87 memset(&encoder_, 0, sizeof(encoder_)); in Encoder() 91 vpx_codec_destroy(&encoder_); in ~Encoder() 95 return CxDataIterator(&encoder_); in GetCxData() 99 return vpx_codec_get_preview_frame(&encoder_); in GetPreviewFrame() 111 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg); in Control() 121 const char *detail = vpx_codec_error_detail(&encoder_); in EncoderError() 122 return detail ? detail : vpx_codec_error(&encoder_); in EncoderError() [all …]
|
D | encode_test_driver.cc | 42 if (!encoder_.priv) { in EncodeFrameInternal() 47 res = vpx_codec_enc_init(&encoder_, &vpx_codec_vp8_cx_algo, &cfg_, in EncodeFrameInternal() 56 res = vpx_codec_enc_config_set(&encoder_, &cfg_); in EncodeFrameInternal() 61 res = vpx_codec_encode(&encoder_, in EncodeFrameInternal() 68 const vpx_codec_err_t res = vpx_codec_encode(&encoder_, NULL, 0, 0, 0, in Flush()
|
/external/chromium/sdch/open-vcdiff/src/ |
D | vcencoder_test.cc | 129 VCDiffStreamingEncoder encoder_; member in open_vcdiff::__anon5242c2fe0111::VCDiffEncoderTest 151 encoder_(&hashed_dictionary_, in VCDiffEncoderTest() 159 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); in TEST_F() 163 EXPECT_FALSE(encoder_.FinishEncoding(delta())); in TEST_F() 240 EXPECT_TRUE(encoder_.StartEncoding(delta())); in TEST_F() 241 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); in TEST_F() 242 EXPECT_TRUE(encoder_.FinishEncoding(delta())); in TEST_F() 255 EXPECT_TRUE(encoder_.StartEncoding(&delta_start)); in TEST_F() 256 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_encode)); in TEST_F() 257 EXPECT_TRUE(encoder_.FinishEncoding(&delta_finish)); in TEST_F() [all …]
|
D | vcencoder.cc | 211 if (!encoder_) { in EncodeToInterface() 216 encoder_ = new VCDiffStreamingEncoder(&dictionary_, in EncodeToInterface() 220 if (!encoder_->StartEncodingToInterface(out)) { in EncodeToInterface() 223 if (!encoder_->EncodeChunkToInterface(target_data, target_len, out)) { in EncodeToInterface() 226 return encoder_->FinishEncodingToInterface(out); in EncodeToInterface()
|
/external/open-vcdiff/src/ |
D | vcencoder_test.cc | 134 VCDiffStreamingEncoder encoder_; member in open_vcdiff::__anonf3e4d29a0111::VCDiffEncoderTest 163 encoder_(&hashed_dictionary_, in VCDiffEncoderTest() 174 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); in TEST_F() 178 EXPECT_FALSE(encoder_.FinishEncoding(delta())); in TEST_F() 266 EXPECT_TRUE(encoder_.StartEncoding(delta())); in TEST_F() 267 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); in TEST_F() 268 EXPECT_TRUE(encoder_.FinishEncoding(delta())); in TEST_F() 288 EXPECT_TRUE(encoder_.StartEncoding(&delta_start)); in TEST_F() 289 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_encode)); in TEST_F() 290 EXPECT_TRUE(encoder_.FinishEncoding(&delta_finish)); in TEST_F() [all …]
|
D | vcencoder.cc | 178 if (!encoder_) { in EncodeToInterface() 183 encoder_ = new VCDiffStreamingEncoder(&dictionary_, in EncodeToInterface() 187 if (!encoder_->StartEncodingToInterface(out)) { in EncodeToInterface() 190 if (!encoder_->EncodeChunkToInterface(target_data, target_len, out)) { in EncodeToInterface() 193 return encoder_->FinishEncodingToInterface(out); in EncodeToInterface()
|
/external/open-vcdiff/src/google/ |
D | vcencoder.h | 213 encoder_(NULL), in VCDiffEncoder() 218 delete encoder_; in ~VCDiffEncoder() local 250 VCDiffStreamingEncoder* encoder_; variable
|
/external/chromium/sdch/open-vcdiff/src/google/ |
D | vcencoder.h | 249 encoder_(NULL), in VCDiffEncoder() 254 delete encoder_; in ~VCDiffEncoder() local 286 VCDiffStreamingEncoder* encoder_; variable
|