/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_dthread.c | 62 void vp9_frameworker_wait(VPxWorker *const worker, RefCntBuffer *const ref_buf, in vp9_frameworker_wait() argument 65 if (!ref_buf) return; in vp9_frameworker_wait() 70 if (ref_buf->row >= row && ref_buf->buf.corrupted != 1) return; in vp9_frameworker_wait() 76 VPxWorker *const ref_worker = ref_buf->frame_worker_owner; in vp9_frameworker_wait() 86 ref_buf->frame_worker_owner, row, ref_buf->row); in vp9_frameworker_wait() 91 while (ref_buf->row < row && pbi->cur_buf == ref_buf && in vp9_frameworker_wait() 92 ref_buf->buf.corrupted != 1) { in vp9_frameworker_wait() 97 if (ref_buf->buf.corrupted == 1) { in vp9_frameworker_wait() 108 (void)ref_buf; in vp9_frameworker_wait() 110 (void)ref_buf; in vp9_frameworker_wait()
|
D | vp9_decoder.c | 184 YV12_BUFFER_CONFIG *ref_buf = NULL; in vp9_set_reference_dec() local 213 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; in vp9_set_reference_dec() 215 if (!equal_dimensions(ref_buf, sd)) { in vp9_set_reference_dec() 220 vp8_yv12_copy_frame(sd, ref_buf); in vp9_set_reference_dec()
|
D | vp9_dthread.h | 59 void vp9_frameworker_wait(VPxWorker *const worker, RefCntBuffer *const ref_buf,
|
D | vp9_decodeframe.c | 661 RefBuffer *ref_buf = &pbi->common.frame_refs[frame - LAST_FRAME]; in dec_build_inter_predictors_sb() local 662 const struct scale_factors *const sf = &ref_buf->sf; in dec_build_inter_predictors_sb() 663 const int idx = ref_buf->idx; in dec_build_inter_predictors_sb() 672 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in dec_build_inter_predictors_sb() 674 xd->block_refs[ref] = ref_buf; in dec_build_inter_predictors_sb() 1874 RefBuffer *const ref_buf = &cm->frame_refs[i]; in read_uncompressed_header() local 1877 &ref_buf->sf, ref_buf->buf->y_crop_width, in read_uncompressed_header() 1878 ref_buf->buf->y_crop_height, cm->width, cm->height, in read_uncompressed_header() 1882 &ref_buf->sf, ref_buf->buf->y_crop_width, in read_uncompressed_header() 1883 ref_buf->buf->y_crop_height, cm->width, cm->height); in read_uncompressed_header()
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_fax.cpp | 81 void FaxG4FindB1B2(const std::vector<uint8_t>& ref_buf, in FaxG4FindB1B2() argument 88 (a0 < 0) ? 1 : ((ref_buf[a0 / 8] & (1 << (7 - a0 % 8))) != 0); in FaxG4FindB1B2() 89 *b1 = FindBit(ref_buf.data(), columns, a0 + 1, !first_bit); in FaxG4FindB1B2() 95 *b1 = FindBit(ref_buf.data(), columns, *b1 + 1, first_bit); in FaxG4FindB1B2() 102 *b2 = FindBit(ref_buf.data(), columns, *b1 + 1, first_bit); in FaxG4FindB1B2() 280 const std::vector<uint8_t>& ref_buf, in FaxG4GetRow() argument 292 FaxG4FindB1B2(ref_buf, columns, a0, a0color, &b1, &b2); in FaxG4GetRow() 572 std::vector<uint8_t> ref_buf(pitch, 0xff); in FaxG4Decode() local 577 FaxG4GetRow(src_buf, src_size << 3, &bitpos, line_buf, ref_buf, width); in FaxG4Decode() 578 FXSYS_memcpy(ref_buf.data(), line_buf, pitch); in FaxG4Decode() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mcomp.c | 1805 uint8_t const *ref_buf, *src_buf; in vp9_int_pro_motion_estimation() local 1841 ref_buf = xd->plane[0].pre[0].buf - (bw >> 1); in vp9_int_pro_motion_estimation() 1843 vpx_int_pro_row(&hbuf[idx], ref_buf, ref_stride, bh); in vp9_int_pro_motion_estimation() 1844 ref_buf += 16; in vp9_int_pro_motion_estimation() 1847 ref_buf = xd->plane[0].pre[0].buf - (bh >> 1) * ref_stride; in vp9_int_pro_motion_estimation() 1849 vbuf[idx] = vpx_int_pro_col(ref_buf, bw) >> norm_factor; in vp9_int_pro_motion_estimation() 1850 ref_buf += ref_stride; in vp9_int_pro_motion_estimation() 1871 ref_buf = xd->plane[0].pre[0].buf + this_mv.row * ref_stride + this_mv.col; in vp9_int_pro_motion_estimation() 1872 best_sad = cpi->fn_ptr[bsize].sdf(src_buf, src_stride, ref_buf, ref_stride); in vp9_int_pro_motion_estimation() 1876 ref_buf - ref_stride, ref_buf - 1, ref_buf + 1, ref_buf + ref_stride, in vp9_int_pro_motion_estimation() [all …]
|
D | vp9_encoder.c | 3427 RefBuffer *const ref_buf = &cm->frame_refs[ref_frame - 1]; local 3430 ref_buf->idx = buf_idx; 3434 ref_buf->buf = buf; 3437 &ref_buf->sf, buf->y_crop_width, buf->y_crop_height, cm->width, 3440 vp9_setup_scale_factors_for_frame(&ref_buf->sf, buf->y_crop_width, 3444 if (vp9_is_scaled(&ref_buf->sf)) vpx_extend_frame_borders(buf); 3446 ref_buf->buf = NULL;
|