Lines Matching refs:pic_params
2303 NV_ENC_PIC_PARAMS pic_params = { 0, }; in _submit_input_buffer() local
2314 pic_params.version = gst_nvenc_get_pic_params_version (); in _submit_input_buffer()
2315 pic_params.inputBuffer = inputBufferPtr; in _submit_input_buffer()
2316 pic_params.bufferFmt = bufferFormat; in _submit_input_buffer()
2318 pic_params.inputWidth = GST_VIDEO_FRAME_WIDTH (vframe); in _submit_input_buffer()
2319 pic_params.inputHeight = GST_VIDEO_FRAME_HEIGHT (vframe); in _submit_input_buffer()
2320 pic_params.outputBitstream = outputBufferPtr; in _submit_input_buffer()
2321 pic_params.completionEvent = NULL; in _submit_input_buffer()
2324 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FIELD_TOP_BOTTOM; in _submit_input_buffer()
2326 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FIELD_BOTTOM_TOP; in _submit_input_buffer()
2328 pic_params.pictureStruct = NV_ENC_PIC_STRUCT_FRAME; in _submit_input_buffer()
2330 pic_params.inputTimeStamp = frame->pts; in _submit_input_buffer()
2331 pic_params.inputDuration = in _submit_input_buffer()
2333 pic_params.frameIdx = frame->system_frame_number; in _submit_input_buffer()
2336 pic_params.encodePicFlags = NV_ENC_PIC_FLAG_FORCEIDR; in _submit_input_buffer()
2338 pic_params.encodePicFlags = 0; in _submit_input_buffer()
2341 && !nvenc_class->set_pic_params (nvenc, frame, &pic_params)) { in _submit_input_buffer()
2352 nv_ret = NvEncEncodePicture (nvenc->encoder, &pic_params); in _submit_input_buffer()
2571 NV_ENC_PIC_PARAMS pic_params = { 0, }; in gst_nv_base_enc_drain_encoder() local
2587 pic_params.version = gst_nvenc_get_pic_params_version (); in gst_nv_base_enc_drain_encoder()
2588 pic_params.encodePicFlags = NV_ENC_PIC_FLAG_EOS; in gst_nv_base_enc_drain_encoder()
2595 nv_ret = NvEncEncodePicture (nvenc->encoder, &pic_params); in gst_nv_base_enc_drain_encoder()