• Home
  • Raw
  • Download

Lines Matching refs:kp

390 gst_kate_enc_create_buffer (GstKateEnc * ke, kate_packet * kp,  in gst_kate_enc_create_buffer()  argument
396 g_return_val_if_fail (kp != NULL, NULL); in gst_kate_enc_create_buffer()
397 g_return_val_if_fail (kp->data != NULL, NULL); in gst_kate_enc_create_buffer()
399 buffer = gst_buffer_new_allocate (NULL, kp->nbytes, NULL); in gst_kate_enc_create_buffer()
402 (guint) kp->nbytes); in gst_kate_enc_create_buffer()
406 gst_buffer_fill (buffer, 0, kp->data, kp->nbytes); in gst_kate_enc_create_buffer()
441 gst_kate_enc_push_and_free_kate_packet (GstKateEnc * ke, kate_packet * kp, in gst_kate_enc_push_and_free_kate_packet() argument
447 GST_LOG_OBJECT (ke, "Creating buffer, %u bytes", (guint) kp->nbytes); in gst_kate_enc_push_and_free_kate_packet()
449 gst_kate_enc_create_buffer (ke, kp, granpos, timestamp, duration, header); in gst_kate_enc_push_and_free_kate_packet()
452 ("Failed to create buffer, %u bytes", (guint) kp->nbytes)); in gst_kate_enc_push_and_free_kate_packet()
453 kate_packet_clear (kp); in gst_kate_enc_push_and_free_kate_packet()
457 kate_packet_clear (kp); in gst_kate_enc_push_and_free_kate_packet()
594 kate_packet kp; in gst_kate_enc_send_headers() local
595 int ret = kate_encode_headers (&ke->k, &ke->kc, &kp); in gst_kate_enc_send_headers()
599 buffer = gst_kate_enc_create_buffer (ke, &kp, 0, 0, 0, TRUE); in gst_kate_enc_send_headers()
602 ("Failed to create buffer, %u bytes", (guint) kp.nbytes)); in gst_kate_enc_send_headers()
606 kate_packet_clear (&kp); in gst_kate_enc_send_headers()
676 gst_kate_enc_chain_push_packet (GstKateEnc * ke, kate_packet * kp, in gst_kate_enc_chain_push_packet() argument
686 kate_packet_clear (kp); in gst_kate_enc_chain_push_packet()
690 gst_kate_enc_push_and_free_kate_packet (ke, kp, granpos, start, duration, in gst_kate_enc_chain_push_packet()
701 kate_packet kp; in gst_kate_enc_generate_keepalive() local
705 ret = kate_encode_keepalive (&ke->k, t, &kp); in gst_kate_enc_generate_keepalive()
712 if (gst_kate_enc_push_and_free_kate_packet (ke, &kp, granpos, timestamp, 0, in gst_kate_enc_generate_keepalive()
725 kate_packet kp; in gst_kate_enc_flush_waiting() local
735 ret = kate_encode_text (&ke->k, t0, t1, "", 0, &kp); in gst_kate_enc_flush_waiting()
743 gst_kate_enc_chain_push_packet (ke, &kp, ke->delayed_start, in gst_kate_enc_flush_waiting()
785 kate_packet kp; in gst_kate_enc_chain_spu() local
899 ret = kate_encode_text (&ke->k, t0, t1, "", 0, &kp); in gst_kate_enc_chain_spu()
907 rflow = gst_kate_enc_chain_push_packet (ke, &kp, start, stop - start + 1); in gst_kate_enc_chain_spu()
931 kate_packet kp = { 0 }; in gst_kate_enc_chain_text() local
966 &kp); in gst_kate_enc_chain_text()
972 rflow = gst_kate_enc_chain_push_packet (ke, &kp, start, stop - start + 1); in gst_kate_enc_chain_text()
1366 kate_packet kp; in gst_kate_enc_sink_event() local
1377 ret = kate_encode_finish (&ke->k, -1, &kp); in gst_kate_enc_sink_event()
1384 if (gst_kate_enc_push_and_free_kate_packet (ke, &kp, granpos, in gst_kate_enc_sink_event()