Home
last modified time | relevance | path

Searched refs:d_h (Results 1 – 23 of 23) sorted by relevance

/external/libvpx/libvpx/vpx/src/
Dvpx_image.c19 unsigned int d_w, unsigned int d_h, in img_alloc_helper() argument
94 h = d_h; in img_alloc_helper()
118 h = (d_h + align) & ~align; in img_alloc_helper()
147 if (!vpx_img_set_rect(img, 0, 0, d_w, d_h)) return img; in img_alloc_helper()
155 unsigned int d_w, unsigned int d_h, in vpx_img_alloc() argument
157 return img_alloc_helper(img, fmt, d_w, d_h, align, align, NULL); in vpx_img_alloc()
161 unsigned int d_h, unsigned int stride_align, in vpx_img_wrap() argument
165 return img_alloc_helper(img, fmt, d_w, d_h, 1, stride_align, img_data); in vpx_img_wrap()
174 img->d_h = h; in vpx_img_set_rect()
225 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; in vpx_img_flip()
[all …]
/external/libvpx/libvpx/
Dtools_common.c214 return (img->d_h + 1) >> img->y_chroma_shift; in vpx_img_plane_height()
216 return img->d_h; in vpx_img_plane_height()
276 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in highbd_img_upshift()
291 int h = src->d_h; in highbd_img_upshift()
312 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in lowbd_img_upshift()
327 int h = src->d_h; in lowbd_img_upshift()
355 dst->d_h != src->d_h || dst->x_chroma_shift != src->x_chroma_shift || in vpx_img_truncate_16_to_8()
368 int h = src->d_h; in vpx_img_truncate_16_to_8()
388 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in highbd_img_downshift()
403 int h = src->d_h; in highbd_img_downshift()
[all …]
Dvpxdec.c138 src->d_w, src->d_h, (uint16_t *)dst->planes[VPX_PLANE_Y], in libyuv_scale()
141 dst->stride[VPX_PLANE_V] / 2, dst->d_w, dst->d_h, mode); in libyuv_scale()
149 src->d_h, dst->planes[VPX_PLANE_Y], dst->stride[VPX_PLANE_Y], in libyuv_scale()
152 dst->d_h, mode); in libyuv_scale()
394 unsigned int d_w, unsigned int d_h, in generate_filename() argument
409 case 'h': snprintf(q, q_len - 1, "%d", d_h); break; in generate_filename()
482 return img->d_w != shifted->d_w || img->d_h != shifted->d_h || in img_shifted_realloc_required()
872 render_height = img->d_h; in main_loop()
883 if (img->d_w != scaled_img->d_w || img->d_h != scaled_img->d_h) { in main_loop()
915 vpx_img_alloc(NULL, shifted_fmt, img->d_w, img->d_h, 16); in main_loop()
[all …]
Dvpxenc.c599 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch_high()
607 for (i = 0, match = 1; match && i < img1->d_h; i += bsize) { in find_mismatch_high()
610 const int si = mmin(i + bsize, img1->d_h) - i; in find_mismatch_high()
691 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch()
695 for (i = 0, match = 1; match && i < img1->d_h; i += bsize) { in find_mismatch()
698 const int si = mmin(i + bsize, img1->d_h) - i; in find_mismatch()
777 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in compare_img()
783 match &= (img1->d_h == img2->d_h); in compare_img()
791 for (i = 0; i < img1->d_h; ++i) in compare_img()
1576 (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame()
[all …]
Dy4minput.c1115 _img->h = _img->d_h = _y4m->pic_h; in y4m_input_fetch_frame()
/external/libvpx/libvpx/test/
Dencode_test_driver.cc29 cfg_.g_h = img->d_h; in InitEncoder()
77 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
79 cfg_.g_h = img->d_h; in EncodeFrameInternal()
129 (img1->d_w == img2->d_w) && (img1->d_h == img2->d_h); in compare_img()
132 const unsigned int height_y = img1->d_h; in compare_img()
141 const unsigned int height_uv = (img1->d_h + 1) >> 1; in compare_img()
Dutil.h24 (img1->d_h == img2->d_h)); in compute_psnr()
27 const unsigned int height_y = img1->d_h; in compute_psnr()
Dmd5_helper.h32 plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift in Add()
33 : img->d_h; in Add()
Dy4m_test.cc64 (plane ? (img->d_h + img->y_chroma_shift) >> img->y_chroma_shift in write_image_file()
65 : img->d_h); in write_image_file()
97 ASSERT_EQ(img()->d_h, kHeight); in HeaderChecks()
Dactive_map_refresh_test.cc25 int r_top = std::min(r + 16, static_cast<int>(current.d_h)); in CheckMb()
86 const int height = static_cast<int>(current->d_h); in PreEncodeFrameHook()
Ddecode_svc_test.cc39 ASSERT_EQ(img.d_h, height_); in DecompressedFrameHook()
Dresize_test.cc282 frame_info_list_.push_back(FrameInfo(pts, img.d_w, img.d_h)); in DecompressedFrameHook()
458 frame_info_list_.push_back(FrameInfo(pts, img.d_w, img.d_h)); in DecompressedFrameHook()
/external/libvpx/libvpx/vpx/
Dvpx_image.h100 unsigned int d_h; /**< Displayed image height */ member
161 unsigned int d_w, unsigned int d_h,
184 unsigned int d_h, unsigned int align,
/external/libvpx/libvpx/examples/
Ddecode_to_md5.c54 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h; in get_image_md5()
120 fprintf(outfile, " img-%dx%d-%04d.i420\n", img->d_w, img->d_h, in main()
Dvp9cx_set_ref.c76 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in compare_img()
82 match &= (img1->d_h == img2->d_h); in compare_img()
84 for (i = 0; i < img1->d_h; ++i) in compare_img()
112 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift; in find_mismatch()
116 for (i = 0, match = 1; match && i < img1->d_h; i += bsize) { in find_mismatch()
119 const int si = mmin(i + bsize, img1->d_h) - i; in find_mismatch()
Dvp8_multi_resolution_encoder.c86 int h = (plane ? (1 + img->d_h) / 2 : img->d_h); in read_frame_by_row()
554 raw[i - 1].d_w, raw[i - 1].d_h, raw[i].planes[VPX_PLANE_Y], in main()
557 raw[i].stride[VPX_PLANE_V], raw[i].d_w, raw[i].d_h, 1); in main()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h45 img->d_h = yv12->y_crop_height; in yuvconfig2image()
88 yv12->y_crop_height = img->d_h; in image2yuvconfig()
92 yv12->y_height = img->d_h; in image2yuvconfig()
Dvp9_cx_iface.c377 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h) in validate_img()
/external/clang/test/SemaCUDA/
Dfunction-overload.cu208 struct d_h { struct
209 ~d_h() {} // expected-note {{previous declaration is here}} in ~d_h() argument
210 __host__ ~d_h() {} // expected-error {{destructor cannot be redeclared}} in ~d_h() argument
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc739 RTC_DCHECK_EQ(input_image.height(), static_cast<int>(raw_images_[0].d_h)); in Encode()
763 raw_images_[i - 1].d_h, raw_images_[i].planes[VPX_PLANE_Y], in Encode()
767 raw_images_[i].d_h, libyuv::kFilterBilinear); in Encode()
913 raw_images_[0].d_h = codec_.height; in UpdateCodecFrameSize()
1336 last_frame_height_ = img->d_h; in ReturnFrame()
1338 VideoFrame decoded_image(buffer_pool_.CreateBuffer(img->d_w, img->d_h), in ReturnFrame()
1346 img->d_w, img->d_h); in ReturnFrame()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c211 img->d_h = img->r_h = yv12->y_height; in yuvconfig2image()
480 const int y_h = img->d_h; in image2yuvconfig()
482 const int uv_h = (img->d_h + 1) / 2; in image2yuvconfig()
Dvp8_cx_iface.c268 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h)) in validate_img()
688 const int y_h = img->d_h; in image2yuvconfig()
690 const int uv_h = (img->d_h + 1) / 2; in image2yuvconfig()
1061 ctx->preview_img.d_h = sd.y_height; in vp8e_get_preview()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc493 RTC_DCHECK_EQ(input_image.height(), static_cast<int>(raw_->d_h)); in Encode()
693 encoded_image_._encodedHeight = raw_->d_h; in GetEncodedLayerFrame()
945 img->d_w, img->d_h, img->planes[VPX_PLANE_Y], in ReturnFrame()