[feat] use encode thread to encode frame

This commit is contained in:
dijunkun
2025-03-25 17:18:52 +08:00
parent 160ee9feef
commit bcf01791f7
42 changed files with 269 additions and 492 deletions

View File

@@ -43,11 +43,11 @@ class OpenH264Decoder : public VideoDecoder {
unsigned char* yuv420p_planes_[3] = {nullptr, nullptr, nullptr};
unsigned char* yuv420p_frame_ = nullptr;
unsigned char* nv12_frame_ = nullptr;
int yuv420p_frame_capacity_ = 0;
int yuv420p_frame_size_ = 0;
DecodedFrame* nv12_frame_ = 0;
int nv12_frame_capacity_ = 0;
int nv12_frame_capacity_ = 0;
int nv12_frame_size_ = 0;
};