Home
last modified time | relevance | path

Searched refs:x_offset (Results 1 – 25 of 34) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/demux/
A Danim_decode.c154 static void ZeroFillFrameRect(uint8_t* buf, int buf_stride, int x_offset, in ZeroFillFrameRect() argument
158 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect()
282 const int src_max_x = src->x_offset + src->width; in FindBlendRangeAtRow()
283 const int dst_max_x = dst->x_offset + dst->width; in FindBlendRangeAtRow()
292 src->x_offset >= dst_max_x || src_max_x <= dst->x_offset) { in FindBlendRangeAtRow()
293 *left1 = src->x_offset; in FindBlendRangeAtRow()
298 if (src->x_offset < dst->x_offset) { in FindBlendRangeAtRow()
299 *left1 = src->x_offset; in FindBlendRangeAtRow()
300 *width1 = dst->x_offset - src->x_offset; in FindBlendRangeAtRow()
350 (iter.y_offset * width + iter.x_offset) * NUM_CHANNELS; in WebPAnimDecoderGetNext()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/mux/
A Dmuxedit.c110 PutLE24(frame_bytes + 0, info->x_offset / 2); in CreateFrameData()
298 tmp.x_offset &= ~1; // Snap offsets to even. in WebPMuxPushFrame()
300 if (tmp.x_offset < 0 || tmp.x_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame()
392 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo() argument
399 *x_offset = 2 * GetLE24(data->bytes + 0); in GetFrameInfo()
406 int* const x_offset, int* const y_offset, in GetImageInfo() argument
415 err = GetFrameInfo(frame_chunk, x_offset, y_offset, duration); in GetImageInfo()
441 int x_offset = 0, y_offset = 0, duration = 0, w = 0, h = 0; in GetAdjustedCanvasSize() local
442 const WebPMuxError err = GetImageInfo(wpi, &x_offset, &y_offset, in GetAdjustedCanvasSize()
444 const int max_x_pos = x_offset + w; in GetAdjustedCanvasSize()
[all …]
A Danimi.h36 int is_lossless, float quality, int* const x_offset, int* const y_offset,
A Danim_encode.c596 int is_lossless, float quality, int* const x_offset, int* const y_offset, in WebPAnimEncoderRefineRect() argument
599 const int right = clip(*x_offset + *width, 0, curr_canvas->width); in WebPAnimEncoderRefineRect()
600 const int left = clip(*x_offset, 0, curr_canvas->width - 1); in WebPAnimEncoderRefineRect()
616 *x_offset = rect.x_offset_; in WebPAnimEncoderRefineRect()
800 candidate->info_.x_offset = rect->x_offset_; in EncodeCandidate()
985 curr_enc_frame->sub_frame_.x_offset = 0; in IncreasePreviousDuration()
1311 info->x_offset, info->y_offset, info->dispose_method, in FlushFrames()
1428 if (!WebPPictureView(canvas, frame->x_offset, frame->y_offset, in DecodeFrameOntoCanvas()
A Dmuxread.c448 info->x_offset = 0; in MuxGetImageInternal()
468 frame->x_offset = 2 * GetLE24(frame_data->bytes + 0); in MuxGetFrameInternal()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dgifdec.c132 if (!WebPPictureView(picture, rect.x_offset, rect.y_offset, in GIFReadFrame()
135 rect.width, rect.height, rect.x_offset, rect.y_offset); in GIFReadFrame()
249 ClearRectangle(pic, rect->x_offset, rect->y_offset, in GIFClearPic()
268 const uint32_t* const src = prev_canvas->argb + rect->x_offset in GIFDisposeFrame()
271 uint32_t* const dst = curr_canvas->argb + rect->x_offset in GIFDisposeFrame()
287 for (i = rect->x_offset; i < rect->x_offset + rect->width; ++i) { in GIFBlendFrames()
A Dvwebp.c98 prev->x_offset = prev->y_offset = 0; in ClearPreviousFrame()
365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay()
378 DrawBackgroundScissored(prev->x_offset, prev->y_offset, prev->width, in HandleDisplay()
384 DrawBackgroundScissored(curr->x_offset, curr->y_offset, curr->width, in HandleDisplay()
405 if (curr->x_offset != 0 || curr->y_offset != 0) { in HandleDisplay()
407 curr->x_offset, curr->y_offset); in HandleDisplay()
A Dgifdec.h49 int x_offset, y_offset, width, height; member
A Dwebpmux.c238 frame.x_offset, frame.y_offset); in DisplayInfo()
380 if ((info->x_offset | info->y_offset) & 1) { in WarnAboutOddOffset()
382 " (%d, %d) -> (%d, %d)\n", info->x_offset, info->y_offset, in WarnAboutOddOffset()
383 info->x_offset & ~1, info->y_offset & ~1); in WarnAboutOddOffset()
475 &info->x_offset, &info->y_offset, &dispose_method, in ParseFrameArgs()
479 info->x_offset = info->y_offset = 0; // fall through in ParseFrameArgs()
A Danim_util.c101 static void ZeroFillFrameRect(uint8_t* rgba, int rgba_stride, int x_offset, in ZeroFillFrameRect() argument
105 rgba += y_offset * rgba_stride + x_offset * kNumChannels; in ZeroFillFrameRect()
121 int x_offset, int y_offset, in CopyFrameRectangle() argument
125 const size_t offset = y_offset * stride + x_offset * kNumChannels; in CopyFrameRectangle()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/examples/
A Dsimpleover.c103 sprite_op(const struct sprite *sprite, int x_offset, int y_offset, in sprite_op() argument
116 (x_offset < 0 || (unsigned)/*SAFE*/x_offset < sprite->width)) in sprite_op()
127 if (x_offset < 0) in sprite_op()
128 x = -x_offset; in sprite_op()
142 ((y+y_offset) * sprite->width + (x+x_offset))*4; in sprite_op()
/AliOS-Things-master/components/freetype/src/sfnt/
A Dpngshim.c179 FT_Int x_offset, in Load_SBit_Png() argument
201 if ( x_offset < 0 || in Load_SBit_Png()
209 ( x_offset + metrics->width > map->width || in Load_SBit_Png()
350 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4; in Load_SBit_Png()
A Dpngshim.h33 FT_Int x_offset,
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_mag_qst_qmc5883l.c167 float x_offset, y_offset, z_offset; in qmc5883l_readHeading() local
186 x_offset = (x_max + x_min) / 2.0; in qmc5883l_readHeading()
190 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min); in qmc5883l_readHeading()
A Ddrv_mag_qst_qmc6310.c219 float x_offset, y_offset, z_offset; in qmc6310_readHeading() local
260 x_offset = (x_max + x_min) / 2.0; in qmc6310_readHeading()
264 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min); in qmc6310_readHeading()
/AliOS-Things-master/components/amp/modules/
A Dqlc5883.js294 var x_offset, y_offset, z_offset;
319 x_offset = (x_max + x_min) / 2.0;
323 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min);
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/compass/
A Dcompass.md239 对于部分器件,可能存在不同轴灵敏度不一致的情况,我们可以通过如下公式将三个轴缩放到同一个尺度。其中,x_min,x_max 等代表数据边界,x_offset 等代表修正的数据球心。
252 float x_offset, y_offset, z_offset; // 球心坐标偏移
271 x_offset = (x_max + x_min) / 2.0;
276 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min);
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpnginfo.h173 png_int_32 x_offset; /* x offset on page */ member
/AliOS-Things-master/components/py_engine/framework/
A Dqmc5883.py289 x_offset = (x_max + x_min) / 2.0;
293 x_fit = (x_org - x_offset) * 1000.0 / (x_max - x_min);
/AliOS-Things-master/components/freetype/src/bdf/
A Dbdf.h137 short x_offset; member
A Dbdflib.c1849 glyph->bbx.x_offset = _bdf_atos( p->list.field[3], 0, 10 ); in _bdf_parse_glyphs()
1861 p->rbearing = (short)( glyph->bbx.width + glyph->bbx.x_offset ); in _bdf_parse_glyphs()
1864 p->minlb = (short)FT_MIN( glyph->bbx.x_offset, p->minlb ); in _bdf_parse_glyphs()
1865 p->maxlb = (short)FT_MAX( glyph->bbx.x_offset, p->maxlb ); in _bdf_parse_glyphs()
2211 p->font->bbx.x_offset = _bdf_atos( p->list.field[3], 0, 10 ); in _bdf_parse_start()
2427 if ( p->font->bbx.x_offset != p->minlb ) in bdf_load_font()
2430 p->font->bbx.x_offset, p->minlb )); in bdf_load_font()
2431 p->font->bbx.x_offset = p->minlb; in bdf_load_font()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/
A Ddemux.h146 int x_offset, y_offset; // offset relative to the canvas. member
A Dmux.h202 int x_offset; // x-offset of the frame. member
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/
A Ddemux.h146 int x_offset, y_offset; // offset relative to the canvas. member
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/
A Ddemux.h146 int x_offset, y_offset; // offset relative to the canvas. member

Completed in 37 milliseconds

12