Searched refs:encBuf (Results 1 - 2 of 2) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/ |
H A D | a2dp_encoder_sbc.cpp | 503 Buffer *encBuf = BufferMalloc(encoded); in A2dpSbcEncodeFrames() local 504 if (memcpy_s(BufferPtr(encBuf), encoded, outputBuf, encoded) != EOK) { in A2dpSbcEncodeFrames() 505 BufferFree(encBuf); in A2dpSbcEncodeFrames() 509 PacketPayloadAddLast(pkt, encBuf); in A2dpSbcEncodeFrames() 510 BufferFree(encBuf); in A2dpSbcEncodeFrames() 594 Buffer *encBuf = BufferMalloc(encoded); in EnqueuePacketFragment() local 595 if (memcpy_s(BufferPtr(encBuf), encoded, bufferFra, encoded) != EOK) { in EnqueuePacketFragment() 599 PacketPayloadAddLast(mediaPacket, encBuf); in EnqueuePacketFragment() 600 BufferFree(encBuf); in EnqueuePacketFragment()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_profile.cpp | 877 Buffer *encBuf = BufferMalloc(CODEC_LENGTH); in WriteStream() local 878 (void)memcpy_s(BufferPtr(encBuf), CODEC_LENGTH, codecInfo, CODEC_LENGTH); in WriteStream() 879 PacketPayloadAddLast(pkt, encBuf); in WriteStream()
|
Completed in 4 milliseconds