/foundation/CastEngine/castengine_wifi_display/tests/demo/codec/ |
H A D | video_sink_decoder_demo.cpp | 31 constexpr char START_CODE = 0x1; member 59 if (*temp == START_CODE) { in ReadOnePacket()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | start_code_detector.h | 72 static constexpr uint8_t START_CODE[] = {0, 0, 1}; member in StartCodeDetector 73 static constexpr size_t START_CODE_LEN = sizeof(START_CODE);
|
H A D | start_code_detector.cpp | 57 auto pFound = search(pStart + pos, pStart + bufSize, begin(START_CODE), end(START_CODE)); in SetSource()
|
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderconfigure_fuzzer/ |
H A D | videodec_sample.cpp | 34 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 310 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode() 319 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode()
|
/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/ |
H A D | videodec_api11_sample.cpp | 36 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 224 if (memcpy_s(bufferAddr, bufferSize, START_CODE, START_CODE_SIZE) != EOK) { in InputFuncFUZZ() 434 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/ |
H A D | videodec_sample.cpp | 34 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 310 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode() 319 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode()
|
/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/ |
H A D | videodec_sample.cpp | 31 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 296 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode() 305 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode()
|
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderapi11_fuzzer/ |
H A D | videodec_api11_sample.cpp | 36 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 224 if (memcpy_s(bufferAddr, bufferSize, START_CODE, START_CODE_SIZE) != EOK) { in InputFuncFUZZ() 434 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/InnerAPI/ |
H A D | videodec_ndk_inner_sample.cpp | 36 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 458 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode() 468 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 36 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 487 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode() 496 if (memcpy_s(frameBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in CopyStartCode()
|
H A D | videodec_api11_sample.cpp | 35 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 573 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/ |
H A D | videodec_ndk_inner_sample.cpp | 41 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 361 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 41 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 646 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
H A D | videodec_api11_sample.cpp | 42 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 708 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 35 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 585 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
H A D | videodec_api11_sample.cpp | 41 constexpr uint8_t START_CODE[START_CODE_SIZE] = {0, 0, 0, 1}; member 696 if (memcpy_s(fileBuffer, bufferSize + START_CODE_SIZE, START_CODE, START_CODE_SIZE) != EOK) { in SendData()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 39 constexpr uint8_t START_CODE[] = {0x00, 0x00, 0x01}; member 938 startCodeLen = sizeof(START_CODE); in FindNalStartCode() 939 auto *iter = std::search(buf, end, START_CODE, START_CODE + startCodeLen); in FindNalStartCode()
|