Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 74) sorted by relevance

123

/AliOS-Things-master/components/SDL2/test/
A Dtestspriteminimal.c100 SDL_Rect *position, *velocity; in MoveSprites() local
108 position = &positions[i]; in MoveSprites()
110 position->x += velocity->x; in MoveSprites()
111 if ((position->x < 0) || (position->x >= (window_w - sprite_w))) { in MoveSprites()
113 position->x += velocity->x; in MoveSprites()
115 position->y += velocity->y; in MoveSprites()
116 if ((position->y < 0) || (position->y >= (window_h - sprite_h))) { in MoveSprites()
118 position->y += velocity->y; in MoveSprites()
122 SDL_RenderCopy(renderer, sprite, NULL, position); in MoveSprites()
A Dtestnative.c89 SDL_Rect *position, *velocity; in MoveSprites() local
101 position = &positions[i]; in MoveSprites()
103 position->x += velocity->x; in MoveSprites()
104 if ((position->x < 0) || (position->x >= (viewport.w - sprite_w))) { in MoveSprites()
106 position->x += velocity->x; in MoveSprites()
108 position->y += velocity->y; in MoveSprites()
109 if ((position->y < 0) || (position->y >= (viewport.h - sprite_h))) { in MoveSprites()
111 position->y += velocity->y; in MoveSprites()
115 SDL_RenderCopy(renderer, sprite, NULL, position); in MoveSprites()
A Dtestsprite2.c122 SDL_Rect *position, *velocity; in MoveSprites() local
209 position = &positions[i]; in MoveSprites()
211 position->x += velocity->x; in MoveSprites()
212 if ((position->x < 0) || (position->x >= (viewport.w - sprite_w))) { in MoveSprites()
214 position->x += velocity->x; in MoveSprites()
216 position->y += velocity->y; in MoveSprites()
217 if ((position->y < 0) || (position->y >= (viewport.h - sprite_h))) { in MoveSprites()
219 position->y += velocity->y; in MoveSprites()
236 position = &positions[i]; in MoveSprites()
239 SDL_RenderCopy(renderer, sprite, NULL, position); in MoveSprites()
/AliOS-Things-master/components/SDL2/src/render/metal/
A DSDL_shaders_metal.metal8 float2 position [[attribute(0)]];
13 float4 position [[position]];
22 v.position = (projection * transform) * float4(in.position, 0.0f, 1.0f);
34 float2 position [[attribute(0)]];
40 float4 position [[position]];
49 v.position = (projection * transform) * float4(in.position, 0.0f, 1.0f);
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/
A Dtensor.h32 void Write(int position) { this->WriteN(position, 1); } in Write() argument
33 void WriteN(int position, int len) { in WriteN() argument
35 buffer_.AddString(GetString(input_, position + i)); in WriteN()
A Dportable_tensor.h109 void Write(int position) { *output_ptr_++ = input_data_[position]; } in Write() argument
110 void WriteN(int position, int len) { in WriteN() argument
111 memcpy(output_ptr_, &input_data_[position], sizeof(T) * len); in WriteN()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/profiler/
A Dinstrumentation.h59 void SetArgs(int position, int arg0) { args_[position] = arg0; } in SetArgs() argument
62 void SetArgs(int position, int arg0, Args... args) { in SetArgs() argument
63 SetArgs(position, arg0); in SetArgs()
64 SetArgs(position + 1, args...); in SetArgs()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dbackward_references_cost_enc.c322 int position, float cost) { in UpdateCost() argument
323 const int k = i - position; in UpdateCost()
428 UpdateCostPerInterval(manager, start, end, position, cost); in InsertInterval()
441 UpdateCostPerInterval(manager, start, end, position, cost); in InsertInterval()
447 interval_new->index_ = position; in InsertInterval()
473 for (j = position; j < position + len; ++j) { in PushInterval()
474 const int k = j - position; in PushInterval()
491 int start = position + cost_cache_intervals[i].start_; in PushInterval()
492 const int end = position + (cost_cache_intervals[i].end_ > len in PushInterval()
513 InsertInterval(manager, interval, cost, position, start, in PushInterval()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_wave.c1548 chunk->position = nextposition + 8; in WaveNextChunk()
1568 if (SDL_RWseek(src, chunk->position, RW_SEEK_SET) != chunk->position) { in WaveReadPartialChunkData()
1818 RIFFchunk.position = RIFFstart; in WaveLoad()
1834 RIFFchunk.position = 0; in WaveLoad()
1841 chunk->position = RIFFchunk.position + 4; in WaveLoad()
1915 Sint64 position = SDL_RWseek(src, chunk->position, RW_SEEK_SET); in WaveLoad() local
1917 … if (position == chunk->position && SDL_RWread(src, &samplelength, sizeof(Uint32), 1) == 1) { in WaveLoad()
1959 Uint64 position = (Uint64)chunk->position + chunk->length - 1; in WaveLoad() local
1960 …if (position > SDL_MAX_SINT64 || SDL_RWseek(src, (Sint64)position, RW_SEEK_SET) != (Sint64)positio… in WaveLoad()
2088 chunk->position = RIFFend; in WaveLoad()
[all …]
A DSDL_wave.h98 Sint64 position; /* Position of the data in the stream. */ member
/AliOS-Things-master/components/amp/jslib/src/
A Devents.js223 var list, events, position, i, originalListener;
247 position = -1;
252 position = i;
257 if (position < 0)
260 if (position === 0)
265 spliceOne(list, position);
/AliOS-Things-master/components/amp/libjs/lib/
A Devents.js223 var list, events, position, i, originalListener;
247 position = -1;
252 position = i;
257 if (position < 0)
260 if (position === 0)
265 spliceOne(list, position);
/AliOS-Things-master/components/uvoice/test/
A Dtest_recorder.c93 int position = 0; in uvoice_record_test() local
94 uvocrecorder->get_position(&position); in uvoice_record_test()
95 printf("progress: %d\n", position); in uvoice_record_test()
/AliOS-Things-master/solutions/miniapp_agent_demo/miniapp/pages/netCfg/
A DnetCfg.acss5 position: absolute;
15 position: relative;
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/jansson/
A Djansson_private.h78 size_t position, const char *msg, ...);
80 size_t position, const char *msg, va_list ap);
/AliOS-Things-master/components/oss/src/model/
A DAppendObjectRequest.cc40 void AppendObjectRequest::setPosition(uint64_t position) in setPosition() argument
42 position_ = position; in setPosition()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dcost_neon.c19 static const uint8_t position[16] = { 1, 2, 3, 4, 5, 6, 7, 8, variable
30 const uint8x16_t masked = vandq_u8(eob, vld1q_u8(position)); in SetResidualCoeffs_NEON()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/fs/fat/
A DFATFileHandle.h37 virtual off_t lseek(off_t position, int whence);
/AliOS-Things-master/components/SDL2/src/gfx/Docs/html/
A Djquery.js12 …le[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibi… property in AnonymousFunction3dc2ba9b2300.G
22position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixe… property in o.offset.initialize.M
53position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('<div class="ui-wrapper" style="o… class in AnonymousFunction3dc2ba9bce00
54position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=…
/AliOS-Things-master/components/uvoice/include/
A Duvoice_recorder.h34 int (*get_position)(int *position);
A Duvoice_player.h52 int (*get_position)(int *position);
/AliOS-Things-master/components/freetype/include/internal/
A Dftstream.h489 #define FT_STREAM_SEEK( position ) \ argument
491 (FT_ULong)(position) ) )
502 #define FT_STREAM_READ_AT( position, buffer, count ) \ argument
504 (FT_ULong)(position), \
/AliOS-Things-master/components/oss/include/alibabacloud/oss/model/
A DAppendObjectRequest.h36 void setPosition(uint64_t position);
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/audio/
A Dmodule_audioplayer_fibo.c195 int position = 0; in native_audioplayer_position_get() local
198 ret = position; in native_audioplayer_position_get()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/mux/
A Danim_encode.c342 size_t position) { in GetFrame() argument
343 assert(enc->start_ + position < enc->size_); in GetFrame()
344 return &enc->encoded_frames_[enc->start_ + position]; in GetFrame()
930 const size_t position = enc->count_ - 2; in SetPreviousDisposeMethod() local
931 EncodedFrame* const prev_enc_frame = GetFrame(enc, position); in SetPreviousDisposeMethod()
947 const size_t position = enc->count_ - 1; in IncreasePreviousDuration() local
948 EncodedFrame* const prev_enc_frame = GetFrame(enc, position); in IncreasePreviousDuration()
1201 const size_t position = enc->count_; in CacheFrame() local
1202 EncodedFrame* const encoded_frame = GetFrame(enc, position); in CacheFrame()
1210 assert(position == 0 && enc->count_ == 1); in CacheFrame()
[all …]

Completed in 99 milliseconds

123