Home
last modified time | relevance | path

Searched refs:check_err (Results 1 – 5 of 5) sorted by relevance

/third_party/flutter/skia/experimental/ffmpeg/
DSkVideoEncoder.cpp63 static bool check_err(int err, const int silentList[] = nullptr) { in check_err() function
194 if (check_err(avcodec_open2(fEncoderCtx, codec, nullptr))) { in init()
202 if (check_err(av_frame_get_buffer(fFrame, 32))) { in init()
206 if (check_err(avcodec_parameters_from_context(fStream->codecpar, fEncoderCtx))) { in init()
209 if (check_err(avformat_write_header(fFormatCtx, nullptr))) { in init()
263 if (check_err(av_frame_make_writable(fFrame))) { in addFrame()
278 if (check_err(avcodec_send_frame(fEncoderCtx, frame))) { in sendFrame()
288 if (check_err(ret)) { in sendFrame()
295 if (check_err(av_interleaved_write_frame(fFormatCtx, fPacket))) { in sendFrame()
DSkVideoDecoder.cpp113 static bool check_err(int err, const int silentList[] = nullptr) { in check_err() function
260 (void)check_err(ret); // we try to continue if there was an error in nextImage()
266 if (check_err(avcodec_receive_frame(fDecoderCtx, fFrame), silentList)) { in nextImage()
/third_party/skia/experimental/ffmpeg/
DSkVideoEncoder.cpp62 static bool check_err(int err, const int silentList[] = nullptr) { in check_err() function
193 if (check_err(avcodec_open2(fEncoderCtx, codec, nullptr))) { in init()
201 if (check_err(av_frame_get_buffer(fFrame, 32))) { in init()
205 if (check_err(avcodec_parameters_from_context(fStream->codecpar, fEncoderCtx))) { in init()
208 if (check_err(avformat_write_header(fFormatCtx, nullptr))) { in init()
265 if (check_err(av_frame_make_writable(fFrame))) { in addFrame()
280 if (check_err(avcodec_send_frame(fEncoderCtx, frame))) { in sendFrame()
290 if (check_err(ret)) { in sendFrame()
297 if (check_err(av_interleaved_write_frame(fFormatCtx, fPacket))) { in sendFrame()
DSkVideoDecoder.cpp113 static bool check_err(int err, const int silentList[] = nullptr) { in check_err() function
283 (void)check_err(ret); // we try to continue if there was an error in nextImage()
289 if (check_err(avcodec_receive_frame(fDecoderCtx, fFrame), silentList)) { in nextImage()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dstrerror_test.cc66 int check_err = errno; in TEST() local
67 EXPECT_THAT(check_err, Eq(ERANGE)); in TEST()