Home
last modified time | relevance | path

Searched refs:block_s (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpegvideo.c1515 const int block_s = 8>>lowres; in mpeg_motion_lowres() local
1534 src_x = s->mb_x * 2 * block_s + (motion_x >> lowres + 1); in mpeg_motion_lowres()
1535 src_y = (mb_y * 2 * block_s >> field_based) + (motion_y >> lowres + 1); in mpeg_motion_lowres()
1548 uvsrc_x = s->mb_x * block_s + (mx >> lowres); in mpeg_motion_lowres()
1549 uvsrc_y = mb_y * block_s + (my >> lowres); in mpeg_motion_lowres()
1556 uvsrc_x = s->mb_x * block_s + (mx >> lowres + 1); in mpeg_motion_lowres()
1557 uvsrc_y = (mb_y * block_s >> field_based) + (my >> lowres + 1); in mpeg_motion_lowres()
1565 uvsrc_x = s->mb_x*block_s + (mx >> (lowres+1)); in mpeg_motion_lowres()
1580 if ((unsigned) src_x > FFMAX( h_edge_pos - (!!sx) - 2 * block_s, 0) || uvsrc_y<0 || in mpeg_motion_lowres()
1645 const int block_s = 8 >> lowres; in chroma_4mv_motion_lowres() local
[all …]
Dsnowenc.c237 int score, score2, iscore, i_len, p_len, block_s, sum, base_bits; in encode_q_branch() local
380 block_s= block_w*block_w; in encode_q_branch()
382 l= (sum + block_s/2)/block_s; in encode_q_branch()
383 iscore = pix_norm1(current_data[0], stride, block_w) - 2*l*sum + l*l*block_s; in encode_q_branch()
386 block_s= block_w*block_w>>(s->chroma_h_shift + s->chroma_v_shift); in encode_q_branch()
388 cb= (sum + block_s/2)/block_s; in encode_q_branch()
391 cr= (sum + block_s/2)/block_s; in encode_q_branch()