This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 6bc0f9517c79d4b90fa7297b97d8cfca8de4feac
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed May 20 18:36:54 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Wed May 20 21:45:28 2026 +0000

    swscale/ops_dispatch: rename filter_size to filter_size_h
    
    Since this is not set for vertical filters.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_dispatch.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libswscale/ops_dispatch.c b/libswscale/ops_dispatch.c
index f477c7839a..b79d801fff 100644
--- a/libswscale/ops_dispatch.c
+++ b/libswscale/ops_dispatch.c
@@ -45,7 +45,7 @@ typedef struct SwsOpPass {
     int idx_in[4];
     int idx_out[4];
     int *offsets_y;
-    int filter_size;
+    int filter_size_h;
     bool memcpy_first;
     bool memcpy_last;
     bool memcpy_out;
@@ -207,7 +207,7 @@ static int op_pass_setup(const SwsFrame *out, const 
SwsFrame *in,
         size_t safe_bytes = safe_bytes_pad(in->linesize[idx], comp->over_read);
         size_t safe_blocks_in;
         if (exec->in_offset_x) {
-            size_t filter_size = pixel_bytes(p->filter_size, p->pixel_bits_in,
+            size_t filter_size = pixel_bytes(p->filter_size_h, 
p->pixel_bits_in,
                                              AV_ROUND_UP);
             safe_blocks_in = safe_blocks_offset(num_blocks, block_size,
                                                 safe_bytes - filter_size,
@@ -271,7 +271,7 @@ static int op_pass_setup(const SwsFrame *out, const 
SwsFrame *in,
     if (exec->in_offset_x) {
         p->tail_off_in  = exec->in_offset_x[safe_width];
         p->tail_size_in = exec->in_offset_x[pass->width - 1] - p->tail_off_in;
-        p->tail_size_in += pixel_bytes(p->filter_size, p->pixel_bits_in, 
AV_ROUND_UP);
+        p->tail_size_in += pixel_bytes(p->filter_size_h, p->pixel_bits_in, 
AV_ROUND_UP);
     } else {
         p->tail_off_in  = pixel_bytes(safe_width, p->pixel_bits_in, 
AV_ROUND_DOWN);
         p->tail_size_in = pixel_bytes(tail_size,  p->pixel_bits_in, 
AV_ROUND_UP);
@@ -564,7 +564,7 @@ static int compile(SwsGraph *graph, const SwsOpBackend 
*backend,
         for (int x = filter->dst_size; x < pixels; x++)
             offset[x] = offset[filter->dst_size - 1];
         p->exec_base.block_size_in = 0; /* ptr does not advance */
-        p->filter_size = filter->filter_size;
+        p->filter_size_h = filter->filter_size;
     }
 
     ret = ff_sws_graph_add_pass(graph, dst->format, dst->width, dst->height,

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to