Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 10 of 10) sorted by relevance

/system/extras/tests/framebuffer/
Dfb_test.c35 int stride; member
98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
209 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in draw_grid() local
216 loc[i + j*(stride)] = red; in draw_grid()
218 loc32[i + j*(stride)] = red32; in draw_grid()
221 loc[i + j*(stride)] = green; in draw_grid()
223 loc32[i + j*(stride)] = green32; in draw_grid()
229 loc[i + j*(stride)] = blue; in draw_grid()
231 loc32[i + j*(stride)] = blue32; in draw_grid()
[all …]
/system/media/audio_utils/include/audio_utils/
DBiquadFilter.h98 DEST& dest, size_t offset, size_t stride, size_t channelCount, const T& coef) { in setCoefficients() argument
103 dest[i * stride + offset + j] = lcoef[i]; in setCoefficients()
113 void biquad_filter_1fast(D *out, const D *in, size_t frames, size_t stride, in biquad_filter_1fast() argument
154 input += stride; in biquad_filter_1fast()
157 output += stride; in biquad_filter_1fast()
172 void zeroChannels(D *out, size_t frames, size_t stride, size_t channelCount) { in zeroChannels() argument
173 if (stride == channelCount) { in zeroChannels()
178 out += stride; in zeroChannels()
184 void biquad_filter_fast(D *out, const D *in, size_t frames, size_t stride, in biquad_filter_fast() argument
187 zeroChannels(out, frames, stride, channelCount); in biquad_filter_fast()
[all …]
/system/media/audio_utils/tests/
Dbiquad_filter_tests.cpp56 const size_t stride = channelCount + zeroChannels; in populateBuffer() local
60 buffer[i * stride + j] = singleChannelBuffer[i]; in populateBuffer()
62 for (; j < stride; ++j) { in populateBuffer()
63 buffer[i * stride + j] = D{}; in populateBuffer()
109 const size_t stride = channelCount + zeroChannels; in testProcess() local
110 const size_t sampleCount = FRAME_COUNT * stride; in testProcess()
122 filter.process(outputBuffer, inputBuffer[i], FRAME_COUNT, stride); in testProcess()
130 filter.process(outputBuffer, inputBuffer[0], FRAME_COUNT, stride); in testProcess()
/system/bt/hci/test/
Dpacket_fragmenter_host_test.cc362 const size_t stride = 2; in TEST_F() local
365 const std::vector<uint8_t> first_part(data.cbegin(), data.cbegin() + stride); in TEST_F()
369 for (size_t i = 2; i < packet_size - stride; i += stride) { in TEST_F()
371 data.cbegin() + i + stride); in TEST_F()
377 const std::vector<uint8_t> last_part(data.cbegin() + packet_size - stride, in TEST_F()
/system/extras/ext4_utils/
Dmkuserimg_mke2fs.py171 stride = max(int(args.flash_logical_block_size), 8192)
172 mke2fs_extended_opts.append("stride={}".format(stride / BLOCKSIZE))
/system/core/fs_mgr/libsnapshot/
Dsnapuserd_worker.cpp403 uint32_t stride = exceptions_per_area_ + 1; in ReadDiskExceptions() local
408 lldiv_t divresult = lldiv(chunk, stride); in ReadDiskExceptions()
558 uint32_t stride = exceptions_per_area_ + 1; in ProcessMergeComplete() local
564 lldiv_t divresult = lldiv(chunk, stride); in ProcessMergeComplete()
Dsnapuserd.cpp250 uint32_t stride = exceptions_per_area_ + 1; in IsChunkIdMetadata() local
251 lldiv_t divresult = lldiv(chunk, stride); in IsChunkIdMetadata()
/system/tools/mkbootimg/
Dunpack_bootimg.py325 stride = 4
326 for row_idx in range(0, len(board_id), stride):
327 row = board_id[row_idx:row_idx + stride]
/system/tools/hidl/c2hal/test/
Dtest.h142 const int stride; member
/system/memory/libion/
Dion_test.c39 size_t stride; variable