Module: Mesa
Branch: main
Commit: bfad3617a9ff416c24606615c37e8ff6234fdfd7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfad3617a9ff416c24606615c37e8ff6234fdfd7

Author: Sil Vilerino <[email protected]>
Date:   Wed Dec  6 15:42:16 2023 -0500

d3d12: Fix typos in d3d12_video_encoder_bitstream_builder_h264

Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26573>

---

 .../drivers/d3d12/d3d12_video_encoder_bitstream_builder_h264.cpp      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/gallium/drivers/d3d12/d3d12_video_encoder_bitstream_builder_h264.cpp 
b/src/gallium/drivers/d3d12/d3d12_video_encoder_bitstream_builder_h264.cpp
index 5f5ee3861de..aff4d715b2a 100644
--- a/src/gallium/drivers/d3d12/d3d12_video_encoder_bitstream_builder_h264.cpp
+++ b/src/gallium/drivers/d3d12/d3d12_video_encoder_bitstream_builder_h264.cpp
@@ -172,7 +172,7 @@ d3d12_video_bitstream_builder_h264::build_sps(const struct 
pipe_h264_enc_seq_par
    spsStructure.vui.num_reorder_frames = seqData.max_num_reorder_frames;
    spsStructure.vui.max_dec_frame_buffering = seqData.max_dec_frame_buffering;
 
-   // Print built PPS structure
+   // Print built SPS structure
    debug_printf(
       "[D3D12 d3d12_video_bitstream_builder_h264] H264_SPS Structure generated 
before writing to bitstream:\n");
    print_sps(spsStructure);
@@ -245,7 +245,7 @@ d3d12_video_bitstream_builder_h264::build_pps(const enum 
pipe_video_profile &
       "[D3D12 d3d12_video_bitstream_builder_h264] H264_PPS Structure generated 
before writing to bitstream:\n");
    print_pps(ppsStructure);
 
-   // Convert the H264 PPS structure into bytes
+   // Convert the H264 SPS structure into bytes
    m_h264Encoder.pps_to_nalu_bytes(&ppsStructure, headerBitstream, 
bIsHighProfile, placingPositionStart, writtenBytes);
 }
 

Reply via email to