Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dfirstpass.c521 int level_sample; in firstpass_intra_prediction() local
523 level_sample = CONVERT_TO_SHORTPTR(x->plane[0].src.buf)[0]; in firstpass_intra_prediction()
525 level_sample = x->plane[0].src.buf[0]; in firstpass_intra_prediction()
531 case AOM_BITS_10: level_sample >>= 2; break; in firstpass_intra_prediction()
532 case AOM_BITS_12: level_sample >>= 4; break; in firstpass_intra_prediction()
540 if ((level_sample < DARK_THRESH) && (log_intra < 9.0)) { in firstpass_intra_prediction()
541 stats->brightness_factor += 1.0 + (0.01 * (DARK_THRESH - level_sample)); in firstpass_intra_prediction()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c942 int level_sample; in vp9_first_pass_encode_tile_mb_row() local
1049 level_sample = CONVERT_TO_SHORTPTR(x->plane[0].src.buf)[0]; in vp9_first_pass_encode_tile_mb_row()
1051 level_sample = x->plane[0].src.buf[0]; in vp9_first_pass_encode_tile_mb_row()
1053 level_sample = x->plane[0].src.buf[0]; in vp9_first_pass_encode_tile_mb_row()
1055 if ((level_sample < DARK_THRESH) && (log_intra < 9.0)) { in vp9_first_pass_encode_tile_mb_row()
1056 mb_brightness_factor = 1.0 + (0.01 * (DARK_THRESH - level_sample)); in vp9_first_pass_encode_tile_mb_row()