Home
last modified time | relevance | path

Searched refs:av_assert2 (Results 1 – 25 of 120) sorted by relevance

12345

/third_party/ffmpeg/libavcodec/
Dput_bits.h186 av_assert2(0); in put_bits_no_assert()
204 av_assert2(0); in put_bits_no_assert()
221 av_assert2(n <= 31 && value < (1UL << n)); in put_bits()
230 av_assert2(n <= 31 && value < (1UL << n)); in put_bits_le()
242 av_assert2(0); in put_bits_le()
255 av_assert2(n >= 0 && n <= 31); in put_sbits()
283 av_assert2(0); in put_bits32()
294 av_assert2(0); in put_bits32()
308 av_assert2((n == 64) || (n < 64 && value < (UINT64_C(1) << n))); in put_bits64()
353 av_assert2((put_bits_count(s) & 7) == 0); in skip_put_bytes()
[all …]
Drectangle.h43 av_assert2(size==1 || size==2 || size==4); in fill_rectangle()
44 av_assert2(w<=4); in fill_rectangle()
49 av_assert2((((long)vp)&(FFMIN(w, 8<<(HAVE_NEON|ARCH_PPC|HAVE_MMX))-1)) == 0); in fill_rectangle()
50 av_assert2((stride&(w-1))==0); in fill_rectangle()
120 av_assert2(0); in fill_rectangle()
121 av_assert2(h==4); in fill_rectangle()
Dget_bits.h262 av_assert2(n>0 && n<=63); in get_val()
333 av_assert2(n>0 && n<=25); in get_xbits()
349 av_assert2(n>0 && n<=25); in get_xbits_le()
363 av_assert2(n>0 && n<=25); in get_sbits()
367 av_assert2(n>0 && n<=25); in get_sbits()
384 av_assert2(n>0 && n<=32); in get_bits()
402 av_assert2(n>0 && n<=25); in get_bits()
408 av_assert2(tmp < UINT64_C(1) << n); in get_bits()
423 av_assert2(n>0 && n<=32); in get_bits_le()
434 av_assert2(n>0 && n<=25); in get_bits_le()
[all …]
Dgolomb.h215 av_assert2(range >= 1); in get_te0_golomb()
230 av_assert2(range >= 1); in get_te_golomb()
471 av_assert2(k <= 31); in get_ur_golomb_jpegls()
624 av_assert2(i >= 0); in set_ue_golomb()
625 av_assert2(i <= 0xFFFE); in set_ue_golomb()
640 av_assert2(i <= (UINT32_MAX - 1)); in set_ue_golomb_long()
655 av_assert2(range >= 1); in set_te_golomb()
656 av_assert2(i <= range); in set_te_golomb()
683 av_assert2(i >= 0); in set_ur_golomb()
700 av_assert2(i >= 0); in set_ur_golomb_jpegls()
Dvideodsp_template.c35 av_assert2(block_w * sizeof(pixel) <= FFABS(buf_linesize)); in FUNC()
59 av_assert2(start_y < end_y && block_h); in FUNC()
60 av_assert2(start_x < end_x && block_w); in FUNC()
Drangecoder.h99 av_assert2(*state); in put_rac()
100 av_assert2(range1 < c->range); in put_rac()
101 av_assert2(range1 > 0); in put_rac()
Dmotion_est_template.c99 av_assert2(c->map[(index-(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()
101 av_assert2(c->map[(index+(1<<ME_MAP_SHIFT))&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()
103 av_assert2(c->map[(index+1)&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()
105 av_assert2(c->map[(index-1)&(ME_MAP_SIZE-1)] == key); in hpel_motion_search()
146 av_assert2(bx >= xmin*2 && bx <= xmax*2 && by >= ymin*2 && by <= ymax*2); in hpel_motion_search()
311 av_assert2(16*cx2 + 4*cx + 32*c == 32*r); in qpel_motion_search()
312 av_assert2(16*cx2 - 4*cx + 32*c == 32*l); in qpel_motion_search()
313 av_assert2(16*cy2 + 4*cy + 32*c == 32*b); in qpel_motion_search()
314 av_assert2(16*cy2 - 4*cy + 32*c == 32*t); in qpel_motion_search()
315 av_assert2(16*cxy + 16*cy2 + 16*cx2 - 4*cy - 4*cx + 32*c == 32*tl); in qpel_motion_search()
[all …]
Dintrax8.c90 av_assert2(offset == VLC_BUFFER_SIZE); in x8_vlc_init()
104 av_assert2(mode < 4); in x8_select_ac_table()
112 av_assert2(w->j_ac_vlc[mode]); in x8_select_ac_table()
257 av_assert2(mode < 3); in x8_get_dc_rlf()
319 av_assert2(w->orient < 3); in x8_setup_spatial_predictor()
339 av_assert2(w->raw_orient < 12); in x8_setup_spatial_predictor()
340 av_assert2(w->orient < 3); in x8_setup_spatial_predictor()
543 av_assert2(w->orient < 12); in x8_decode_intra_mb()
Dh264_mc_template.c77 av_assert2(IS_INTER(mb_type)); in MCFUNC()
110 av_assert2(IS_8X8(mb_type)); in MCFUNC()
148 av_assert2(IS_SUB_4X4(sub_mb_type)); in MCFUNC()
Dh264chroma_template.c39 av_assert2(x<8 && y<8 && x>=0 && y>=0);\
74 av_assert2(x<8 && y<8 && x>=0 && y>=0);\
113 av_assert2(x<8 && y<8 && x>=0 && y>=0);\
158 av_assert2(x<8 && y<8 && x>=0 && y>=0);\
Dsnow.h419 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // obmc params assume squares in predict_slice()
500 av_assert2(!ref_index); in init_ref()
568 av_assert2(v>=0); in put_symbol2()
569 av_assert2(log2>=-4); in put_symbol2()
589 av_assert2(log2>=-4); in get_symbol2()
680 av_assert2(run >= 0); in unpack_coeffs()
685 av_assert2(max_run >= 0 && max_run <= run); in unpack_coeffs()
Dme_cmp.c560 av_assert2(h == 8); in hadamard8_diff8x8_c()
612 av_assert2(h == 8); in hadamard8_intra8x8_c()
664 av_assert2(h == 8); in dct_sad8x8_c()
731 av_assert2(h == 8); in dct_max8x8_c()
749 av_assert2(h == 8); in quant_psnr8x8_c()
778 av_assert2(h == 8); in rd8x8_c()
822 av_assert2(level - 64); in rd8x8_c()
853 av_assert2(h == 8); in bit8x8_c()
894 av_assert2(level - 64); in bit8x8_c()
/third_party/ffmpeg/libavcodec/x86/
Dmpegvideo.c39 av_assert2(s->block_last_index[n]>=0 || s->h263_aic); in dct_unquantize_h263_intra_mmx()
115 av_assert2(s->block_last_index[n]>=0 || s->h263_aic); in dct_unquantize_h263_inter_mmx()
175 av_assert2(s->block_last_index[n]>=0); in dct_unquantize_mpeg1_intra_mmx()
243 av_assert2(s->block_last_index[n]>=0); in dct_unquantize_mpeg1_inter_mmx()
310 av_assert2(s->block_last_index[n]>=0); in dct_unquantize_mpeg2_intra_mmx()
378 av_assert2(s->block_last_index[n]>=0); in dct_unquantize_mpeg2_inter_mmx()
Dme_cmp_init.c134 av_assert2((((int) pix) & 7) == 0); in vsad_intra16_mmx()
135 av_assert2((stride & 7) == 0); in vsad_intra16_mmx()
198 av_assert2((((int) pix1) & 7) == 0); in vsad16_mmx()
199 av_assert2((((int) pix2) & 7) == 0); in vsad16_mmx()
200 av_assert2((stride & 7) == 0); in vsad16_mmx()
440 av_assert2(h == 8); \
454 av_assert2(h == 8); \
469 av_assert2(h == 8); \
484 av_assert2(h == 8); \
Dvideodsp_init.c165 av_assert2(block_w <= FFABS(dst_stride)); in emulated_edge_mc()
188 av_assert2(start_x < end_x && block_w > 0); in emulated_edge_mc()
189 av_assert2(start_y < end_y && block_h > 0); in emulated_edge_mc()
/third_party/ffmpeg/libavutil/
Davassert.h61 #define av_assert2(cond) av_assert0(cond) macro
64 #define av_assert2(cond) ((void)0) macro
Dfifo.c155 av_assert2(offset >= 0); in av_fifo_generic_peek_at()
161 av_assert2(buf_size + (unsigned)offset <= f->wndx - f->rndx); in av_fifo_generic_peek_at()
235 av_assert2(av_fifo_size(f) >= size); in av_fifo_drain()
Dmathematics.c61 av_assert2(c > 0); in av_rescale_rnd()
62 av_assert2(b >=0); in av_rescale_rnd()
63 av_assert2((unsigned)(rnd&~AV_ROUND_PASS_MINMAX)<=5 && (rnd&~AV_ROUND_PASS_MINMAX)!=4); in av_rescale_rnd()
Dsoftfloat.h85 av_assert2(a.mant < 0x40000000 && a.mant > -0x40000000); in av_normalize1_sf()
86 av_assert2(a.exp <= MAX_EXP); in av_normalize1_sf()
104av_assert2((int32_t)((a.mant * (int64_t)b.mant) >> ONE_BITS) == (a.mant * (int64_t)b.mant) >> ONE_… in av_mul_sf()
Dinteger.c122 av_assert2((int16_t)a.v[AV_INTEGER_SIZE-1] >= 0 && (int16_t)b.v[AV_INTEGER_SIZE-1] >= 0); in av_mod_i()
123 av_assert2(av_log2_i(b)>=0); in av_mod_i()
/third_party/ffmpeg/libavcodec/mips/
Dmpegvideo_mmi.c37 av_assert2(s->block_last_index[n]>=0 || s->h263_aic); in ff_dct_unquantize_h263_intra_mmi()
113 av_assert2(s->block_last_index[n]>=0 || s->h263_aic); in ff_dct_unquantize_h263_inter_mmi()
173 av_assert2(s->block_last_index[n]>=0); in ff_dct_unquantize_mpeg1_intra_mmi()
266 av_assert2(s->block_last_index[n] >= 0); in ff_dct_unquantize_mpeg1_inter_mmi()
/third_party/ffmpeg/libavcodec/arm/
Dmpegvideo_armv5te.c59 av_assert2(s->block_last_index[n]>=0); in dct_unquantize_h263_intra_armv5te()
88 av_assert2(s->block_last_index[n]>=0); in dct_unquantize_h263_inter_armv5te()
/third_party/ffmpeg/libswresample/
Ddither_template.c50 av_assert2((taps&3) != 2); in RENAME()
51 av_assert2((taps&3) != 3 || s->dither.ns_coeffs[taps] == 0); in RENAME()
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp_template.c71 av_assert2(yuv2rgb_coeffs[0][1][0] == 0); in fn()
72 av_assert2(yuv2rgb_coeffs[2][2][0] == 0); in fn()
73 av_assert2(yuv2rgb_coeffs[1][0][0] == cy && yuv2rgb_coeffs[2][0][0] == cy); in fn()
152 av_assert2(rgb2yuv_coeffs[1][2][0] == rgb2yuv_coeffs[2][0][0]); in fn()
236 av_assert2(rgb2yuv_coeffs[1][2][0] == rgb2yuv_coeffs[2][0][0]); in fn()
Dcolorspacedsp_yuv2yuv_template.c59 av_assert2(c[1][0][0] == 0); in fn()
60 av_assert2(c[2][0][0] == 0); in fn()

12345