Merged
Conversation
- pytest.mark.parametrize を使用してテストをリファクタリング - I420, I422, I444, NV12, RGBA, BGRA, RGB, BGR の全フォーマットをテスト - テスト数: 8 → 64 (8 フォーマット × 8 テスト関数)
- 対応ピクセルフォーマット一覧を追加 - Apple Video Toolbox の制限を明記 (I420, NV12, BGRA のみ直接対応) - libyuv による変換処理の説明を更新
- video_scaler.h/cpp を追加 - scale_to_i420(): AOM/VPX エンコーダ向け - scale_to_nv12(): NVENC/Intel VPL エンコーダ向け - 各エンコーダから重複コードを削除してヘルパーを使用 - 対応フォーマット: I420, I422, I444, NV12, RGBA, BGRA, RGB, BGR
- scale_to_i420: I420 の場合に result.buffer.resize() を呼ばないように修正 - scale_to_i420: 到達不能なコードパス (needs_scaling == false) を削除 - scale_to_nv12: 到達不能なコードパス (needs_scaling == false) を削除
8 つの関数を 3 つに統合: - test_encode_with_scaling (AV1, VP8, VP9) - test_encode_scaling_same_resolution (AV1, VP8, VP9) - test_encode_scaling_multiple_frames (AV1, VP9)
4 つの個別テストを 2 つのパラメタライズされたテストに統合: - test_encode_with_scaling (H264, HEVC × I420, NV12, BGRA) - test_encode_scaling_same_resolution (H264, HEVC × I420, NV12)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.