Lines Matching refs:curr_roi
376 mfxExtEncoderROI *curr_roi = encoder_roi; in gst_msdkenc_get_roi_params() local
382 memset (curr_roi, 0, sizeof (mfxExtEncoderROI)); in gst_msdkenc_get_roi_params()
391 curr_roi->Header.BufferId = MFX_EXTBUFF_ENCODER_ROI; in gst_msdkenc_get_roi_params()
392 curr_roi->Header.BufferSz = sizeof (mfxExtEncoderROI); in gst_msdkenc_get_roi_params()
416 curr_roi->ROI[num_valid_roi].Left = roi->x; in gst_msdkenc_get_roi_params()
417 curr_roi->ROI[num_valid_roi].Top = roi->y; in gst_msdkenc_get_roi_params()
418 curr_roi->ROI[num_valid_roi].Right = roi->x + roi->w; in gst_msdkenc_get_roi_params()
419 curr_roi->ROI[num_valid_roi].Bottom = roi->y + roi->h; in gst_msdkenc_get_roi_params()
430 curr_roi->ROI[num_valid_roi].DeltaQP = CLAMP (value, -51, 51); in gst_msdkenc_get_roi_params()
438 curr_roi->ROI[num_valid_roi].Priority = CLAMP (value, -3, 3); in gst_msdkenc_get_roi_params()
445 curr_roi->ROI[num_valid_roi].DeltaQP = CLAMP (value, -51, 51); in gst_msdkenc_get_roi_params()
449 curr_roi->ROI[num_valid_roi].Priority = CLAMP (value, -3, 3); in gst_msdkenc_get_roi_params()
458 curr_roi->ROIMode = roi_mode; in gst_msdkenc_get_roi_params()
461 curr_roi->NumROI = num_valid_roi; in gst_msdkenc_get_roi_params()
464 if (curr_roi->NumROI == 0 && prev_roi->NumROI == 0) in gst_msdkenc_get_roi_params()
467 if (curr_roi->NumROI != prev_roi->NumROI || in gst_msdkenc_get_roi_params()
468 memcmp (curr_roi, prev_roi, sizeof (mfxExtEncoderROI)) != 0) { in gst_msdkenc_get_roi_params()
469 *prev_roi = *curr_roi; in gst_msdkenc_get_roi_params()