Home
last modified time | relevance | path

Searched refs:outfile_ (Results 1 – 8 of 8) sorted by relevance

/external/libaom/libaom/test/
Ddecode_perf_test.cc103 outfile_(0), out_frames_(0) {} in AV1NewEncodeDecodePerfTest()
136 outfile_ = fopen(path_to_source.c_str(), "wb"); in BeginPassHook()
137 ASSERT_TRUE(outfile_ != NULL); in BeginPassHook()
141 if (outfile_ != NULL) { in EndPassHook()
142 if (!fseek(outfile_, 0, SEEK_SET)) in EndPassHook()
143 ivf_write_file_header(outfile_, &cfg_, AV1_FOURCC, out_frames_); in EndPassHook()
144 fclose(outfile_); in EndPassHook()
145 outfile_ = NULL; in EndPassHook()
154 ivf_write_file_header(outfile_, &cfg_, AV1_FOURCC, out_frames_); in FramePktHook()
157 ivf_write_frame_header(outfile_, out_frames_, pkt->data.frame.sz); in FramePktHook()
[all …]
Dresize_test.cc248 : ResizeTest(), frame0_psnr_(0.0), outfile_(NULL), out_frames_(0) {} in ResizeInternalTestLarge()
257 outfile_ = fopen("av10-2-05-resize.ivf", "wb"); in BeginPassHook()
263 if (outfile_) { in EndPassHook()
264 if (!fseek(outfile_, 0, SEEK_SET)) in EndPassHook()
265 write_ivf_file_header(&cfg_, out_frames_, outfile_); in EndPassHook()
266 fclose(outfile_); in EndPassHook()
267 outfile_ = NULL; in EndPassHook()
308 if (pkt->data.frame.pts == 0) write_ivf_file_header(&cfg_, 0, outfile_); in FramePktHook()
311 write_ivf_frame_header(pkt, outfile_); in FramePktHook()
312 (void)fwrite(pkt->data.frame.buf, 1, pkt->data.frame.sz, outfile_); in FramePktHook()
[all …]
/external/libvpx/libvpx/test/
Ddecode_perf_test.cc119 outfile_(0), out_frames_(0) {} in VP9NewEncodeDecodePerfTest()
152 outfile_ = fopen(path_to_source.c_str(), "wb"); in BeginPassHook()
153 ASSERT_TRUE(outfile_ != NULL); in BeginPassHook()
157 if (outfile_ != NULL) { in EndPassHook()
158 if (!fseek(outfile_, 0, SEEK_SET)) { in EndPassHook()
159 ivf_write_file_header(outfile_, &cfg_, VP9_FOURCC, out_frames_); in EndPassHook()
161 fclose(outfile_); in EndPassHook()
162 outfile_ = NULL; in EndPassHook()
171 ivf_write_file_header(outfile_, &cfg_, VP9_FOURCC, out_frames_); in FramePktHook()
175 ivf_write_frame_header(outfile_, out_frames_, pkt->data.frame.sz); in FramePktHook()
[all …]
Dresize_test.cc335 : ResizeTest(), frame0_psnr_(0.0), outfile_(NULL), out_frames_(0) {} in ResizeInternalTest()
344 outfile_ = fopen("vp90-2-05-resize.ivf", "wb"); in BeginPassHook()
350 if (outfile_) { in EndPassHook()
351 if (!fseek(outfile_, 0, SEEK_SET)) in EndPassHook()
352 write_ivf_file_header(&cfg_, out_frames_, outfile_); in EndPassHook()
353 fclose(outfile_); in EndPassHook()
354 outfile_ = NULL; in EndPassHook()
395 if (pkt->data.frame.pts == 0) write_ivf_file_header(&cfg_, 0, outfile_); in FramePktHook()
398 write_ivf_frame_header(pkt, outfile_); in FramePktHook()
399 (void)fwrite(pkt->data.frame.buf, 1, pkt->data.frame.sz, outfile_); in FramePktHook()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system.cc213 outfile_(Aws::MakeShared<Aws::Utils::TempFile>( in S3WritableFile()
219 if (!outfile_) { in Append()
224 outfile_->write(data.data(), data.size()); in Append()
225 if (!outfile_->good()) { in Append()
233 if (outfile_) { in Close()
235 outfile_.reset(); in Close()
247 if (!outfile_) { in Sync()
256 long offset = outfile_->tellp(); in Sync()
257 outfile_->seekg(0); in Sync()
258 putObjectRequest.SetBody(outfile_); in Sync()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc351 outfile_.open(tmp_content_filename_, in GcsWritableFile()
374 outfile_.open(tmp_content_filename_, in GcsWritableFile()
383 outfile_ << data; in Append()
384 if (!outfile_.good()) { in Append()
392 if (outfile_.is_open()) { in Close()
394 outfile_.close(); in Close()
419 *position = outfile_.tellp(); in Tell()
434 outfile_.flush(); in SyncImpl()
435 if (!outfile_.good()) { in SyncImpl()
473 if (!outfile_.is_open()) { in CheckWritable()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.h125 : step_(step), outfile_(outfile) {} in Timeline()
179 const string outfile_; variable
Dtfprof_timeline.cc324 string outfile = strings::Printf("%s_%lld", outfile_.c_str(), step()); in OutputTimeline()