Lines Matching refs:lock_bs
1138 NV_ENC_LOCK_BITSTREAM lock_bs = { 0, }; in gst_nv_base_enc_bitstream_thread() local
1153 lock_bs.version = gst_nvenc_get_lock_bitstream_version (); in gst_nv_base_enc_bitstream_thread()
1154 lock_bs.outputBitstream = out_buf; in gst_nv_base_enc_bitstream_thread()
1155 lock_bs.doNotWait = 0; in gst_nv_base_enc_bitstream_thread()
1158 lock_bs.sliceOffsets = NULL; in gst_nv_base_enc_bitstream_thread()
1166 nv_ret = NvEncLockBitstream (nvenc->encoder, &lock_bs); in gst_nv_base_enc_bitstream_thread()
1172 lock_bs.outputBitstream, nv_ret)); in gst_nv_base_enc_bitstream_thread()
1181 buffer = gst_buffer_new_allocate (NULL, lock_bs.bitstreamSizeInBytes, NULL); in gst_nv_base_enc_bitstream_thread()
1182 gst_buffer_fill (buffer, 0, lock_bs.bitstreamBufferPtr, in gst_nv_base_enc_bitstream_thread()
1183 lock_bs.bitstreamSizeInBytes); in gst_nv_base_enc_bitstream_thread()
1185 if (lock_bs.pictureType == NV_ENC_PIC_TYPE_IDR) { in gst_nv_base_enc_bitstream_thread()
1197 lock_bs.outputBitstream, nv_ret)); in gst_nv_base_enc_bitstream_thread()
1205 frame->pts = lock_bs.outputTimeStamp; in gst_nv_base_enc_bitstream_thread()
1206 frame->duration = lock_bs.outputDuration; in gst_nv_base_enc_bitstream_thread()
1211 lock_bs.frameIdx, picture_type_to_string (lock_bs.pictureType), in gst_nv_base_enc_bitstream_thread()