Home
last modified time | relevance | path

Searched refs:szBytes (Results 1 – 5 of 5) sorted by relevance

/device/generic/goldfish/audio/
Ddevice_port_sink.cpp112 const size_t szBytes = szFrames * mFrameSize; in write() local
113 LOG_ALWAYS_FATAL_IF(reader(produceChunk.data, szBytes) < szBytes); in write()
117 szBytes / sizeof(int16_t)); in write()
119 LOG_ALWAYS_FATAL_IF(mRingBuffer.produce(szBytes) < szBytes); in write()
121 bytesToWrite -= szBytes; in write()
136 const size_t szBytes = szFrames * mFrameSize; in write() local
137 LOG_ALWAYS_FATAL_IF(reader(produceChunk.data, szBytes) < szBytes); in write()
141 szBytes / sizeof(int16_t)); in write()
143 LOG_ALWAYS_FATAL_IF(mRingBuffer.produce(szBytes) < szBytes); in write()
145 bytesToWrite -= szBytes; in write()
[all …]
Diwriter.h28 virtual size_t operator()(const void* src, size_t szBytes) = 0;
Direader.h28 virtual size_t operator()(void* dst, size_t szBytes) = 0;
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DMediaH264Decoder.cpp101 h264_result_t MediaH264Decoder::decodeFrame(uint8_t* img, size_t szBytes, uint64_t pts) { in decodeFrame() argument
110 if (img != nullptr && szBytes > 0) { in decodeFrame()
111 memcpy(hostSrc, img, szBytes); in decodeFrame()
115 transport->writeParam((uint64_t)szBytes, 2, mAddressOffSet); in decodeFrame()
DMediaH264Decoder.h87 h264_result_t decodeFrame(uint8_t* img, size_t szBytes, uint64_t pts);