Searched refs:draining (Results 1 - 21 of 21) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | mediacodecdec_common.c | 539 s->draining = 0; in mediacodec_dec_flush_codec() 678 if (s->draining && s->eos) { in ff_mediacodec_dec_send() 682 while (offset < pkt->size || (need_draining && !s->draining)) { in ff_mediacodec_dec_send() 727 s->draining = 1; in ff_mediacodec_dec_send() 762 if (s->draining && s->eos) { in ff_mediacodec_dec_receive() 766 if (s->draining) { in ff_mediacodec_dec_receive() 846 if (s->draining) { in ff_mediacodec_dec_receive() 848 "while draining remaining frames, output will probably lack frames\n", in ff_mediacodec_dec_receive()
|
H A D | crystalhd.c | 103 uint8_t draining; member 278 priv->draining = 0; in flush() 338 priv->draining = 0; in init() 699 priv->draining = 1; in crystalhd_decode_packet() 764 return priv->draining ? AVERROR_EOF : AVERROR(EAGAIN); in crystalhd_receive_frame()
|
H A D | encode.c | 164 if (avci->draining) in ff_encode_get_frame() 186 if (!frame->buf[0] && !avci->draining) { in encode_simple_internal() 246 if (avci->draining && !got_packet) in encode_simple_internal() 365 if (avci->draining) in avcodec_send_frame() 372 avci->draining = 1; in avcodec_send_frame()
|
H A D | v4l2_context.c | 292 /* if we are draining and there are no more capture buffers queued in the driver we are done */ in v4l2_dequeue_v4l2buf() 293 if (!V4L2_TYPE_IS_OUTPUT(ctx->type) && ctx_to_m2mctx(ctx)->draining) { in v4l2_dequeue_v4l2buf() 312 /* no need to listen to requests for more input while draining */ in v4l2_dequeue_v4l2buf() 313 if (ctx_to_m2mctx(ctx)->draining) in v4l2_dequeue_v4l2buf() 394 if (ctx_to_m2mctx(ctx)->draining && !V4L2_TYPE_IS_OUTPUT(ctx->type)) { in v4l2_dequeue_v4l2buf() 582 s->draining= 1; in ff_v4l2_context_enqueue_frame() 607 s->draining = 1; in ff_v4l2_context_enqueue_packet()
|
H A D | v4l2_m2m_dec.c | 153 if (s->draining) in v4l2_receive_frame() 164 if (!s->draining) { in v4l2_receive_frame()
|
H A D | v4l2_m2m.h | 58 int draining; member
|
H A D | mediacodecdec_common.h | 51 int draining; member
|
H A D | internal.h | 123 * checks API usage: after codec draining, flush is required to resume operation 125 int draining; member 138 /* to prevent infinite loop on errors when draining */
|
H A D | mfenc.c | 47 int draining, draining_done; member 85 if (!c->draining) in mf_wait_events() 393 } else if (!c->draining) { in mf_send_sample() 396 av_log(avctx, AV_LOG_ERROR, "failed draining: %s\n", ff_hr_str(hr)); in mf_send_sample() 398 // this is required to make draining actually terminate. in mf_send_sample() 399 c->draining = 1; in mf_send_sample() 458 if (c->draining) in mf_receive_sample()
|
H A D | decode.c | 210 if (avci->draining) in ff_decode_get_packet() 215 avci->draining = 1; in ff_decode_get_packet() 285 if (!pkt->data && !avci->draining) { in decode_simple_internal() 464 /* do not stop draining when actual_got_frame != 0 or ret < 0 */ in decode_simple_internal() 466 if (avci->draining && !actual_got_frame) { in decode_simple_internal() 468 /* prevent infinite loop if a decoder wrongly always return error on draining */ in decode_simple_internal() 474 av_log(avctx, AV_LOG_ERROR, "Too many errors when draining, this is a bug. " in decode_simple_internal() 475 "Stop draining and force EOF.\n"); in decode_simple_internal() 584 if (avctx->internal->draining) in avcodec_send_packet()
|
H A D | v4l2_m2m.c | 241 s->draining = 0; in ff_v4l2_m2m_codec_reinit()
|
H A D | librav1e.c | 524 if (avctx->internal->draining) { in librav1e_receive_packet()
|
H A D | v4l2_m2m_enc.c | 295 if (s->draining) in v4l2_receive_packet()
|
H A D | libdav1d.c | 361 else if (res == AVERROR(EAGAIN) && c->internal->draining) in libdav1d_receive_frame()
|
H A D | v4l2_buffers.c | 224 if (s->draining && V4L2_TYPE_IS_OUTPUT(avbuf->context->type)) { in v4l2_free_buffer()
|
H A D | avcodec.c | 406 avci->draining = 0; in avcodec_flush_buffers()
|
H A D | nvenc.c | 2494 if (output_ready(avctx, avctx->internal->draining)) { in ff_nvenc_receive_packet() 2511 } else if (avctx->internal->draining) { in ff_nvenc_receive_packet()
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_core.h | 98 uint8_t draining:1; /* set if we are draining an USB member
|
H A D | usb_transfer.c | 2012 xfer->flags_int.draining = 1; in usbd_transfer_drain() 2374 * Check if we are draining. in usbd_callback_wrapper() 2376 if (xfer->flags_int.draining && in usbd_callback_wrapper() 2379 xfer->flags_int.draining = 0; in usbd_callback_wrapper()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/ |
H A D | alexa.c | 44 struct lws_buflist *dribble; /* next mp3 data while draining last */ 197 * Dump what we stashed from draining into the new mp3 in drain_end_cb() 341 goto draining; in ss_avs_metadata_rx() 402 draining: in ss_avs_metadata_rx()
|
/third_party/openssl/crypto/bn/asm/ |
H A D | bn-c64xplus.asm | 281 ;; point SPLOOP is draining and interrupts are disabled
|
Completed in 23 milliseconds