/external/libaom/libaom/av1/decoder/ |
D | decoder.c | 286 YV12_BUFFER_CONFIG *ref_buf = NULL; in av1_set_reference_dec() local 289 ref_buf = get_ref_frame(cm, idx); in av1_set_reference_dec() 291 if (ref_buf == NULL) { in av1_set_reference_dec() 297 if (!equal_dimensions(ref_buf, sd)) { in av1_set_reference_dec() 302 aom_yv12_copy_frame(sd, ref_buf, num_planes); in av1_set_reference_dec() 305 if (!equal_dimensions_and_border(ref_buf, sd)) { in av1_set_reference_dec() 312 ref_buf->store_buf_adr[0] = ref_buf->y_buffer; in av1_set_reference_dec() 313 ref_buf->store_buf_adr[1] = ref_buf->u_buffer; in av1_set_reference_dec() 314 ref_buf->store_buf_adr[2] = ref_buf->v_buffer; in av1_set_reference_dec() 315 ref_buf->y_buffer = sd->y_buffer; in av1_set_reference_dec() [all …]
|
D | decodeframe.c | 868 const RefCntBuffer *ref_buf = get_ref_frame_buf(cm, frame); in predict_inter_block() local 873 av1_setup_pre_planes(xd, ref, &ref_buf->buf, mi_row, mi_col, in predict_inter_block() 2055 const RefCntBuffer *const ref_buf = get_ref_frame_buf(cm, i); in setup_frame_size_with_refs() local 2061 if (ref_buf == NULL) { in setup_frame_size_with_refs() 2065 const YV12_BUFFER_CONFIG *const buf = &ref_buf->buf; in setup_frame_size_with_refs() 4892 const RefCntBuffer *const ref_buf = get_ref_frame_buf(cm, i); in read_uncompressed_header() local 4896 ref_scale_factors, ref_buf->buf.y_crop_width, in read_uncompressed_header() 4897 ref_buf->buf.y_crop_height, cm->width, cm->height); in read_uncompressed_header()
|
/external/speex/libspeexdsp/ |
D | testecho.c | 20 short echo_buf[NN], ref_buf[NN], e_buf[NN]; in main() local 41 fread(ref_buf, sizeof(short), NN, ref_fd); in main() 43 speex_echo_cancellation(st, ref_buf, echo_buf, e_buf); in main()
|
/external/pdfium/core/fxcodec/fax/ |
D | faxmodule.cpp | 90 void FaxG4FindB1B2(pdfium::span<const uint8_t> ref_buf, in FaxG4FindB1B2() argument 96 bool first_bit = a0 < 0 || (ref_buf[a0 / 8] & (1 << (7 - a0 % 8))) != 0; in FaxG4FindB1B2() 97 *b1 = FindBit(ref_buf.data(), columns, a0 + 1, !first_bit); in FaxG4FindB1B2() 103 *b1 = FindBit(ref_buf.data(), columns, *b1 + 1, first_bit); in FaxG4FindB1B2() 110 *b2 = FindBit(ref_buf.data(), columns, *b1 + 1, first_bit); in FaxG4FindB1B2() 287 pdfium::span<const uint8_t> ref_buf, in FaxG4GetRow() argument 299 FaxG4FindB1B2(ref_buf, columns, a0, a0color, &b1, &b2); in FaxG4GetRow() 614 std::vector<uint8_t, FxAllocAllocator<uint8_t>> ref_buf(pitch, 0xff); in FaxG4Decode() local 619 FaxG4GetRow(src_buf, src_size << 3, &bitpos, line_buf, ref_buf, width); in FaxG4Decode() 620 memcpy(ref_buf.data(), line_buf, pitch); in FaxG4Decode()
|
/external/libaom/libaom/av1/common/ |
D | reconinter.c | 64 const struct buf_2d *ref_buf, in av1_init_inter_params() argument 76 inter_pred_params->ref_frame_buf = *ref_buf; in av1_init_inter_params() 800 const RefCntBuffer *ref_buf = in build_inter_predictors_sub8x8() local 807 (plane == 1) ? ref_buf->buf.u_buffer : ref_buf->buf.v_buffer, in build_inter_predictors_sub8x8() 808 ref_buf->buf.uv_crop_width, in build_inter_predictors_sub8x8() 809 ref_buf->buf.uv_crop_height, in build_inter_predictors_sub8x8() 810 ref_buf->buf.uv_stride, in build_inter_predictors_sub8x8() 1215 const RefCntBuffer *const ref_buf = get_ref_frame_buf(ctxt->cm, frame); in av1_setup_address_for_obmc() local 1224 av1_setup_pre_planes(xd, 0, &ref_buf->buf, ref_mi_row, ref_mi_col, sf, in av1_setup_address_for_obmc() 1249 const RefCntBuffer *const ref_buf = get_ref_frame_buf(ctxt->cm, frame); in av1_setup_build_prediction_by_above_pred() local [all …]
|
D | mvref_common.c | 997 const RefCntBuffer *ref_buf[INTER_REFS_PER_FRAME]; in av1_setup_motion_field() local 1007 ref_buf[ref_idx] = buf; in av1_setup_motion_field() 1018 if (ref_buf[LAST_FRAME - LAST_FRAME] != NULL) { in av1_setup_motion_field() 1020 ref_buf[LAST_FRAME - LAST_FRAME] in av1_setup_motion_field()
|
D | reconinter.h | 130 const struct buf_2d *ref_buf,
|
/external/libaom/libaom/av1/encoder/ |
D | mcomp.c | 1649 uint8_t const *ref_buf, *src_buf; in av1_int_pro_motion_estimation() local 1686 ref_buf = xd->plane[0].pre[0].buf - (bw >> 1); in av1_int_pro_motion_estimation() 1688 aom_int_pro_row(&hbuf[idx], ref_buf, ref_stride, bh); in av1_int_pro_motion_estimation() 1689 ref_buf += 16; in av1_int_pro_motion_estimation() 1692 ref_buf = xd->plane[0].pre[0].buf - (bh >> 1) * ref_stride; in av1_int_pro_motion_estimation() 1694 vbuf[idx] = aom_int_pro_col(ref_buf, bw) >> norm_factor; in av1_int_pro_motion_estimation() 1695 ref_buf += ref_stride; in av1_int_pro_motion_estimation() 1718 ref_buf = get_buf_from_fullmv(&xd->plane[0].pre[0], &this_mv); in av1_int_pro_motion_estimation() 1719 best_sad = cpi->fn_ptr[bsize].sdf(src_buf, src_stride, ref_buf, ref_stride); in av1_int_pro_motion_estimation() 1723 ref_buf - ref_stride, in av1_int_pro_motion_estimation() [all …]
|
D | encode_strategy.c | 541 const YV12_BUFFER_CONFIG *const ref_buf, in dump_one_image() argument 546 if (ref_buf == NULL) { in dump_one_image() 558 fwrite(&ref_buf->y_buffer[h * ref_buf->y_stride], 1, cm->width, f_ref); in dump_one_image() 562 fwrite(&ref_buf->u_buffer[h * ref_buf->uv_stride], 1, (cm->width >> 1), in dump_one_image() 567 fwrite(&ref_buf->v_buffer[h * ref_buf->uv_stride], 1, (cm->width >> 1), in dump_one_image()
|
D | encodeframe.c | 5327 AV1_COMP *cpi, YV12_BUFFER_CONFIG *ref_buf[REF_FRAMES], int frame, in compute_global_motion_for_ref_frame() 5345 assert(ref_buf[frame] != NULL); in compute_global_motion_for_ref_frame() 5378 cpi->source->y_stride, frm_corners, *num_frm_corners, ref_buf[frame], in compute_global_motion_for_ref_frame() 5394 is_cur_buf_hbd(xd), xd->bd, ref_buf[frame]->y_buffer, in compute_global_motion_for_ref_frame() 5395 ref_buf[frame]->y_stride, cpi->source->y_buffer, in compute_global_motion_for_ref_frame() 5404 ref_buf[frame]->y_buffer, ref_buf[frame]->y_width, in compute_global_motion_for_ref_frame() 5405 ref_buf[frame]->y_height, ref_buf[frame]->y_stride, in compute_global_motion_for_ref_frame() 5461 AV1_COMP *cpi, YV12_BUFFER_CONFIG *ref_buf[REF_FRAMES], in update_valid_ref_frames_for_gm() 5471 ref_buf[frame] = NULL; in update_valid_ref_frames_for_gm() 5479 ref_buf[frame] = &buf->buf; in update_valid_ref_frames_for_gm() [all …]
|
D | tpl_model.c | 363 struct buf_2d ref_buf = { NULL, ref_frame_ptr->y_buffer, in mode_estimation() local 369 sf, &ref_buf, kernel); in mode_estimation() 419 struct buf_2d ref_buf = { NULL, ref_frame_ptr->y_buffer, in mode_estimation() local 424 sf, &ref_buf, kernel); in mode_estimation()
|
D | temporal_filter.c | 341 const struct buf_2d ref_buf = { NULL, ref_frame->buffers[plane], in tf_build_predictor() local 362 is_intrabc, scale, &ref_buf, interp_filters); in tf_build_predictor()
|
D | rd.c | 1065 const RefCntBuffer *const ref_buf = in av1_get_scaled_ref_frame() local 1067 return (scaled_buf != ref_buf && scaled_buf != NULL) ? &scaled_buf->buf in av1_get_scaled_ref_frame()
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 1282 for (const RefFrameBuffer& ref_buf : ref_buf_list) { in FillReferenceIndices() local 1283 RTC_DCHECK_LE(ref_buf.pic_num, pic_num); in FillReferenceIndices() 1284 if (ref_buf.pic_num < pic_num) { in FillReferenceIndices() 1289 RTC_DCHECK_EQ(ref_buf.spatial_layer_id, layer_id.spatial_layer_id); in FillReferenceIndices() 1291 RTC_DCHECK_LE(ref_buf.spatial_layer_id, layer_id.spatial_layer_id); in FillReferenceIndices() 1293 RTC_DCHECK_LE(ref_buf.temporal_layer_id, layer_id.temporal_layer_id); in FillReferenceIndices() 1300 ref_buf.pic_num) != ref_pid_list.end()) { in FillReferenceIndices() 1303 ref_pid_list.push_back(ref_buf.pic_num); in FillReferenceIndices() 1305 const size_t p_diff = pic_num - ref_buf.pic_num; in FillReferenceIndices() 1312 std::max(max_ref_temporal_layer_id, ref_buf.temporal_layer_id); in FillReferenceIndices() [all …]
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 286 YV12_BUFFER_CONFIG *ref_buf = NULL; in vp9_set_reference_dec() local 315 ref_buf = &cm->buffer_pool->frame_bufs[idx].buf; in vp9_set_reference_dec() 317 if (!equal_dimensions(ref_buf, sd)) { in vp9_set_reference_dec() 322 vpx_yv12_copy_frame(sd, ref_buf); in vp9_set_reference_dec()
|
D | vp9_decodeframe.c | 730 RefBuffer *ref_buf = &pbi->common.frame_refs[frame - LAST_FRAME]; in dec_build_inter_predictors_sb() local 731 const struct scale_factors *const sf = &ref_buf->sf; in dec_build_inter_predictors_sb() 732 const int idx = ref_buf->idx; in dec_build_inter_predictors_sb() 741 vp9_setup_pre_planes(xd, ref, ref_buf->buf, mi_row, mi_col, in dec_build_inter_predictors_sb() 743 xd->block_refs[ref] = ref_buf; in dec_build_inter_predictors_sb() 2749 RefBuffer *const ref_buf = &cm->frame_refs[i]; in read_uncompressed_header() local 2752 &ref_buf->sf, ref_buf->buf->y_crop_width, in read_uncompressed_header() 2753 ref_buf->buf->y_crop_height, cm->width, cm->height, in read_uncompressed_header() 2757 &ref_buf->sf, ref_buf->buf->y_crop_width, in read_uncompressed_header() 2758 ref_buf->buf->y_crop_height, cm->width, cm->height); in read_uncompressed_header()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mcomp.c | 2317 uint8_t const *ref_buf, *src_buf; in vp9_int_pro_motion_estimation() local 2354 ref_buf = xd->plane[0].pre[0].buf - (bw >> 1); in vp9_int_pro_motion_estimation() 2356 vpx_int_pro_row(&hbuf[idx], ref_buf, ref_stride, bh); in vp9_int_pro_motion_estimation() 2357 ref_buf += 16; in vp9_int_pro_motion_estimation() 2360 ref_buf = xd->plane[0].pre[0].buf - (bh >> 1) * ref_stride; in vp9_int_pro_motion_estimation() 2362 vbuf[idx] = vpx_int_pro_col(ref_buf, bw) >> norm_factor; in vp9_int_pro_motion_estimation() 2363 ref_buf += ref_stride; in vp9_int_pro_motion_estimation() 2384 ref_buf = xd->plane[0].pre[0].buf + this_mv.row * ref_stride + this_mv.col; in vp9_int_pro_motion_estimation() 2385 best_sad = cpi->fn_ptr[bsize].sdf(src_buf, src_stride, ref_buf, ref_stride); in vp9_int_pro_motion_estimation() 2389 ref_buf - ref_stride, in vp9_int_pro_motion_estimation() [all …]
|
D | vp9_encoder.c | 3785 RefBuffer *const ref_buf = &cm->frame_refs[ref_frame - 1]; local 3788 ref_buf->idx = buf_idx; 3792 ref_buf->buf = buf; 3795 &ref_buf->sf, buf->y_crop_width, buf->y_crop_height, cm->width, 3798 vp9_setup_scale_factors_for_frame(&ref_buf->sf, buf->y_crop_width, 3802 if (vp9_is_scaled(&ref_buf->sf)) vpx_extend_frame_borders(buf); 3804 ref_buf->buf = NULL;
|