Home
last modified time | relevance | path

Searched refs:xmin (Results 1 – 25 of 33) sorted by relevance

12

/third_party/lame/libmp3lame/
Dquantize_pvt.c601 FLOAT en0, xmin; in calc_xmin() local
605 xmin = athAdjust(ATH->adjust_factor, ATH->l[gsfb], ATH->floor, cfg->ATHfixpoint); in calc_xmin()
606 xmin *= gfc->sv_qnt.longfact[gsfb]; in calc_xmin()
609 rh1 = xmin / width; in calc_xmin()
622 if (en0 > xmin) in calc_xmin()
625 if (en0 < xmin) { in calc_xmin()
628 else if (rh2 < xmin) { in calc_xmin()
629 rh3 = xmin; in calc_xmin()
634 xmin = rh3; in calc_xmin()
641 if (xmin < x) in calc_xmin()
[all …]
/third_party/ffmpeg/libavcodec/
Dpng.c56 int shift, xmin, pass_width; in ff_png_pass_row_size() local
58 xmin = ff_png_pass_xmin[pass]; in ff_png_pass_row_size()
59 if (width <= xmin) in ff_png_pass_row_size()
62 pass_width = (width - xmin + (1 << shift) - 1) >> shift; in ff_png_pass_row_size()
Dmotion_est_template.c33 const int av_unused xmin= c->xmin;\
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()
365 av_assert2((x) >= xmin);\
382 const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\
406 if( (x)<(xmin<<(S)) ) av_log(NULL, AV_LOG_ERROR, "%d %d %d %d %d xmin" #v, xmin, (x), (y), s->mb_x,…
446 if(dir!=2 && x>xmin) CHECK_MV_DIR(x-1, y , 0) in small_diamond_search()
479 || x - dia_size < xmin in funny_diamond_search()
[all …]
Dmotion_est.c117 … av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)); in cmp_direct_inline()
118 if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){ in cmp_direct_inline()
422 if (mx > xmin && mx < xmax && in sad_hpel_motion_search()
536 c->xmin = - x - 16; in get_limits()
542 c->xmin = (x > 15) ? - 15 : 0; in get_limits()
547 c->xmin = - x; in get_limits()
555 c->xmin = FFMAX(c->xmin,-range); in get_limits()
616 if (P_TOPRIGHT[0] < c->xmin * (1 << shift)) P_TOPRIGHT[0] = c->xmin * (1 << shift); in h263_mv4_search()
790 if (P_TOPRIGHT[0] < c->xmin * (1 << 1)) P_TOPRIGHT[0] = c->xmin * (1 << 1); in interlaced_search()
941 if (P_TOPRIGHT[0] < (c->xmin * (1 << shift))) in ff_estimate_p_frame_motion()
[all …]
Dpcx.c77 int compressed, xmin, ymin, xmax, ymax; in pcx_decode_frame() local
97 xmin = 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.c290 int xmin = h->rects[0]->x, xmax = xmin + h->rects[0]->w; in encode_dvd_subtitles() local
293 xmin = FFMIN(xmin, h->rects[i]->x); in encode_dvd_subtitles()
298 vrect.x = xmin; in encode_dvd_subtitles()
300 vrect.w = xmax - xmin; in encode_dvd_subtitles()
Dexr.c163 int32_t xmax, xmin; member
1229 if (tile_x && s->tile_attr.xSize + (int64_t)FFMAX(s->xmin, 0) >= INT_MAX / tile_x ) in decode_block()
1238 s->xmin + col < s->xmin || s->xmin + col > s->xmax) in decode_block()
1284 window_xmin = FFMIN(avctx->width, FFMAX(0, s->xmin + col)); in decode_block()
1285 window_xmax = FFMIN(avctx->width, FFMAX(0, s->xmin + col + td->xsize)); in decode_block()
1299 window_xoffset = FFMAX(0, s->xmin); in decode_block()
1359 data_xoffset = FFABS(FFMIN(0, s->xmin + col)) * (s->pixel_type == EXR_HALF ? 2 : 4); in decode_block()
1560 s->xmin = ~0; in decode_header()
1798 int xmin, ymin, xmax, ymax; in decode_header() local
1804 xmin = bytestream2_get_le32(gb); in decode_header()
[all …]
Dmotion_est.h74 int xmin; member
/third_party/ffmpeg/libavfilter/
Dvf_find_rect.c37 int xmin, ymin, xmax, ymax; member
52 { "xmin", "", OFFSET(xmin), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, FLAGS },
146 static float search(FOCContext *foc, int pass, int maxpass, int xmin, int xmax, int ymin, int ymax,… in search() argument
152 … search(foc, pass+1, maxpass, xmin>>1, (xmax+1)>>1, ymin>>1, (ymax+1)>>1, &sub_x, &sub_y, 2.0); in search()
153 xmin = FFMAX(xmin, 2*sub_x - 4); in search()
160 for (x = xmin; x <= xmax; x++) { in search()
187 FFMAX(foc->xmin, foc->last_x - 8), in filter_frame()
193 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
75 *xmin = -1.0f; in intel_calculate_guardband_size()
105 *xmin = ndc_gb_xmin; in intel_calculate_guardband_size()
111 *xmin = 0.0f; in intel_calculate_guardband_size()
/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()
81 p_.push_back(fw(xmin + i * delta + t)); 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/skia/third_party/externals/libwebp/src/dsp/
Dssim.c70 const int xmin = (xo - VP8_SSIM_KERNEL < 0) ? 0 : xo - VP8_SSIM_KERNEL; in SSIMGetClipped_C() local
77 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped_C()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap.c355 cache->xmin = 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()
515 if (x < cache->xmin) in accum_bitmap()
516 cache->xmin = x; in accum_bitmap()
/third_party/mesa3d/src/mesa/main/
Dimage.c642 _mesa_clip_to_region(GLint xmin, GLint ymin, in _mesa_clip_to_region() argument
648 if (*x < xmin) { in _mesa_clip_to_region()
649 *width -= (xmin - *x); in _mesa_clip_to_region()
650 *x = xmin; in _mesa_clip_to_region()
Dimage.h119 _mesa_clip_to_region(GLint xmin, GLint ymin,
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc189 void FontHeaderTable::Builder::SetXMin(int32_t xmin) { in SetXMin() argument
190 InternalWriteData()->WriteShort(Offset::kXMin, xmin); in SetXMin()
Dfont_header_table.h73 virtual void SetXMin(int32_t xmin);
/third_party/alsa-lib/src/control/
Dcontrol_ext.c160 int64_t xmin, xmax, xstep; in snd_ctl_ext_elem_info() local
162 &xmin, in snd_ctl_ext_elem_info()
165 info->value.integer64.min = xmin; in snd_ctl_ext_elem_info()
/third_party/ffmpeg/libavformat/
Dswfenc.c103 int xmin, int xmax, int ymin, int ymax) in put_swf_rect() argument
112 max_nbits(&nbits, xmin); in put_swf_rect()
120 put_bits(&p, nbits, xmin & mask); in put_swf_rect()
Dswfdec.c81 int len, xmin, xmax, ymin, ymax; in swf_probe() local
101 xmin = get_bits_long(&gb, len); in swf_probe()
105 if (xmin || ymin || !xmax || !ymax) in swf_probe()
/third_party/skia/third_party/externals/freetype/src/base/
Dftoutln.c838 FT_Pos xmin;
850 xmin = first->x;
855 if ( point->x < xmin )
857 xmin = point->x;
/third_party/skia/src/pdf/
DSkPDFBitmap.cpp51 int xmin = std::max(0, xOrig - 1); in get_neighbor_avg_color() local
55 for (int x = xmin; x <= xmax; ++x) { in get_neighbor_avg_color()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DFontHeaderTable.java588 public void setXMin(int xmin) { in setXMin() argument
589 this.internalWriteData().writeShort(Offset.xMin.offset, xmin); in setXMin()
/third_party/skia/third_party/externals/libwebp/extras/
Dget_disto.c140 const int xmin = (xo - SSIM_KERNEL < 0) ? 0 : xo - SSIM_KERNEL; in SSIMGetClipped() local
146 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped()
/third_party/ltp/testcases/realtime/tools/
Dftqviz.py114 xlim(xmin=-3000, xmax=3000)

12