Home
last modified time | relevance | path

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

/external/libaom/libaom/test/
Ddecode_perf_test.cc104 outfile_(0), out_frames_(0) {} in AV1NewEncodeDecodePerfTest()
137 outfile_ = fopen(path_to_source.c_str(), "wb"); in BeginPassHook()
138 ASSERT_TRUE(outfile_ != NULL); in BeginPassHook()
142 if (outfile_ != NULL) { in EndPassHook()
143 if (!fseek(outfile_, 0, SEEK_SET)) in EndPassHook()
144 ivf_write_file_header(outfile_, &cfg_, AV1_FOURCC, out_frames_); in EndPassHook()
145 fclose(outfile_); in EndPassHook()
146 outfile_ = NULL; in EndPassHook()
155 ivf_write_file_header(outfile_, &cfg_, AV1_FOURCC, out_frames_); in FramePktHook()
158 ivf_write_frame_header(outfile_, out_frames_, pkt->data.frame.sz); in FramePktHook()
[all …]
Dresize_test.cc249 : ResizeTest(), frame0_psnr_(0.0), outfile_(NULL), out_frames_(0) {} in ResizeInternalTestLarge()
258 outfile_ = fopen("av10-2-05-resize.ivf", "wb"); in BeginPassHook()
264 if (outfile_) { in EndPassHook()
265 if (!fseek(outfile_, 0, SEEK_SET)) in EndPassHook()
266 write_ivf_file_header(&cfg_, out_frames_, outfile_); in EndPassHook()
267 fclose(outfile_); in EndPassHook()
268 outfile_ = NULL; in EndPassHook()
309 if (pkt->data.frame.pts == 0) write_ivf_file_header(&cfg_, 0, outfile_); in FramePktHook()
312 write_ivf_frame_header(pkt, outfile_); in FramePktHook()
313 (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.cc353 : ResizeTest(), frame0_psnr_(0.0), outfile_(NULL), out_frames_(0) {} in ResizeInternalTest()
362 outfile_ = fopen("vp90-2-05-resize.ivf", "wb"); in BeginPassHook()
368 if (outfile_) { in EndPassHook()
369 if (!fseek(outfile_, 0, SEEK_SET)) in EndPassHook()
370 write_ivf_file_header(&cfg_, out_frames_, outfile_); in EndPassHook()
371 fclose(outfile_); in EndPassHook()
372 outfile_ = NULL; in EndPassHook()
413 if (pkt->data.frame.pts == 0) write_ivf_file_header(&cfg_, 0, outfile_); in FramePktHook()
416 write_ivf_frame_header(pkt, outfile_); in FramePktHook()
417 (void)fwrite(pkt->data.frame.buf, 1, pkt->data.frame.sz, outfile_); in FramePktHook()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system.cc358 outfile_(Aws::MakeShared<Aws::Utils::TempFile>( in S3WritableFile()
364 if (!outfile_) { in Append()
369 outfile_->write(data.data(), data.size()); in Append()
370 if (!outfile_->good()) { in Append()
378 if (outfile_) { in Close()
380 outfile_.reset(); in Close()
392 if (!outfile_) { in Sync()
400 long offset = outfile_->tellp(); in Sync()
403 outfile_, bucket_.c_str(), object_.c_str(), in Sync()
413 transfer_manager_.get()->RetryUpload(outfile_, handle); in Sync()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.h125 : step_(step), outfile_(outfile) {} in Timeline()
179 const string outfile_; variable
Dtfprof_timeline.cc324 std::string outfile = absl::StrFormat("%s_%d", outfile_, step()); in OutputTimeline()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc444 outfile_.open(tmp_content_filename_, in GcsWritableFile()
478 outfile_.open(tmp_content_filename_, in GcsWritableFile()
491 outfile_ << data; in Append()
492 if (!outfile_.good()) { in Append()
501 if (outfile_.is_open()) { in Close()
504 outfile_.close(); in Close()
535 *position = outfile_.tellp(); in Tell()
550 outfile_.flush(); in SyncImpl()
551 if (!outfile_.good()) { in SyncImpl()
615 if (!outfile_.is_open()) { in CheckWritable()
[all …]