Home
last modified time | relevance | path

Searched refs:roi (Results 1 – 25 of 26) sorted by relevance

12

/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstcvtracker.cpp153 filter->roi.release (); in gst_cvtracker_finalize()
368 if (filter->roi.empty ()) { in gst_cvtracker_transform_ip()
370 filter->roi = new (cv::Rect); in gst_cvtracker_transform_ip()
372 filter->roi = new (cv::Rect2d); in gst_cvtracker_transform_ip()
374 filter->roi->x = filter->x; in gst_cvtracker_transform_ip()
375 filter->roi->y = filter->y; in gst_cvtracker_transform_ip()
376 filter->roi->width = filter->width; in gst_cvtracker_transform_ip()
377 filter->roi->height = filter->height; in gst_cvtracker_transform_ip()
379 filter->tracker->init (img, *filter->roi); in gst_cvtracker_transform_ip()
380 } else if (filter->tracker->update (img, *filter->roi)) { in gst_cvtracker_transform_ip()
[all …]
Dgstfaceblur.cpp371 Mat roi (img, Rect (r->x, r->y, r->width, r->height)); in gst_face_blur_transform_ip() local
372 blur (roi, roi, Size (11, 11)); in gst_face_blur_transform_ip()
373 GaussianBlur (roi, roi, Size (11, 11), 0, 0); in gst_face_blur_transform_ip()
Dgstcvtracker.h95 cv::Ptr<cv::Rect> roi; member
97 cv::Ptr<cv::Rect2d> roi; member
Dgsthanddetect.cpp415 Mat roi (filter->cvGray, Rect (0, in gst_handdetect_transform_ip() local
417 filter->cvCascade_fist->detectMultiScale (roi, hands, 1.1, 2, in gst_handdetect_transform_ip()
505 filter->cvCascade_palm->detectMultiScale (roi, hands, 1.1, 2, in gst_handdetect_transform_ip()
Dgstfacedetect.cpp569 Mat roi (filter->cvGray, r); in gst_face_detect_run_detector() local
570 detector->detectMultiScale (roi, faces, filter->scale_factor, in gst_face_detect_run_detector()
/third_party/ffmpeg/libavfilter/
Dvf_addroi.c99 AVRegionOfInterest *roi; in addroi_filter_frame() local
120 roi_ref = av_buffer_alloc(sizeof(*roi) * nb_roi); in addroi_filter_frame()
125 roi = (AVRegionOfInterest*)roi_ref->data; in addroi_filter_frame()
131 roi[i] = (AVRegionOfInterest) { in addroi_filter_frame()
132 .self_size = sizeof(*roi), in addroi_filter_frame()
141 roi[nb_roi - 1] = (AVRegionOfInterest) { in addroi_filter_frame()
142 .self_size = sizeof(*roi), in addroi_filter_frame()
168 roi = (AVRegionOfInterest*)sd->data; in addroi_filter_frame()
169 *roi = (AVRegionOfInterest) { in addroi_filter_frame()
170 .self_size = sizeof(*roi), in addroi_filter_frame()
Dvf_showinfo.c137 const AVRegionOfInterest *roi; in dump_roi() local
140 roi = (const AVRegionOfInterest *)sd->data; in dump_roi()
141 roi_size = roi->self_size; in dump_roi()
150 roi = (const AVRegionOfInterest *)(sd->data + roi_size * i); in dump_roi()
152 i, roi->left, roi->top, roi->right, roi->bottom, roi->qoffset.num, roi->qoffset.den); in dump_roi()
/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/
DRaspiCamControl.c553 params->roi.x = x;
554 params->roi.y = y;
555 params->roi.w = w;
556 params->roi.h = h;
748 …ntf(stderr, "ROI x %lf, y %f, w %f h %f\n", params->roi.x, params->roi.y, params->roi.w, params->r… in raspicamcontrol_dump_parameters()
812 params->roi.x = params->roi.y = 0.0; in raspicamcontrol_set_defaults()
813 params->roi.w = params->roi.h = 1.0; in raspicamcontrol_set_defaults()
886 result += raspicamcontrol_set_ROI(camera, params->roi); in raspicamcontrol_set_all_parameters()
Dgstrpicamsrc.c990 src->capture_config.camera_parameters.roi.x = g_value_get_float (value); in gst_rpi_cam_src_set_property()
994 src->capture_config.camera_parameters.roi.y = g_value_get_float (value); in gst_rpi_cam_src_set_property()
998 src->capture_config.camera_parameters.roi.w = g_value_get_float (value); in gst_rpi_cam_src_set_property()
1002 src->capture_config.camera_parameters.roi.h = g_value_get_float (value); in gst_rpi_cam_src_set_property()
1180 g_value_set_float (value, src->capture_config.camera_parameters.roi.x); in gst_rpi_cam_src_get_property()
1183 g_value_set_float (value, src->capture_config.camera_parameters.roi.y); in gst_rpi_cam_src_get_property()
1186 g_value_set_float (value, src->capture_config.camera_parameters.roi.w); in gst_rpi_cam_src_get_property()
1189 g_value_set_float (value, src->capture_config.camera_parameters.roi.h); in gst_rpi_cam_src_get_property()
DRaspiCamControl.h150 …PARAM_FLOAT_RECT_T roi; /// region of interest to use on the sensor. Normalised [0,1] values in… member
DRaspiCapture.c2035 raspicamcontrol_set_ROI(camera, params->roi); in raspi_capture_update_config()
/third_party/ffmpeg/libavcodec/
Dlibx265.c426 const AVRegionOfInterest *roi; in libx265_encode_set_roi() local
430 roi = (const AVRegionOfInterest*)sd->data; in libx265_encode_set_roi()
431 roi_size = roi->self_size; in libx265_encode_set_roi()
448 roi = (const AVRegionOfInterest*)(sd->data + roi_size * i); in libx265_encode_set_roi()
450 starty = FFMIN(mby, roi->top / mb_size); in libx265_encode_set_roi()
451 endy = FFMIN(mby, (roi->bottom + mb_size - 1)/ mb_size); in libx265_encode_set_roi()
452 startx = FFMIN(mbx, roi->left / mb_size); in libx265_encode_set_roi()
453 endx = FFMIN(mbx, (roi->right + mb_size - 1)/ mb_size); in libx265_encode_set_roi()
455 if (roi->qoffset.den == 0) { in libx265_encode_set_roi()
460 qoffset = roi->qoffset.num * 1.0f / roi->qoffset.den; in libx265_encode_set_roi()
Dvaapi_encode.c495 const AVRegionOfInterest *roi; in vaapi_encode_issue() local
500 roi = (const AVRegionOfInterest*)sd->data; in vaapi_encode_issue()
501 roi_size = roi->self_size; in vaapi_encode_issue()
514 pic->roi = av_mallocz_array(nb_roi, sizeof(*pic->roi)); in vaapi_encode_issue()
515 if (!pic->roi) { in vaapi_encode_issue()
521 roi = (const AVRegionOfInterest*)(sd->data + roi_size * i); in vaapi_encode_issue()
523 av_assert0(roi->qoffset.den != 0); in vaapi_encode_issue()
524 v = roi->qoffset.num * ctx->roi_quant_range / roi->qoffset.den; in vaapi_encode_issue()
526 roi->top, roi->left, roi->bottom, roi->right, v); in vaapi_encode_issue()
528 pic->roi[i] = (VAEncROI) { in vaapi_encode_issue()
[all …]
Dlibvpxenc.c1371 const AVRegionOfInterest *roi = NULL; in set_roi_map() local
1393 roi = (const AVRegionOfInterest*)sd->data; in set_roi_map()
1394 self_size = roi->self_size; in set_roi_map()
1409 roi = (const AVRegionOfInterest*)(sd->data + self_size * i); in set_roi_map()
1410 if (!roi->qoffset.den) { in set_roi_map()
1415 delta_q = (int)(roi->qoffset.num * 1.0f / roi->qoffset.den * MAX_DELTA_Q); in set_roi_map()
1449 roi = (const AVRegionOfInterest*)(sd->data + self_size * i); in set_roi_map()
1451 starty = av_clip(roi->top / block_size, 0, roi_map->rows); in set_roi_map()
1452 endy = av_clip((roi->bottom + block_size - 1) / block_size, 0, roi_map->rows); in set_roi_map()
1453 startx = av_clip(roi->left / block_size, 0, roi_map->cols); in set_roi_map()
[all …]
Dlibx264.c387 const AVRegionOfInterest *roi; in X264_frame() local
391 roi = (const AVRegionOfInterest*)sd->data; in X264_frame()
392 roi_size = roi->self_size; in X264_frame()
409 roi = (const AVRegionOfInterest*)(sd->data + roi_size * i); in X264_frame()
411 starty = FFMIN(mby, roi->top / MB_SIZE); in X264_frame()
412 endy = FFMIN(mby, (roi->bottom + MB_SIZE - 1)/ MB_SIZE); in X264_frame()
413 startx = FFMIN(mbx, roi->left / MB_SIZE); in X264_frame()
414 endx = FFMIN(mbx, (roi->right + MB_SIZE - 1)/ MB_SIZE); in X264_frame()
416 if (roi->qoffset.den == 0) { in X264_frame()
421 qoffset = roi->qoffset.num * 1.0f / roi->qoffset.den; in X264_frame()
Dvaapi_encode.h80 VAEncROI *roi; member
82 void *roi; member
/third_party/gstreamer/gstplugins_bad/tests/examples/msdk/
Dmeson.build2 executable('test-roi', 'test-roi.c',
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.c395 GstVideoRegionOfInterestMeta *roi; in gst_msdkenc_get_roi_params() local
398 roi = (GstVideoRegionOfInterestMeta *) in gst_msdkenc_get_roi_params()
402 if (!roi) in gst_msdkenc_get_roi_params()
406 if ((roi->x > G_MAXINT16) || (roi->y > G_MAXINT16) in gst_msdkenc_get_roi_params()
407 || (roi->w > G_MAXUINT16) || (roi->h > G_MAXUINT16)) { in gst_msdkenc_get_roi_params()
413 g_quark_to_string (roi->roi_type), roi->id, roi->x, roi->y, roi->w, in gst_msdkenc_get_roi_params()
414 roi->h); 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()
[all …]
Dgstmsdkh265enc.h76 mfxExtEncoderROI roi[2]; member
Dgstmsdkh264enc.h60 mfxExtEncoderROI roi[2]; member
Dgstmsdkh264enc.c689 return gst_msdkenc_get_roi_params (encoder, frame, h264enc->roi); in gst_msdkh264enc_need_reconfig()
698 if (h264enc->roi[0].NumROI) in gst_msdkh264enc_set_extra_params()
699 gst_msdkenc_add_extra_param (encoder, (mfxExtBuffer *) & h264enc->roi[0]); in gst_msdkh264enc_set_extra_params()
Dgstmsdkh265enc.c808 return gst_msdkenc_get_roi_params (encoder, frame, h265enc->roi); in gst_msdkh265enc_need_reconfig()
817 if (h265enc->roi[0].NumROI) in gst_msdkh265enc_set_extra_params()
818 gst_msdkenc_add_extra_param (encoder, (mfxExtBuffer *) & h265enc->roi[0]); in gst_msdkh265enc_set_extra_params()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-fts/
Dles-mis-utf8.txt286 Jean Soanen, prêtre de l'oratoire, prédicateur ordinaire du roi,
747 le procureur du roi avait eu une idée. Il avait supposé une infidélité
764 --Et où jugera-t-on monsieur le procureur du roi?
1107 c'est qu'ils avaient été nommés par le roi, l'un à son évêché, l'autre à
1704 peu près un monstre. Il n'avait pas voté la mort du roi, mais presque.
1714 roi, il n'avait pas été compris dans les décrets d'exil et avait pu
1871 grave moment, ressemblait à ce roi du conte oriental, chair par en haut,
1877 toujours pas voté la mort du roi.
2419 devenir roi; et quel roi! le roi suprême. Aussi quelle pépinière
5513 convenaient que l'ère des révolutions était à jamais fermée par le roi
[all …]
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-arboretum.hdr936 …u���pф�m{�߀�����ɦ�����p���o����ٿ���{�k�rs��p���Ų��ytp�ْ�Ɛ���ɀ��{}�������roi�e���~����tk�nx{r{��…
/third_party/gstreamer/gstplugins_base/
DChangeLog21160 roi-meta: duplicate params when copying meta
21257 roi-meta: Fix bad doc comment syntax
21273 A typical use case would be: source ! roi-detector ! encoder
21277 Users could also develop their specific roi detectors meant to be used with a

12