Home
last modified time | relevance | path

Searched refs:offset (Results 1 - 9 of 9) sorted by relevance

/applications/sample/camera/media/
H A Dplayer_sample.cpp88 size_t offset; member
96 void OnBufferAvailable(size_t index, size_t offset, size_t size);
99 void QueueBuffer(size_t index, size_t offset, size_t size, int64_t timestampUs, uint32_t flags);
134 void StreamSourceSample::QueueBuffer(size_t index, size_t offset, size_t size, int64_t timestampUs, uint32_t flags) in QueueBuffer() argument
140 callback->QueueBuffer(index, offset, size, timestampUs, flags); in QueueBuffer()
143 void StreamSourceSample::OnBufferAvailable(size_t index, size_t offset, size_t size) in OnBufferAvailable() argument
148 buffer.offset = offset; in OnBufferAvailable()
275 readLen = fread(data + buffer.offset, 1, len, pFile); in streamProcess()
277 sample->streamSample->QueueBuffer(buffer.idx, buffer.offset, readLe in streamProcess()
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkRawfile/entry/src/main/cpp/
H A Drawfile_demo.cpp136 napi_value offset; in createJsFileDescriptor() local
137 status = napi_create_int64(env, descriptor.start, &offset); in createJsFileDescriptor()
141 status = napi_set_named_property(env, result, "offset", offset); in createJsFileDescriptor()
/applications/sample/camera/setting/setting/src/main/cpp/
H A Dwpa_work.c128 int offset = 5; in GetCurrentConnInfo() local
147 if (offset >= strlen(pos)) { in GetCurrentConnInfo()
150 pos += offset; in GetCurrentConnInfo()
161 int ssidLen = end - pos - offset; in GetCurrentConnInfo()
/applications/standard/app_samples/code/BasicFeature/Native/XComponent3D/entry/src/main/cpp/algorithm/
H A DMatrix4x4.h32 void Set(float dataIn[], int offset) in Set() argument
35 values[i] = dataIn[offset + i]; in Set()
/applications/standard/calendardata/calendarmanager/native/src/
H A Dnative_util.cpp565 const int offset = 2; in GetUTCTime() local
578 expireTime.tm_mon = (StringToInt(strTime.substr(monBase, offset)) + monRectify) % monCount; in GetUTCTime()
579 expireTime.tm_mday = StringToInt(strTime.substr(dayBase, offset)); in GetUTCTime()
581 expireTime.tm_hour = StringToInt(strTime.substr(hourBase, offset)); in GetUTCTime()
582 expireTime.tm_min = StringToInt(strTime.substr(minBase, offset)); in GetUTCTime()
583 expireTime.tm_sec = StringToInt(strTime.substr(secBase, offset)); in GetUTCTime()
/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/vulkan/
H A Dvulkan_example.cpp464 vertexInputAttributes[0].offset = offsetof(Vertex, position); in PrepareVertexInputState()
471 vertexInputAttributes[1].offset = offsetof(Vertex, color); in PrepareVertexInputState()
774 bufferInfo.offset = 0; in CreateDescriptorSets()
800 renderPassInfo.renderArea.offset = {0, 0}; in RecordCommandBuffer()
821 scissor.offset = {0, 0}; in RecordCommandBuffer()
/applications/sample/camera/gallery/src/
H A Dgallery_ability_slice.cpp185 int16_t offset = ((ROOT_VIEW_WIDTH + THUMBNAIL_SPACE) % (THUMBNAIL_RESOLUTION_X + THUMBNAIL_SPACE)) / 2; // 2: half in InitPictureList() local
186 AddAllPictures(Point { offset, 0 }, numInLine); in InitPictureList()
/applications/standard/calendardata/calendarmanager/napi/src/
H A Dnapi_util.cpp171 size_t offset = 0; in GetValue() local
173 napi_status status = napi_get_typedarray_info(env, in, &type, &length, &data, &buffer, &offset); in GetValue()
174 LOG_DEBUG("array type=%{public}d length=%{public}d offset=%{public}d", (int)type, (int)length, (int)offset); in GetValue()
/applications/standard/app_samples/code/BasicFeature/Native/NdkNativeWindow/entry/src/main/cpp/
H A DNativeImageAdaptor.cpp350 LOGD("Get offset: %{public}lu rowStride: %{public}d columnStride: %{public}d", outPlanes.planes[i].offset, in GetBufferMapPlanes()

Completed in 9 milliseconds