Home
last modified time | relevance | path

Searched refs:ref_buf (Results 1 – 9 of 9) 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.c187 RefBuffer *ref_buf = NULL; in vp9_set_reference_dec() local
195 ref_buf = &cm->frame_refs[0]; in vp9_set_reference_dec()
197 ref_buf = &cm->frame_refs[1]; in vp9_set_reference_dec()
199 ref_buf = &cm->frame_refs[2]; in vp9_set_reference_dec()
206 if (!equal_dimensions(ref_buf->buf, sd)) { in vp9_set_reference_dec()
210 int *ref_fb_ptr = &ref_buf->idx; in vp9_set_reference_dec()
223 ref_buf->buf = &frame_bufs[*ref_fb_ptr].buf; in vp9_set_reference_dec()
224 vp8_yv12_copy_frame(sd, ref_buf->buf); in vp9_set_reference_dec()
Dvp9_dthread.h55 void vp9_frameworker_wait(VPxWorker *const worker, RefCntBuffer *const ref_buf,
Dvp9_decodemv.c501 RefBuffer *ref_buf = &cm->frame_refs[frame - LAST_FRAME]; in read_inter_block_mode_info() local
503 xd->block_refs[ref] = ref_buf; in read_inter_block_mode_info()
504 if ((!vp9_is_valid_scale(&ref_buf->sf))) in read_inter_block_mode_info()
507 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in read_inter_block_mode_info()
508 &ref_buf->sf); in read_inter_block_mode_info()
Dvp9_decodeframe.c1925 RefBuffer *const ref_buf = &cm->frame_refs[i]; in read_uncompressed_header() local
1927 vp9_setup_scale_factors_for_frame(&ref_buf->sf, in read_uncompressed_header()
1928 ref_buf->buf->y_crop_width, in read_uncompressed_header()
1929 ref_buf->buf->y_crop_height, in read_uncompressed_header()
1933 vp9_setup_scale_factors_for_frame(&ref_buf->sf, in read_uncompressed_header()
1934 ref_buf->buf->y_crop_width, in read_uncompressed_header()
1935 ref_buf->buf->y_crop_height, in read_uncompressed_header()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp82 void _FaxG4FindB1B2(const FX_BYTE* ref_buf, int columns, int a0, FX_BOOL a0color, int& b1, int& b2) in _FaxG4FindB1B2() argument
87 FX_BYTE first_bit = (a0 < 0) ? 1 : ((ref_buf[a0 / 8] & (1 << (7 - a0 % 8))) != 0); in _FaxG4FindB1B2()
88 b1 = _FindBit(ref_buf, columns, a0 + 1, !first_bit); in _FaxG4FindB1B2()
94 b1 = _FindBit(ref_buf, columns, b1 + 1, first_bit); in _FaxG4FindB1B2()
101 b2 = _FindBit(ref_buf, columns, b1 + 1, first_bit); in _FaxG4FindB1B2()
403 …X_BYTE* src_buf, int bitsize, int& bitpos, FX_LPBYTE dest_buf, const FX_BYTE* ref_buf, int columns) in _FaxG4GetRow() argument
411 _FaxG4FindB1B2(ref_buf, columns, a0, a0color, b1, b2); in _FaxG4GetRow()
701 FX_LPBYTE ref_buf = FX_Alloc(FX_BYTE, pitch); in _FaxG4Decode() local
702 FXSYS_memset8(ref_buf, 0xff, pitch); in _FaxG4Decode()
707 _FaxG4GetRow(src_buf, src_size << 3, bitpos, line_buf, ref_buf, width); in _FaxG4Decode()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_filters.cpp478 static void PNG_PredictorLine(FX_LPBYTE cur_buf, FX_LPBYTE ref_buf, int pitch, int Bpp) in PNG_PredictorLine() argument
485 if (ref_buf) { in PNG_PredictorLine()
486 ref_buf ++; in PNG_PredictorLine()
501 if (ref_buf) { in PNG_PredictorLine()
502 up = ref_buf[byte]; in PNG_PredictorLine()
513 if (ref_buf) { in PNG_PredictorLine()
514 up = ref_buf[byte]; in PNG_PredictorLine()
525 if (ref_buf) { in PNG_PredictorLine()
526 up = ref_buf[byte]; in PNG_PredictorLine()
529 if (byte >= Bpp && ref_buf) { in PNG_PredictorLine()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c1830 uint8_t const *ref_buf, *src_buf; in vp9_int_pro_motion_estimation() local
1866 ref_buf = xd->plane[0].pre[0].buf - (bw >> 1); in vp9_int_pro_motion_estimation()
1868 vp9_int_pro_row(&hbuf[idx], ref_buf, ref_stride, bh); in vp9_int_pro_motion_estimation()
1869 ref_buf += 16; in vp9_int_pro_motion_estimation()
1872 ref_buf = xd->plane[0].pre[0].buf - (bh >> 1) * ref_stride; in vp9_int_pro_motion_estimation()
1874 vbuf[idx] = vp9_int_pro_col(ref_buf, bw) >> norm_factor; in vp9_int_pro_motion_estimation()
1875 ref_buf += ref_stride; in vp9_int_pro_motion_estimation()
1896 ref_buf = xd->plane[0].pre[0].buf + this_mv.row * ref_stride + this_mv.col; in vp9_int_pro_motion_estimation()
1897 best_sad = cpi->fn_ptr[bsize].sdf(src_buf, src_stride, ref_buf, ref_stride); in vp9_int_pro_motion_estimation()
1901 ref_buf - ref_stride, in vp9_int_pro_motion_estimation()
[all …]
Dvp9_encoder.c3155 RefBuffer *const ref_buf = &cm->frame_refs[ref_frame - 1]; local
3158 ref_buf->idx = buf_idx;
3162 ref_buf->buf = buf;
3164 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
3170 vp9_setup_scale_factors_for_frame(&ref_buf->sf,
3174 if (vp9_is_scaled(&ref_buf->sf))
3177 ref_buf->buf = NULL;