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

1 2 3 4 5 6 7 8 91011>>

  /external/adhd/cras/src/tests/
shm_unittest.cc 19 shm_.area =
21 calloc(1, sizeof(*shm_.area) + 2048));
24 memcpy(&shm_.area->config, &shm_.config, sizeof(shm_.config));
30 free(shm_.area);
43 EXPECT_EQ(0, shm_.area->read_offset[0]);
48 shm_.area->write_offset[0] = 100 * shm_.area->config.frame_bytes;
51 EXPECT_EQ(shm_.area->samples, buf_);
53 EXPECT_EQ((frames_ - 9) * shm_.config.frame_bytes, shm_.area->read_offset[0]);
55 EXPECT_EQ(0, shm_.area->read_offset[0])
    [all...]
cras_client_unittest.cc 53 shm->area = static_cast<cras_audio_shm_area*>(
54 calloc(1, sizeof(*shm->area)));
57 memcpy(&shm->area->config, &shm->config, sizeof(shm->config));
61 if (shm->area) {
62 free(shm->area);
63 shm->area = NULL;
134 shm->area->write_buf_idx = 0;
135 shm->area->read_buf_idx = 0;
136 shm->area->write_offset[0] = 480 * 4;
137 shm->area->read_offset[0] = 0
176 struct cras_audio_shm_area area; local
229 struct cras_audio_shm_area area; local
    [all...]
  /external/adhd/cras/src/common/
cras_shm.h 19 /* Configuration of the shm area.
21 * used_size - The size in bytes of the sample area being actively used.
46 * samples - Audio data - a double buffered area that is used to exchange
64 /* Structure that holds the config for and a pointer to the audio shm area.
67 * area - Acutal shm region that is shared.
71 struct cras_audio_shm_area *area; member in struct:cras_audio_shm
80 return shm->area->samples + shm->config.used_size * idx;
113 unsigned i = shm->area->read_buf_idx & CRAS_SHM_BUFFERS_MASK;
117 cras_shm_check_read_offset(shm, shm->area->read_offset[i]);
119 cras_shm_check_write_offset(shm, shm->area->write_offset[i])
346 struct cras_audio_shm_area *area = shm->area; local
377 struct cras_audio_shm_area *area = shm->area; local
    [all...]
  /external/adhd/cras/src/server/
cras_audio_area.c 15 struct cras_audio_area *area; local
18 sz = sizeof(*area) + num_channels * sizeof(struct cras_channel_area);
19 area = calloc(1, sz);
20 area->num_channels = num_channels;
22 return area;
62 void cras_audio_area_destroy(struct cras_audio_area *area)
64 free(area);
67 void cras_audio_area_config_channels(struct cras_audio_area *area,
80 channel_area_set_channel(area->channels, CRAS_CH_FL);
81 channel_area_set_channel(area->channels, CRAS_CH_FR)
    [all...]
cras_audio_area.h 14 * Descriptor of the memory area holding a channel of audio.
16 * ch_set - Bit set of channels this channel area could map to.
18 * buf - A pointer to the start address of this area.
27 * Descriptor of the memory area that provides various access to audio channels.
30 * num_channels - The number of channels in the audio area.
40 * Sets the channel bit for a channel area.
42 * ca - the channel area to set channel bit set.
43 * channel - the channel bit to add to the channel area.
55 * num_channels - The number of channels in the audio area.
62 * dst - The destination audio area
    [all...]
input_data.h 19 * area - The audio area used for deinterleaved data copy.
25 struct cras_audio_area *area; member in struct:input_data
44 * Gets an audio area for |stream| to read data from. An input_data may be
49 * data - The input data to get audio area from.
53 * area - To be filled with a pointer to an audio area struct for stream to
55 * offset - To be filled with the samples offset in |area| that |stream|
62 struct cras_audio_area **area,
  /external/dng_sdk/source/
dng_tile_iterator.h 55 const dng_rect &area);
58 const dng_rect &area);
61 const dng_rect &area);
68 const dng_rect &area);
dng_image.h 278 /// Copy image data from an area of one image to same area of another.
280 /// \param area Rectangle of images to copy.
286 const dng_rect &area,
291 /// Copy image data from an area of one image to same area of another.
293 /// \param area Rectangle of images to copy.
298 const dng_rect &area,
303 CopyArea (src, area, plane, plane, planes);
307 /// Return true if the contents of an area of the image are the same as those of another
    [all...]
dng_tile_iterator.cpp 27 const dng_rect &area)
45 area & image.Bounds ());
52 const dng_rect &area)
69 dng_rect tile (area);
75 area);
82 const dng_rect &area)
100 area);
107 const dng_rect &area)
110 fArea = area;
112 if (area.IsEmpty ()
    [all...]
dng_area_task.cpp 97 dng_point dng_area_task::FindTileSize (const dng_rect &area) const
106 repeatingTile1 = area;
111 repeatingTile2 = area;
116 repeatingTile3 = area;
137 // repeat area. This makes the areas more equal in size, making MP
186 const dng_rect &area,
197 repeatingTile1 = area;
202 repeatingTile2 = area;
207 repeatingTile3 = area;
212 dng_tile_iterator iter1 (repeatingTile3, area);
    [all...]
dng_area_task.h 61 /// Getter for minimum area of a partitioned rectangle.
64 /// area for partitioning. Default is 256x256 pixels.
66 /// \retval Minimum area for a partitoned tile in order to give performant operation. (Partitions can be smaller due to small inputs and edge cases.)
88 /// \retval Maximum tile size allowed for this area task.
138 /// Process one tile or fully partitioned area.
145 /// \param tile Area to process.
160 /// \param area Computation area for which to find tile size.
163 dng_point FindTileSize (const dng_rect &area) const;
166 /// Called after thread partitioning has already been done. Area may be further subdivided to handle maximum tile size, etc
    [all...]
  /external/ImageMagick/www/source/
analyze.c 89 area,
146 area=0.0;
182 area++;
187 if (area <= 0.0)
189 brightness_mean=brightness_sum_x/area;
192 brightness_standard_deviation=sqrt(brightness_sum_x2/area-(brightness_sum_x/
193 area*brightness_sum_x/area));
198 brightness_kurtosis=(brightness_sum_x4/area-4.0*brightness_mean*
199 brightness_sum_x3/area+6.0*brightness_mean*brightness_mean
87 area, local
    [all...]
  /external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
BoundingBox.java 27 // The area of the box
28 public float area; field in class:BoundingBox
43 // -1 stands for area not initialized
44 this.area = -1;
47 // The intersection area of two bounding boxes
53 // The union area of two bounding boxes
59 if (area < 0) {
60 area = (x2 - x1) * (y2 - y1);
62 return area;
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
RegionVerifier.java 47 Rect area = subRegionVerifier.region.getBounds(); local
49 subRegionVerifier.verifier, area);
52 Rect area = new Rect(); local
53 while (iter.next(area)) {
55 subRegionVerifier.verifier, area);
68 public RegionVerifier addVerifier(Rect area, BitmapVerifier verifier) {
69 return addVerifier(new Region(area), verifier);
72 public RegionVerifier addVerifier(Region area, BitmapVerifier verifier) {
73 mRegionVerifiers.add(new SubRegionVerifiers(area, verifier));
  /external/ImageMagick/filters/
analyze.c 89 area,
146 area=0.0;
179 area++;
184 if (area <= 0.0)
186 brightness_mean=brightness_sum_x/area;
190 brightness_standard_deviation=sqrt(brightness_sum_x2/area-(brightness_sum_x/
191 area*brightness_sum_x/area));
197 brightness_kurtosis=(brightness_sum_x4/area-4.0*brightness_mean*
198 brightness_sum_x3/area+6.0*brightness_mean*brightness_mean
87 area, local
    [all...]
  /external/ImageMagick/Magick++/lib/Magick++/
ResourceLimits.h 21 static void area(const MagickSizeType limit_);
22 static MagickSizeType area(void);
  /external/fonttools/Lib/fontTools/pens/
statisticsPen.py 1 """Pen calculating area, center of mass, variance and standard-deviation,
13 """Pen calculating area, center of mass, variance and
19 (but well-defined). As such, area will be negative if contour
44 area = self.area
45 if not area:
51 self.meanX = meanX = self.momentX / area
52 self.meanY = meanY = self.momentY / area
55 self.varianceX = varianceX = self.momentXX / area - meanX**2
56 self.varianceY = varianceY = self.momentYY / area - meanY**
    [all...]
  /external/libxcam/modules/ocl/
cl_blender.cpp 73 CLBlender::set_input_merge_area (const Rect &area, uint32_t index)
75 Rect tmp_area = area;
82 XCAM_ASSERT (fabs((int32_t)(area.width - get_merge_window ().width)) < XCAM_CL_BLENDER_ALIGNMENT_X);
133 Rect area; local
134 area.width = in0_info.width;
135 area.height = in0_info.height;
136 set_input_valid_area (area, 0);
139 Rect area; local
140 area.width = in1_info.width;
141 area.height = in1_info.height
157 Rect area; local
    [all...]
  /external/tensorflow/tensorflow/examples/android/jni/object_tracking/
sprite.h 38 Sprite(const Image<uint8_t>& image, const BoundingBox* const area) {
39 LoadTexture(image, area);
105 const BoundingBox* const area) {
115 if (area != NULL) {
117 left = area->left_;
118 top = area->top_;
119 actual_width_ = area->GetWidth();
120 actual_height_ = area->GetHeight();
  /external/vboot_reference/futility/
traversal.c 107 {"GBB Area", CB_FMAP_GBB},
116 const struct bios_area_s *area)
119 for (; area->name; area++)
120 if (!fmap_find_by_name(buf, len, fmap, area->name, 0))
203 const struct bios_area_s *area; local
224 for (area = bios_area; area->name; area++) {
226 fmap_find_by_name(buf, len, fmap, area->name, &ah)
    [all...]
  /external/ImageMagick/MagickCore/
vision.h 40 area, member in struct:_CCObjectInfo
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
InfoDialog.java 28 protected TextArea area; field in class:InfoDialog
33 return area;
48 area = new TextArea(message, 8, 80, TextArea.SCROLLBARS_VERTICAL_ONLY);
49 this.add("Center", area);
  /external/iproute2/lib/
dnet_pton.c 42 u_int16_t area = 0; local
46 pos = dnet_num(src, &area);
47 if ((pos == 0) || (area > 63) || (*(src + pos) != '.'))
53 addr = dn_htons((area << 10) | node);
  /cts/tests/tests/media/src/android/media/cts/
CodecUtils.java 135 CodecImage image, Rect area, int y, int u, int v);
137 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) {
138 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); local
141 public native static long[] getRawStats(CodecImage image, Rect area);
143 public static long[] getRawStats(Image image, Rect area) {
144 return getRawStats(ImageWrapper.createFromImage(image), area);
147 public native static float[] getYUVStats(CodecImage image, Rect area);
149 public static float[] getYUVStats(Image image, Rect area) {
150 return getYUVStats(ImageWrapper.createFromImage(image), area);
  /external/u-boot/board/micronas/vct/
ebi_onenand.c 124 static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area)
129 if (area == ONENAND_DATARAM)
131 if (area == ONENAND_SPARERAM)
138 static int ebi_read_bufferram(struct mtd_info *mtd, loff_t addr, int area,
145 bufferram = this->base + area;
146 bufferram += onenand_bufferram_offset(mtd, area);
156 static int ebi_write_bufferram(struct mtd_info *mtd, loff_t addr, int area,
163 bufferram = this->base + area;
164 bufferram += onenand_bufferram_offset(mtd, area);

Completed in 2449 milliseconds

1 2 3 4 5 6 7 8 91011>>