HomeSort by relevance Sort by last modified time
    Searched refs:img1 (Results 1 - 25 of 47) sorted by null

1 2

  /external/libvpx/libvpx/test/
util.h 22 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) {
23 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) &&
24 (img1->d_h == img2->d_h));
26 const unsigned int width_y = img1->d_w;
27 const unsigned int height_y = img1->d_h;
33 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] -
encode_test_driver.cc 127 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) {
128 bool match = (img1->fmt == img2->fmt) && (img1->cs == img2->cs) &&
129 (img1->d_w == img2->d_w) && (img1->d_h == img2->d_h);
131 const unsigned int width_y = img1->d_w;
132 const unsigned int height_y = img1->d_h;
135 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y],
140 const unsigned int width_uv = (img1->d_w + 1) >> 1
    [all...]
  /external/libvpx/libvpx/examples/
vp9cx_set_ref.c 71 static int compare_img(const vpx_image_t *const img1,
73 uint32_t l_w = img1->d_w;
74 uint32_t c_w = (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift;
76 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift;
80 match &= (img1->fmt == img2->fmt);
81 match &= (img1->d_w == img2->d_w)
    [all...]
  /external/skia/gm/
cgm.c 68 sk_image_t* img1 = sk_image_new_from_encoded(data, NULL); local
71 if (img1) {
72 sk_canvas_draw_image(canvas, img1, W/2, H/2, NULL);
73 sk_image_unref(img1);
encode-alpha-jpeg.cpp 62 sk_sp<SkImage> img1 = encode_pixmap_and_make_image(src, variable
65 canvas->drawImage(img1, 0.0f, 100.0f);
71 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack,
74 canvas->drawImage(img1, 100.0f, 100.0f);
82 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack,
85 canvas->drawImage(img1, 200.0f, 100.0f);
91 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack,
94 canvas->drawImage(img1, 300.0f, 100.0f);
  /external/skqp/gm/
cgm.c 68 sk_image_t* img1 = sk_image_new_from_encoded(data, NULL); local
71 if (img1) {
72 sk_canvas_draw_image(canvas, img1, W/2, H/2, NULL);
73 sk_image_unref(img1);
encode-alpha-jpeg.cpp 61 sk_sp<SkImage> img1 = encode_pixmap_and_make_image(src, variable
64 canvas->drawImage(img1, 0.0f, 100.0f);
70 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack,
73 canvas->drawImage(img1, 100.0f, 100.0f);
81 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack,
84 canvas->drawImage(img1, 200.0f, 100.0f);
90 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack,
93 canvas->drawImage(img1, 300.0f, 100.0f);
  /external/libvpx/libvpx/vp9/encoder/
vp9_blockiness.c 115 double vp9_get_blockiness(const uint8_t *img1, int img1_pitch,
122 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) {
126 blockiness_vertical(img1 + j, img1_pitch, img2 + j, img2_pitch, 4);
127 blockiness += blockiness_horizontal(img1 + j, img1_pitch, img2 + j,
  /external/libvpx/libvpx/vpx_dsp/
ssim.h 65 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2,
ssim.c 124 static double vpx_ssim2(const uint8_t *img1, const uint8_t *img2,
133 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
135 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
145 static double vpx_highbd_ssim2(const uint8_t *img1, const uint8_t *img2,
154 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
156 double v = highbd_ssim_8x8(CONVERT_TO_SHORTPTR(img1 + j), stride_img1,
265 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2,
267 vpx_ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r,
271 double vpx_get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2,
285 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4)
    [all...]
  /frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
ImageListViewScrollActivity.java 39 R.drawable.img1,
43 R.drawable.img1,
47 R.drawable.img1,
51 R.drawable.img1,
  /external/libvpx/libvpx/
vpxenc.c 609 static void find_mismatch_high(const vpx_image_t *const img1,
615 const uint32_t bsizey = bsize >> img1->y_chroma_shift;
616 const uint32_t bsizex = bsize >> img1->x_chroma_shift;
618 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift;
620 (img1->d_h + img1->y_chroma_shift) >> img1->y_chroma_shift;
624 plane1 = (uint16_t *)img1->planes[VPX_PLANE_Y]
    [all...]
  /external/skia/tests/
PipeTest.cpp 75 auto img1 = deserializer.readImage(data.get()); local
76 REPORTER_ASSERT(reporter, deep_equal(img.get(), img1.get()));
83 REPORTER_ASSERT(reporter, img1.get() == img2.get());
97 auto img1 = deserializer.readImage(data.get()); local
104 REPORTER_ASSERT(reporter, img1.get() == img2.get());
TextBlobTest.cpp 460 sk_sp<SkImage> img1 = render(blob1.get()); local
461 if (img0 && img1) {
462 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(img0.get(), img1.get()));
  /external/skqp/tests/
PipeTest.cpp 75 auto img1 = deserializer.readImage(data.get()); local
76 REPORTER_ASSERT(reporter, deep_equal(img.get(), img1.get()));
83 REPORTER_ASSERT(reporter, img1.get() == img2.get());
97 auto img1 = deserializer.readImage(data.get()); local
104 REPORTER_ASSERT(reporter, img1.get() == img2.get());
  /external/python/cpython2/Demo/tkinter/ttk/
roundframe.py 9 img1 = Tkinter.PhotoImage("frameFocusBorder", data="""
  /device/linaro/hikey/installer/hikey/
hisi-idt.py 227 img1 = 'fastboot1.img'
231 opts, args = getopt.getopt(argv,"hd:",["img1=","img2="])
233 print 'hisi-idt.py -d device --img1 <fastboot1> --img2 <fastboot2>'
237 print 'hisi-idt.py -d device --img1 <fastboot1> --img2 <fastboot2>'
241 elif opt in ("--img1"):
242 img1 = arg
247 print ' Image1: ', img1
251 if not os.path.isfile(img1):
252 print "Image don't exists:", img1
260 burnboot('hi3716cv200', dev, img1, img2
    [all...]
flash-all.sh 63 sudo python "${INSTALLER_DIR}"/hisi-idt.py --img1="${FIRMWARE_DIR}"/l-loader.bin -d "${DEVICE_PORT}"
  /external/libvpx/libvpx/tools/
tiny_ssim.c 260 static double ssim2(const uint8_t *img1, const uint8_t *img2, int stride_img1,
268 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
270 double v = ssim_8x8(img1 + j, stride_img1, img2 + j, stride_img2);
279 static double highbd_ssim2(const uint8_t *img1, const uint8_t *img2,
288 i += 4, img1 += stride_img1 * 4, img2 += stride_img2 * 4) {
290 double v = highbd_ssim_8x8(CONVERT_TO_SHORTPTR(img1 + j), stride_img1,
377 static void ssimv_parms(uint8_t *img1, int img1_pitch, uint8_t *img2,
379 ssim_parms_8x8(img1, img1_pitch, img2, img2_pitch, &sv->sum_s, &sv->sum_r,
383 double get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2,
397 i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4)
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/
core_validation_types.h 429 inline bool operator==(const ImageSubresourcePair &img1, const ImageSubresourcePair &img2) {
430 if (img1.image != img2.image || img1.hasSubresource != img2.hasSubresource)
432 return !img1.hasSubresource ||
433 (img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.subresource.mipLevel &&
434 img1.subresource.arrayLayer == img2.subresource.arrayLayer);
  /external/opencv/cxcore/src/
_cxipp.h 325 ( const srctype* img1, int imgstep1, \
330 ( const srctype* img1, int imgstep1, \
335 ( const srctype* img1, int imgstep1, \
354 ( const srctype* img1, int imgstep1, \
359 ( const srctype* img1, int imgstep1, \
364 ( const srctype* img1, int imgstep1, \
386 ( const srctype* img1, int imgstep1, \
392 ( const srctype* img1, int imgstep1, \
398 ( const srctype* img1, int imgstep1, \
    [all...]
  /device/linaro/hikey/factory-images/
generate-factory-images-hikey.sh 87 python hisi-idt.py --img1=l-loader.bin -d "\${DEVICE_PORT}"
  /external/vulkan-validation-layers/layers/
core_validation_types.h 516 inline bool operator==(const ImageSubresourcePair &img1, const ImageSubresourcePair &img2) {
517 if (img1.image != img2.image || img1.hasSubresource != img2.hasSubresource) return false;
518 return !img1.hasSubresource ||
519 (img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.subresource.mipLevel &&
520 img1.subresource.arrayLayer == img2.subresource.arrayLayer);
    [all...]
  /prebuilts/go/darwin-x86/src/image/jpeg/
scan.go 15 d.img1 = m.SubImage(image.Rect(0, 0, d.width, d.height)).(*image.Gray)
149 if d.img1 == nil && d.img3 == nil {
472 dst, stride = d.img1.Pix[8*(by*d.img1.Stride+bx):], d.img1.Stride
  /prebuilts/go/linux-x86/src/image/jpeg/
scan.go 15 d.img1 = m.SubImage(image.Rect(0, 0, d.width, d.height)).(*image.Gray)
149 if d.img1 == nil && d.img3 == nil {
472 dst, stride = d.img1.Pix[8*(by*d.img1.Stride+bx):], d.img1.Stride

Completed in 1226 milliseconds

1 2