Searched refs:rstFrame (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_frame.c | 311 RstFrame *rstFrame = (RstFrame *)buffer; in EncodeRstFrame() local 319 rstFrame->header.type = NSTACKX_DFILE_RST_FRAME; in EncodeRstFrame() 320 rstFrame->header.flag = 0; in EncodeRstFrame() 321 rstFrame->header.sessionId = 0; in EncodeRstFrame() 322 rstFrame->header.transId = htons(transId); in EncodeRstFrame() 323 rstFrame->code = htons(errCode); in EncodeRstFrame() 324 rstFrame->header.length = htons(payloadLength); in EncodeRstFrame() 663 int32_t DecodeRstFrame(RstFrame *rstFrame, uint16_t *code, uint16_t **fileIdList, uint16_t *listCou… in DecodeRstFrame() argument 665 uint16_t payloadLen = ntohs(rstFrame->header.length); in DecodeRstFrame() 669 *code = ntohs(rstFrame->code); in DecodeRstFrame() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/minimp3_adapter/ |
H A D | minimp3_demuxer_plugin.cpp | 446 uint8_t *rstFrame = static_cast<uint8_t *>(calloc(frameSize, sizeof(uint8_t))); in AudioDemuxerMp3IterateCallback() local 447 if (!rstFrame) { in AudioDemuxerMp3IterateCallback() 452 (void)memcpy_s(rstFrame, frameSize, frame, frameSize); in AudioDemuxerMp3IterateCallback() 453 rst->frameBuffer = rstFrame; in AudioDemuxerMp3IterateCallback()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_dfile_frame.h | 251 int32_t DecodeRstFrame(RstFrame *rstFrame, uint16_t *code, uint16_t **fileIdList, uint16_t *listCou…
|