X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=quicksync_encoder.cpp;h=bca7ffd91983e73ed819d7889c9925cd58acae2f;hp=5200ce61b4911ab4e18692da0bfc17b483ae548d;hb=817fffe1ef3bd87f2387395f49487cf5255d8daf;hpb=330ca2f0052b06d91004c6ceb73cd57ab95e7fe1 diff --git a/quicksync_encoder.cpp b/quicksync_encoder.cpp index 5200ce6..bca7ffd 100644 --- a/quicksync_encoder.cpp +++ b/quicksync_encoder.cpp @@ -1939,8 +1939,6 @@ void QuickSyncEncoderImpl::add_packet_for_uncompressed_frame(int64_t pts, int64_ stream_mux->add_packet(pkt, pts, pts); } -namespace { - void memcpy_with_pitch(uint8_t *dst, const uint8_t *src, size_t src_width, size_t dst_pitch, size_t height) { if (src_width == dst_pitch) { @@ -1954,8 +1952,6 @@ void memcpy_with_pitch(uint8_t *dst, const uint8_t *src, size_t src_width, size_ } } -} // namespace - void QuickSyncEncoderImpl::pass_frame(QuickSyncEncoderImpl::PendingFrame frame, int display_frame_num, int64_t pts, int64_t duration) { // Wait for the GPU to be done with the frame.