Home
last modified time | relevance | path

Searched refs:xmax (Results 1 – 25 of 40) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_find_rect.c37 int xmin, ymin, xmax, ymax; member
53 { "xmax", "", OFFSET(xmax), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS },
147 if (foc->xmax <= 0) in config_input()
148 foc->xmax = inlink->w - foc->obj_frame->width; in config_input()
155 static float search(FOCContext *foc, int pass, int maxpass, int xmin, int xmax, int ymin, int ymax,… in search() argument
161 … search(foc, pass+1, maxpass, xmin>>1, (xmax+1)>>1, ymin>>1, (ymax+1)>>1, &sub_x, &sub_y, 2.0); in search()
163 xmax = FFMIN(xmax, 2*sub_x + 4); in search()
169 for (x = xmin; x <= xmax; x++) { in search()
196 FFMIN(foc->xmax, foc->last_x + 8), in filter_frame()
201 best_score = search(foc, 0, foc->mipmaps - 1, foc->xmin, foc->xmax, foc->ymin, foc->ymax, in filter_frame()
/third_party/mesa3d/src/intel/common/
Dintel_guardband.h30 float *xmin, float *xmax, in intel_calculate_guardband_size() argument
76 *xmax = 1.0f; in intel_calculate_guardband_size()
106 *xmax = ndc_gb_xmax; in intel_calculate_guardband_size()
112 *xmax = 0.0f; in intel_calculate_guardband_size()
/third_party/ffmpeg/libavcodec/
Dmotion_est.c118 … av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)); in cmp_direct_inline()
119 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){ in cmp_direct_inline()
420 if (mx > xmin && mx < xmax && in sad_hpel_motion_search()
536 c->xmax = - x + s->width; in get_limits()
542 c->xmax = (x < s->mb_width * 16 - 16) ? 15 : 0; in get_limits()
547 c->xmax = - x + s->mb_width *16 - 16; in get_limits()
554 c->xmax = FFMIN(c->xmax, range); in get_limits()
595 c->xmax = - 16*s->mb_x + s->width - 8*(block &1); in h263_mv4_search()
602 if (P_LEFT[0] > c->xmax * (1 << shift)) P_LEFT[0] = c->xmax * (1 << shift); in h263_mv4_search()
615 if (P_TOPRIGHT[0] > c->xmax * (1 << shift)) P_TOPRIGHT[0] = c->xmax * (1 << shift); in h263_mv4_search()
[all …]
Dmotion_est_template.c35 const int av_unused xmax= c->xmax;\
82 if (mx > xmin && mx < xmax && in hpel_motion_search()
146 av_assert2(bx >= xmin*2 && bx <= xmax*2 && by >= ymin*2 && by <= ymax*2); in hpel_motion_search()
244 if (mx > xmin && mx < xmax && in qpel_motion_search()
348 av_assert2(bx >= xmin*4 && bx <= xmax*4 && by >= ymin*4 && by <= ymax*4); in qpel_motion_search()
366 av_assert2((x) <= xmax);\
382 const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\
407 if( (x)>(xmax<<(S)) ) av_log(NULL, AV_LOG_ERROR, "%d %d %d %d %d xmax" #v, xmax, (x), (y), s->mb_x,…
448 if(dir!=0 && x<xmax) CHECK_MV_DIR(x+1, y , 2) in small_diamond_search()
478 if( x + dia_size > xmax in funny_diamond_search()
[all …]
Dpcx.c77 int compressed, xmin, ymin, xmax, ymax; in pcx_decode_frame() local
99 xmax = bytestream2_get_le16u(&gb); in pcx_decode_frame()
104 if (xmax < xmin || ymax < ymin) { in pcx_decode_frame()
109 w = xmax - xmin + 1; in pcx_decode_frame()
Ddvdsubenc.c303 int xmin = h->rects[0]->x, xmax = xmin + h->rects[0]->w; in encode_dvd_subtitles() local
308 xmax = FFMAX(xmax, h->rects[i]->x + h->rects[i]->w); in encode_dvd_subtitles()
313 vrect.w = xmax - xmin; in encode_dvd_subtitles()
Dexr.c162 int32_t xmax, xmin; member
1237 s->xmin + col < s->xmin || s->xmin + col > s->xmax) in decode_block()
1305 axmax = FFMAX(0, (avctx->width - (s->xmax + 1))) * step; in decode_block()
1555 s->xmax = ~0; in decode_header()
1792 int xmin, ymin, xmax, ymax; in decode_header() local
1800 xmax = bytestream2_get_le32(gb); in decode_header()
1803 if (xmin > xmax || ymin > ymax || in decode_header()
1804 ymax == INT_MAX || xmax == INT_MAX || in decode_header()
1805 (unsigned)xmax - xmin >= INT_MAX || in decode_header()
1811 s->xmax = xmax; in decode_header()
[all …]
Dmotion_est.h75 int xmax; member
/third_party/libsnd/src/GSM610/
Drpe.c255 int16_t xmax, xmaxc, temp, temp1, temp2 ; in APCM_quantization() local
262 xmax = 0 ; in APCM_quantization()
266 if (temp > xmax) xmax = temp ; in APCM_quantization()
273 temp = SASR_W (xmax, 9) ; in APCM_quantization()
288 xmaxc = gsm_add (SASR_W (xmax, temp), (int16_t) (expon << 3)) ; in APCM_quantization()
/third_party/glfw/examples/
Dgears.c248 GLfloat xmax, znear, zfar; in reshape() local
252 xmax = znear * 0.5f; in reshape()
257 glFrustum( -xmax, xmax, -xmax*h, xmax*h, znear, zfar ); in reshape()
/third_party/cups-filters/cupsfilters/
Dimage-zoom.c137 z->xmax = z->width; in _cupsImageZoomNew()
139 z->xmax = z->width - 1; in _cupsImageZoomNew()
164 z->xmax = z->width; in _cupsImageZoomNew()
166 z->xmax = z->width - 1; in _cupsImageZoomNew()
238 z_xmax = z->xmax; in zoom_bilinear()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c68 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); in st_update_scissor() local
76 if (xmax < (GLint) scissor[i].maxx) in st_update_scissor()
77 scissor[i].maxx = xmax; in st_update_scissor()
Dst_cb_bitmap.c356 cache->xmax = -1000000; in reset_cache()
429 assert(cache->xmin <= cache->xmax); in st_flush_bitmap_cache()
433 cache->xmax - cache->xmin, in st_flush_bitmap_cache()
519 if (x + width > cache->xmax) in accum_bitmap()
520 cache->xmax = x + width; in accum_bitmap()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph263ppay.c554 unsigned int xmax, ymax, mpi; in gst_rtp_h263p_pay_sink_getcaps() local
555 if (sscanf (str, "%u,%u,%u", &xmax, &ymax, &mpi) == 3) { in gst_rtp_h263p_pay_sink_getcaps()
556 if (xmax % 4 && ymax % 4 && mpi >= 1 && mpi <= 32) { in gst_rtp_h263p_pay_sink_getcaps()
557 caps = caps_append (caps, new_s, xmax, ymax, mpi); in gst_rtp_h263p_pay_sink_getcaps()
561 " %u x %u at %u, ignoring", xmax, ymax, mpi); in gst_rtp_h263p_pay_sink_getcaps()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dssim.c71 const int xmax = (xo + VP8_SSIM_KERNEL > W - 1) ? W - 1 in SSIMGetClipped_C() local
77 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped_C()
/third_party/ffmpeg/libavformat/
Dswfdec.c80 int len, xmin, xmax, ymin, ymax; in swf_probe() local
101 xmax = get_bits_long(&gb, len); in swf_probe()
104 if (xmin || ymin || !xmax || !ymax) in swf_probe()
107 if (p->buf[3] >= 20 || xmax < 16 || ymax < 16) in swf_probe()
Dswfenc.c101 int xmin, int xmax, int ymin, int ymax) in put_swf_rect() argument
111 max_nbits(&nbits, xmax); in put_swf_rect()
119 put_bits(&p, nbits, xmax & mask); in put_swf_rect()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc205 void FontHeaderTable::Builder::SetXMax(int32_t xmax) { in SetXMax() argument
206 InternalWriteData()->WriteShort(Offset::kXMax, xmax); in SetXMax()
/third_party/alsa-lib/src/control/
Dcontrol_ext.c160 int64_t xmin, xmax, xstep; in snd_ctl_ext_elem_info() local
163 &xmax, in snd_ctl_ext_elem_info()
166 info->value.integer64.max = xmax; in snd_ctl_ext_elem_info()
/third_party/skia/src/pdf/
DSkPDFBitmap.cpp52 int xmax = std::min(xOrig + 1, bm.width() - 1); in get_neighbor_avg_color() local
55 for (int x = xmin; x <= xmax; ++x) { in get_neighbor_avg_color()
/third_party/mesa3d/src/mesa/main/
Dimage.c643 GLint xmax, GLint ymax, in _mesa_clip_to_region() argument
654 if (*x + *width > xmax) in _mesa_clip_to_region()
655 *width -= (*x + *width - xmax); in _mesa_clip_to_region()
Dimage.h120 GLint xmax, GLint ymax,
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DFontHeaderTable.java604 public void setXMax(int xmax) { in setXMax() argument
605 this.internalWriteData().writeShort(Offset.xMax.offset, xmax); in setXMax()
/third_party/skia/third_party/externals/libwebp/extras/
Dget_disto.c141 const int xmax = (xo + SSIM_KERNEL > W - 1) ? W - 1 : xo + SSIM_KERNEL; in SSIMGetClipped() local
146 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped()

12