Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert unneeded check #119

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions vk_video_decoder/libs/NvVideoParser/src/NextStartCodeAVX2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ size_t VulkanVideoDecoder::next_start_code<SIMD_ISA::AVX2>(const uint8_t *pdatai
}
} // main processing loop end
m_BitBfr = (pdatain[i-2] << 8) | pdatain[i-1];
if (i >= datasize) {
found_start_code = false;
return datasize;
}
}
// process a tail (rest):
uint32_t bfr = m_BitBfr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ size_t VulkanVideoDecoder::next_start_code<SIMD_ISA::AVX512>(const uint8_t *pdat
}
} // main processing loop end
m_BitBfr = (pdatain[i-2] << 8) | pdatain[i-1];
if (i >= datasize) {
found_start_code = false;
return datasize;
}
}
// process a tail (rest):
uint32_t bfr = m_BitBfr;
Expand Down
4 changes: 0 additions & 4 deletions vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ size_t VulkanVideoDecoder::next_start_code<SIMD_ISA::NEON>(const uint8_t *pdatai
}
} // main processing loop end
m_BitBfr = (pdatain[i-2] << 8) | pdatain[i-1];
if (i >= datasize) {
found_start_code = false;
return datasize;
}
}
// process a tail (rest):
uint32_t bfr = m_BitBfr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ size_t VulkanVideoDecoder::next_start_code<SIMD_ISA::SSSE3>(const uint8_t *pdata
}
} // main processing loop end
m_BitBfr = (pdatain[i-2] << 8) | pdatain[i-1];
if (i >= datasize) {
found_start_code = false;
return datasize;
}
}
// process a tail (rest):
uint32_t bfr = m_BitBfr;
Expand Down