X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb.cpp;h=2900709fd296339777263ea4dbbf7908a0836a99;hb=1066d2975e1c824bef6b9c9555c7d9f4f1a890a9;hp=080c0bb0dae65f649ee34e5ba26ab023092a5fbf;hpb=fad914ea7890709cc03418f4ce6f4c784cbd193d;p=bmusb diff --git a/bmusb.cpp b/bmusb.cpp index 080c0bb..2900709 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -1,4 +1,4 @@ -// Intensity Shuttle USB3 capture driver, v0.5.1 +// Intensity Shuttle USB3 capture driver, v0.5.2 // Can download 8-bit and 10-bit UYVY/v210 frames from HDMI, quite stable // (can do captures for hours at a time with no drops), except during startup // 576p60/720p60/1080i60 works, 1080p60 does not work (firmware limitation) @@ -536,6 +536,10 @@ const uint8_t *add_to_frame_fastpath(FrameAllocator::Frame *current_frame, const #else // defined(HAS_MULTIVERSIONING) +__attribute__((target("sse4.1"))) +const uint8_t *add_to_frame_fastpath_core(FrameAllocator::Frame *current_frame, const uint8_t *aligned_start, const uint8_t *limit, const char sync_char); + +__attribute__((target("avx2"))) const uint8_t *add_to_frame_fastpath_core(FrameAllocator::Frame *current_frame, const uint8_t *aligned_start, const uint8_t *limit, const char sync_char); // Does a memcpy and memchr in one to reduce processing time.