Home
last modified time | relevance | path

Searched refs:ref_buf (Results 1 – 8 of 8) sorted by relevance

/external/libvpx/libvpx/vp9/decoder/
Dvp9_dthread.c62 void vp9_frameworker_wait(VPxWorker *const worker, RefCntBuffer *const ref_buf, in vp9_frameworker_wait() argument
65 if (!ref_buf) in vp9_frameworker_wait()
71 if (ref_buf->row >= row && ref_buf->buf.corrupted != 1) return; in vp9_frameworker_wait()
77 VPxWorker *const ref_worker = ref_buf->frame_worker_owner; in vp9_frameworker_wait()
87 ref_buf->frame_worker_owner, row, ref_buf->row); in vp9_frameworker_wait()
92 while (ref_buf->row < row && pbi->cur_buf == ref_buf && in vp9_frameworker_wait()
93 ref_buf->buf.corrupted != 1) { in vp9_frameworker_wait()
98 if (ref_buf->buf.corrupted == 1) { in vp9_frameworker_wait()
109 (void)ref_buf; in vp9_frameworker_wait()
111 (void)ref_buf; in vp9_frameworker_wait()
Dvp9_decoder.c189 RefBuffer *ref_buf = NULL; in vp9_set_reference_dec() local
197 ref_buf = &cm->frame_refs[0]; in vp9_set_reference_dec()
199 ref_buf = &cm->frame_refs[1]; in vp9_set_reference_dec()
201 ref_buf = &cm->frame_refs[2]; in vp9_set_reference_dec()
208 if (!equal_dimensions(ref_buf->buf, sd)) { in vp9_set_reference_dec()
212 int *ref_fb_ptr = &ref_buf->idx; in vp9_set_reference_dec()
225 ref_buf->buf = &frame_bufs[*ref_fb_ptr].buf; in vp9_set_reference_dec()
226 vp8_yv12_copy_frame(sd, ref_buf->buf); in vp9_set_reference_dec()
Dvp9_dthread.h59 void vp9_frameworker_wait(VPxWorker *const worker, RefCntBuffer *const ref_buf,
Dvp9_decodemv.c503 RefBuffer *ref_buf = &cm->frame_refs[frame - LAST_FRAME]; in read_inter_block_mode_info() local
505 xd->block_refs[ref] = ref_buf; in read_inter_block_mode_info()
506 if ((!vp9_is_valid_scale(&ref_buf->sf))) in read_inter_block_mode_info()
509 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in read_inter_block_mode_info()
510 &ref_buf->sf); in read_inter_block_mode_info()
Dvp9_decodeframe.c1949 RefBuffer *const ref_buf = &cm->frame_refs[i]; in read_uncompressed_header() local
1951 vp9_setup_scale_factors_for_frame(&ref_buf->sf, in read_uncompressed_header()
1952 ref_buf->buf->y_crop_width, in read_uncompressed_header()
1953 ref_buf->buf->y_crop_height, in read_uncompressed_header()
1957 vp9_setup_scale_factors_for_frame(&ref_buf->sf, in read_uncompressed_header()
1958 ref_buf->buf->y_crop_width, in read_uncompressed_header()
1959 ref_buf->buf->y_crop_height, in read_uncompressed_header()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp75 void FaxG4FindB1B2(const uint8_t* ref_buf, in FaxG4FindB1B2() argument
82 (a0 < 0) ? 1 : ((ref_buf[a0 / 8] & (1 << (7 - a0 % 8))) != 0); in FaxG4FindB1B2()
83 b1 = FindBit(ref_buf, columns, a0 + 1, !first_bit); in FaxG4FindB1B2()
89 b1 = FindBit(ref_buf, columns, b1 + 1, first_bit); in FaxG4FindB1B2()
96 b2 = FindBit(ref_buf, columns, b1 + 1, first_bit); in FaxG4FindB1B2()
288 const uint8_t* ref_buf, in FaxG4GetRow() argument
297 FaxG4FindB1B2(ref_buf, columns, a0, a0color, b1, b2); in FaxG4GetRow()
540 const uint8_t* ref_buf, in FaxEncode2DLine() argument
547 FaxG4FindB1B2(ref_buf, cols, a0, a0color, b1, b2); in FaxEncode2DLine()
744 uint8_t* ref_buf = FX_Alloc(uint8_t, pitch); in FaxG4Decode() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c1831 uint8_t const *ref_buf, *src_buf; in vp9_int_pro_motion_estimation() local
1867 ref_buf = xd->plane[0].pre[0].buf - (bw >> 1); in vp9_int_pro_motion_estimation()
1869 vp9_int_pro_row(&hbuf[idx], ref_buf, ref_stride, bh); in vp9_int_pro_motion_estimation()
1870 ref_buf += 16; in vp9_int_pro_motion_estimation()
1873 ref_buf = xd->plane[0].pre[0].buf - (bh >> 1) * ref_stride; in vp9_int_pro_motion_estimation()
1875 vbuf[idx] = vp9_int_pro_col(ref_buf, bw) >> norm_factor; in vp9_int_pro_motion_estimation()
1876 ref_buf += ref_stride; in vp9_int_pro_motion_estimation()
1897 ref_buf = xd->plane[0].pre[0].buf + this_mv.row * ref_stride + this_mv.col; in vp9_int_pro_motion_estimation()
1898 best_sad = cpi->fn_ptr[bsize].sdf(src_buf, src_stride, ref_buf, ref_stride); in vp9_int_pro_motion_estimation()
1902 ref_buf - ref_stride, in vp9_int_pro_motion_estimation()
[all …]
Dvp9_encoder.c3198 RefBuffer *const ref_buf = &cm->frame_refs[ref_frame - 1]; local
3201 ref_buf->idx = buf_idx;
3205 ref_buf->buf = buf;
3207 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
3213 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
3217 if (vp9_is_scaled(&ref_buf->sf))
3220 ref_buf->buf = NULL;