Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
H A Dmpegvideo.c982 const int block_s = 8>>lowres; in mpeg_motion_lowres() local
1001 src_x = s->mb_x * 2 * block_s + (motion_x >> lowres + 1); in mpeg_motion_lowres()
1002 src_y = (mb_y * 2 * block_s >> field_based) + (motion_y >> lowres + 1); in mpeg_motion_lowres()
1015 uvsrc_x = s->mb_x * block_s + (mx >> lowres); in mpeg_motion_lowres()
1016 uvsrc_y = mb_y * block_s + (my >> lowres); in mpeg_motion_lowres()
1023 uvsrc_x = s->mb_x * block_s + (mx >> lowres + 1); in mpeg_motion_lowres()
1024 uvsrc_y = (mb_y * block_s >> field_based) + (my >> lowres + 1); in mpeg_motion_lowres()
1032 uvsrc_x = s->mb_x*block_s + (mx >> (lowres+1)); in mpeg_motion_lowres()
1047 if ((unsigned) src_x > FFMAX( h_edge_pos - (!!sx) - 2 * block_s, 0) || uvsrc_y<0 || in mpeg_motion_lowres()
1112 const int block_s in chroma_4mv_motion_lowres() local
1181 const int block_s = 8 >>lowres; MPV_motion_lowres() local
[all...]
H A Dsnowenc.c228 int score, score2, iscore, i_len, p_len, block_s, sum, base_bits; in encode_q_branch() local
377 block_s= block_w*block_w; in encode_q_branch()
379 l= (sum + block_s/2)/block_s; in encode_q_branch()
380 iscore = pix_norm1(current_data[0], stride, block_w) - 2*l*sum + l*l*block_s; in encode_q_branch()
383 block_s= block_w*block_w>>(s->chroma_h_shift + s->chroma_v_shift); in encode_q_branch()
385 cb= (sum + block_s/2)/block_s; in encode_q_branch()
386 // iscore += pix_norm1(&current_mb[1][0], uvstride, block_w>>1) - 2*cb*sum + cb*cb*block_s; in encode_q_branch()
388 cr= (sum + block_s/ in encode_q_branch()
[all...]

Completed in 5 milliseconds