I'm trying to encode D3D11 NV12 Texture on QSV encoder but getting [h264_qsv @ 00000244ce6f50c0] Error submitting the frame for encoding. Main: int width = 1920
I have 2 3D head images and want to morph one into the other (animation) without using blender, three.js etc. I want to do it using coding pre
I am solving a problem: Given a list of integers nums, write a function that returns the largest sum of non-adjacent numbers. Numbers can be 0 or negative. Fo
Installed clang 14.0 using GNU/Guix's clang-toolchain package. I am getting depreciated feature usage error when trying to compile a simple code: //build with:
A task: I have a trusted video event detector. I trust to my event detector for 100% and I want to write an uncompressed frame to my avi containter only if my e
Currently, I am trying to solve the following situation. I have a classB which contains some objects from a classA. Each classA has a function foo which needs t
I am creating a c++ header only library and using CMake as my build system. I am pretty new with CMake, but after I read some blog posts, documentation and look
The following code violates the MISRA C++ rule 5-0-15: Array indexing shall be the only form of pointer arithmetic. (1) void doSomething(const uint8_t *&ptr
I really don't know what is wrong with my code, I have only pasted the entire code now (EDIT 1). #include "../../std_lib_facilities.h" class Date { public:
I need to read from a fifo. Using ssize_t read(int fd, void *buf, size_t count);, I faced the following situation. When a large set of data must be read from fi
I'm writing C++ on my iOS app. When I call a v->assign(anotherVec.begin(), anotherVec.end()) it always show me malloc: Incorrect checksum for freed object 0x
I'm trying to make an array of structures using data from a file, and then calculate the distance from a user inputted point to the closest data point. I am los
I have write this code. It does not show any error but string is not reversed.please let me know where i have made the mistake? I'm using codeblock to write cod
I'm trying to make an array of structures using data from a file, and then calculate the distance from a user inputted point to the closest data point. I am los
I want to improve the speed of my feature matching algorithm. The matching is based on comparing feature A with circularly shifted feature B. The shifting is pe
I have a C++ code that expects a struct with this exact formate to be send to it through a NamedPipe:- struct InputData { const std::array<std::array<fl
I have a C++ code that expects a struct with this exact formate to be send to it through a NamedPipe:- struct InputData { const std::array<std::array<fl
I was wondering if the following APIs are available in Ignite C++. And if they are not available, what would be a reasonable alternative to implementing the sam
I was wondering if the following APIs are available in Ignite C++. And if they are not available, what would be a reasonable alternative to implementing the sam
i got this task to make, but i am completely lost. I don't know how to make this... Could you please give me some ideas? I started making it and only thing i ma