History

all: fix typos found by codespell

Timo Rothenpieler committed 1 year ago

Commit 262d41c1 parent 8d439b2303 files · +482 −481Browse files

Showing the changes to libavfilter (39 of 303 files). Show all

Unified · Split

39 files
  1. libavfilter/aarch64/vf_bwdif_neon.S +1 −1
  2. libavfilter/af_astats.c +2 −2
  3. libavfilter/af_atempo.c +1 −1
  4. libavfilter/af_drmeter.c +1 −1
  5. libavfilter/af_sofalizer.c +2 −2
  6. libavfilter/avf_showcqt.c +1 −1
  7. libavfilter/avfilter.h +2 −2
  8. libavfilter/dnn/dnn_backend_openvino.c +2 −2
  9. libavfilter/filters.h +1 −1
  10. libavfilter/framepool.h +5 −5
  11. libavfilter/framesync.h +3 −3
  12. libavfilter/qsvvpp.h +2 −2
  13. libavfilter/riscv/af_afir_init.c +1 −1
  14. libavfilter/riscv/af_afir_rvv.S +1 −1
  15. libavfilter/vf_amf_common.c +1 −1
  16. libavfilter/vf_bilateral_cuda.cu +2 −2
  17. libavfilter/vf_ciescope.c +1 −1
  18. libavfilter/vf_colorconstancy.c +9 −9
  19. libavfilter/vf_convolution_opencl.c +1 −1
  20. libavfilter/vf_coreimage.m +1 −1
  21. libavfilter/vf_curves.c +1 −1
  22. libavfilter/vf_dnn_detect.c +1 −1
  23. libavfilter/vf_drawbox.c +1 −1
  24. libavfilter/vf_drawtext.c +2 −2
  25. libavfilter/vf_fspp.c +1 −1
  26. libavfilter/vf_libplacebo.c +1 −1
  27. libavfilter/vf_mpdecimate.c +1 −1
  28. libavfilter/vf_overlay_qsv.c +1 −1
  29. libavfilter/vf_overlay_vaapi.c +1 −1
  30. libavfilter/vf_removelogo.c +2 −2
  31. libavfilter/vf_signalstats.c +3 −3
  32. libavfilter/vf_signature.c +1 −1
  33. libavfilter/vf_siti.c +1 −1
  34. libavfilter/vf_ssim360.c +2 −2
  35. libavfilter/vf_tonemap_opencl.c +1 −1
  36. libavfilter/vf_uspp.c +1 −1
  37. libavfilter/vf_zscale.c +1 −1
  38. libavfilter/vsrc_ddagrab.c +1 −1
  39. libavfilter/x86/vf_hqdn3d.asm +1 −1
libavfilter/aarch64/vf_bwdif_neon.S+1−1
@@ -148,7 +148,7 @@ · 147 unmodified lines
148// static const uint16_t coef_hf[3] = { 5570, 3801, 1016 };148// static const uint16_t coef_hf[3] = { 5570, 3801, 1016 };
149// static const uint16_t coef_sp[2] = { 5077, 981 };149// static const uint16_t coef_sp[2] = { 5077, 981 };
150 150
151const coeffs, align=4 // align 4 means align on 2^4 boundry151const coeffs, align=4 // align 4 means align on 2^4 boundary
152 .hword 4309 * 4, 213 * 4 // lf[0]*4 = v0.h[0]152 .hword 4309 * 4, 213 * 4 // lf[0]*4 = v0.h[0]
153 .hword 5570, 3801, 1016, -3801 // hf[0] = v0.h[2], -hf[1] = v0.h[5]153 .hword 5570, 3801, 1016, -3801 // hf[0] = v0.h[2], -hf[1] = v0.h[5]
154 .hword 5077, 981 // sp[0] = v0.h[6]154 .hword 5077, 981 // sp[0] = v0.h[6]
libavfilter/af_astats.c+2−2
@@ -836,7 +836,7 @@ static void print_stats(AVFilterContext *ctx) · 835 unmodified lines
836 av_log(ctx, AV_LOG_INFO, "RMS peak dB: %f\n", LINEAR_TO_DB(sqrt(p->max_sigma_x2)));836 av_log(ctx, AV_LOG_INFO, "RMS peak dB: %f\n", LINEAR_TO_DB(sqrt(p->max_sigma_x2)));
837 if (s->measure_perchannel & MEASURE_RMS_TROUGH)837 if (s->measure_perchannel & MEASURE_RMS_TROUGH)
838 if (p->min_sigma_x2 != 1)838 if (p->min_sigma_x2 != 1)
839 av_log(ctx, AV_LOG_INFO, "RMS trough dB: %f\n",LINEAR_TO_DB(sqrt(p->min_sigma_x2)));839 av_log(ctx, AV_LOG_INFO, "RMS through dB: %f\n",LINEAR_TO_DB(sqrt(p->min_sigma_x2)));
840 if (s->measure_perchannel & MEASURE_CREST_FACTOR)840 if (s->measure_perchannel & MEASURE_CREST_FACTOR)
841 av_log(ctx, AV_LOG_INFO, "Crest factor: %f\n", p->sigma_x2 ? FFMAX(-p->nmin, p->nmax) / sqrt(p->sigma_x2 / p->nb_samples) : 1);841 av_log(ctx, AV_LOG_INFO, "Crest factor: %f\n", p->sigma_x2 ? FFMAX(-p->nmin, p->nmax) / sqrt(p->sigma_x2 / p->nb_samples) : 1);
842 if (s->measure_perchannel & MEASURE_FLAT_FACTOR)842 if (s->measure_perchannel & MEASURE_FLAT_FACTOR)
@@ -896,7 +896,7 @@ static void print_stats(AVFilterContext *ctx) · 53 unmodified lines
896 av_log(ctx, AV_LOG_INFO, "RMS peak dB: %f\n", LINEAR_TO_DB(sqrt(max_sigma_x2)));896 av_log(ctx, AV_LOG_INFO, "RMS peak dB: %f\n", LINEAR_TO_DB(sqrt(max_sigma_x2)));
897 if (s->measure_overall & MEASURE_RMS_TROUGH)897 if (s->measure_overall & MEASURE_RMS_TROUGH)
898 if (min_sigma_x2 != 1)898 if (min_sigma_x2 != 1)
899 av_log(ctx, AV_LOG_INFO, "RMS trough dB: %f\n", LINEAR_TO_DB(sqrt(min_sigma_x2)));899 av_log(ctx, AV_LOG_INFO, "RMS through dB: %f\n", LINEAR_TO_DB(sqrt(min_sigma_x2)));
900 if (s->measure_overall & MEASURE_FLAT_FACTOR)900 if (s->measure_overall & MEASURE_FLAT_FACTOR)
901 av_log(ctx, AV_LOG_INFO, "Flat factor: %f\n", LINEAR_TO_DB((min_runs + max_runs) / (min_count + max_count)));901 av_log(ctx, AV_LOG_INFO, "Flat factor: %f\n", LINEAR_TO_DB((min_runs + max_runs) / (min_count + max_count)));
902 if (s->measure_overall & MEASURE_PEAK_COUNT)902 if (s->measure_overall & MEASURE_PEAK_COUNT)
libavfilter/af_atempo.c+1−1
@@ -112,7 +112,7 @@ typedef struct ATempoContext { · 111 unmodified lines
112 // number of channels:112 // number of channels:
113 int channels;113 int channels;
114 114
115 // row of bytes to skip from one sample to next, across multple channels;115 // row of bytes to skip from one sample to next, across multiple channels;
116 // stride = (number-of-channels * bits-per-sample-per-channel) / 8116 // stride = (number-of-channels * bits-per-sample-per-channel) / 8
117 int stride;117 int stride;
118 118
libavfilter/af_drmeter.c+1−1
@@ -138,7 +138,7 @@ static void print_stats(AVFilterContext *ctx) · 137 unmodified lines
138 int peak_bin = BINS;138 int peak_bin = BINS;
139 139
140 if (!p->nb_samples) {140 if (!p->nb_samples) {
141 av_log(ctx, AV_LOG_INFO, "No data, dynamic range not meassurable\n");141 av_log(ctx, AV_LOG_INFO, "No data, dynamic range not measurable\n");
142 return;142 return;
143 }143 }
144 144
libavfilter/af_sofalizer.c+2−2
@@ -734,7 +734,7 @@ static int load_data(AVFilterContext *ctx, int azim, int elev, float radius, int · 733 unmodified lines
734 AVComplexFloat *fft_in_r = NULL;734 AVComplexFloat *fft_in_r = NULL;
735 float *data_ir_l = NULL;735 float *data_ir_l = NULL;
736 float *data_ir_r = NULL;736 float *data_ir_r = NULL;
737 int offset = 0; /* used for faster pointer arithmetics in for-loop */737 int offset = 0; /* used for faster pointer arithmetic in for-loop */
738 int i, j, azim_orig = azim, elev_orig = elev;738 int i, j, azim_orig = azim, elev_orig = elev;
739 int ret = 0;739 int ret = 0;
740 int n_current;740 int n_current;
@@ -954,7 +954,7 @@ fail: · 213 unmodified lines
954 av_freep(&data_hrtf_l); /* free temporary HRTF memory */954 av_freep(&data_hrtf_l); /* free temporary HRTF memory */
955 av_freep(&data_hrtf_r);955 av_freep(&data_hrtf_r);
956 956
957 av_freep(&data_ir_l); /* free temprary IR memory */957 av_freep(&data_ir_l); /* free temporary IR memory */
958 av_freep(&data_ir_r);958 av_freep(&data_ir_r);
959 959
960 av_freep(&fft_out_l); /* free temporary FFT memory */960 av_freep(&fft_out_l); /* free temporary FFT memory */
libavfilter/avf_showcqt.c+1−1
@@ -619,7 +619,7 @@ static int render_fontconfig(ShowCQTContext *s, AVFrame *tmp, char* font) · 618 unmodified lines
619 FcDefaultSubstitute(pat);619 FcDefaultSubstitute(pat);
620 620
621 if (!FcConfigSubstitute(fontconfig, pat, FcMatchPattern)) {621 if (!FcConfigSubstitute(fontconfig, pat, FcMatchPattern)) {
622 av_log(s->ctx, AV_LOG_ERROR, "could not substitue fontconfig options.\n");622 av_log(s->ctx, AV_LOG_ERROR, "could not substitute fontconfig options.\n");
623 FcPatternDestroy(pat);623 FcPatternDestroy(pat);
624 FcConfigDestroy(fontconfig);624 FcConfigDestroy(fontconfig);
625 return AVERROR(ENOMEM);625 return AVERROR(ENOMEM);
libavfilter/avfilter.h+2−2
@@ -898,7 +898,7 @@ typedef struct AVFilterParams { · 897 unmodified lines
898 char *instance_name;898 char *instance_name;
899 899
900 /**900 /**
901 * Options to be apllied to the filter.901 * Options to be applied to the filter.
902 *902 *
903 * Filled by avfilter_graph_segment_parse(). Afterwards may be freely903 * Filled by avfilter_graph_segment_parse(). Afterwards may be freely
904 * modified by the caller.904 * modified by the caller.
@@ -1081,7 +1081,7 @@ int avfilter_graph_segment_init(AVFilterGraphSegment *seg, int flags); · 176 unmodified lines
1081 * Unlabeled outputs are1081 * Unlabeled outputs are
1082 * - linked to the first unlinked unlabeled input in the next non-disabled1082 * - linked to the first unlinked unlabeled input in the next non-disabled
1083 * filter in the chain, if one exists1083 * filter in the chain, if one exists
1084 * - exported in the ouputs linked list otherwise, with NULL label1084 * - exported in the outputs linked list otherwise, with NULL label
1085 *1085 *
1086 * Similarly, unlinked input pads are exported in the inputs linked list.1086 * Similarly, unlinked input pads are exported in the inputs linked list.
1087 *1087 *
libavfilter/dnn/dnn_backend_openvino.c+2−2
@@ -1331,7 +1331,7 @@ static int get_output_ov(DNNModel *model, const char *input_name, int input_widt · 1330 unmodified lines
1331#endif1331#endif
1332 ret = init_model_ov(ov_model, input_name, output_name ? &output_name : NULL, 1);1332 ret = init_model_ov(ov_model, input_name, output_name ? &output_name : NULL, 1);
1333 if (ret != 0) {1333 if (ret != 0) {
1334 av_log(ctx, AV_LOG_ERROR, "Failed init OpenVINO exectuable network or inference request\n");1334 av_log(ctx, AV_LOG_ERROR, "Failed init OpenVINO executable network or inference request\n");
1335 return ret;1335 return ret;
1336 }1336 }
1337 }1337 }
@@ -1487,7 +1487,7 @@ static int dnn_execute_model_ov(const DNNModel *model, DNNExecBaseParams *exec_p · 149 unmodified lines
1487 ret = init_model_ov(ov_model, exec_params->input_name,1487 ret = init_model_ov(ov_model, exec_params->input_name,
1488 exec_params->output_names, exec_params->nb_output);1488 exec_params->output_names, exec_params->nb_output);
1489 if (ret != 0) {1489 if (ret != 0) {
1490 av_log(ctx, AV_LOG_ERROR, "Failed init OpenVINO exectuable network or inference request\n");1490 av_log(ctx, AV_LOG_ERROR, "Failed init OpenVINO executable network or inference request\n");
1491 return ret;1491 return ret;
1492 }1492 }
1493 }1493 }
libavfilter/filters.h+1−1
@@ -508,7 +508,7 @@ int ff_inlink_check_available_frame(AVFilterLink *link); · 507 unmodified lines
508 508
509/***509/***
510 * Get the number of samples available on the link.510 * Get the number of samples available on the link.
511 * @return the numer of samples available on the link.511 * @return the number of samples available on the link.
512 */512 */
513int ff_inlink_queued_samples(AVFilterLink *link);513int ff_inlink_queued_samples(AVFilterLink *link);
514 514
libavfilter/framepool.h+5−5
@@ -41,7 +41,7 @@ typedef struct FFFramePool FFFramePool; · 40 unmodified lines
41 * @param width width of each frame in this pool41 * @param width width of each frame in this pool
42 * @param height height of each frame in this pool42 * @param height height of each frame in this pool
43 * @param format format of each frame in this pool43 * @param format format of each frame in this pool
44 * @param align buffers alignement of each frame in this pool44 * @param align buffers alignment of each frame in this pool
45 * @return newly created video frame pool on success, NULL on error.45 * @return newly created video frame pool on success, NULL on error.
46 */46 */
47FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t size),47FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t size),
@@ -59,7 +59,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t size), · 11 unmodified lines
59 * @param channels channels of each frame in this pool59 * @param channels channels of each frame in this pool
60 * @param nb_samples number of samples of each frame in this pool60 * @param nb_samples number of samples of each frame in this pool
61 * @param format format of each frame in this pool61 * @param format format of each frame in this pool
62 * @param align buffers alignement of each frame in this pool62 * @param align buffers alignment of each frame in this pool
63 * @return newly created audio frame pool on success, NULL on error.63 * @return newly created audio frame pool on success, NULL on error.
64 */64 */
65FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(size_t size),65FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(size_t size),
@@ -82,7 +82,7 @@ void ff_frame_pool_uninit(FFFramePool **pool); · 16 unmodified lines
82 * @param width width of each frame in this pool82 * @param width width of each frame in this pool
83 * @param height height of each frame in this pool83 * @param height height of each frame in this pool
84 * @param format format of each frame in this pool84 * @param format format of each frame in this pool
85 * @param align buffers alignement of each frame in this pool85 * @param align buffers alignment of each frame in this pool
86 * @return 0 on success, a negative AVERROR otherwise.86 * @return 0 on success, a negative AVERROR otherwise.
87 */87 */
88int ff_frame_pool_get_video_config(FFFramePool *pool,88int ff_frame_pool_get_video_config(FFFramePool *pool,
@@ -97,7 +97,7 @@ int ff_frame_pool_get_video_config(FFFramePool *pool, · 8 unmodified lines
97 * @param channels channels of each frame in this pool97 * @param channels channels of each frame in this pool
98 * @param nb_samples number of samples of each frame in this pool98 * @param nb_samples number of samples of each frame in this pool
99 * @param format format of each frame in this pool99 * @param format format of each frame in this pool
100 * @param align buffers alignement of each frame in this pool100 * @param align buffers alignment of each frame in this pool
101 * @return 0 on success, a negative AVERROR otherwise.101 * @return 0 on success, a negative AVERROR otherwise.
102 */102 */
103int ff_frame_pool_get_audio_config(FFFramePool *pool,103int ff_frame_pool_get_audio_config(FFFramePool *pool,
@@ -108,7 +108,7 @@ int ff_frame_pool_get_audio_config(FFFramePool *pool, · 4 unmodified lines
108 108
109 109
110/**110/**
111 * Allocate a new AVFrame, reussing old buffers from the pool when available.111 * Allocate a new AVFrame, reusing old buffers from the pool when available.
112 * This function may be called simultaneously from multiple threads.112 * This function may be called simultaneously from multiple threads.
113 *113 *
114 * @return a new AVFrame on success, NULL on error.114 * @return a new AVFrame on success, NULL on error.
libavfilter/framesync.h+3−3
@@ -41,7 +41,7 @@ enum EOFAction { · 40 unmodified lines
41 * complex logic and a few user-tunable options.41 * complex logic and a few user-tunable options.
42 *42 *
43 * In this API, when a set of synchronized input frames is ready to be43 * In this API, when a set of synchronized input frames is ready to be
44 * procesed is called a frame event. Frame event can be generated in44 * processed is called a frame event. Frame event can be generated in
45 * response to input frames on any or all inputs and the handling of45 * response to input frames on any or all inputs and the handling of
46 * situations where some stream extend beyond the beginning or the end of46 * situations where some stream extend beyond the beginning or the end of
47 * others can be configured.47 * others can be configured.
@@ -76,9 +76,9 @@ enum FFFrameSyncExtMode { · 28 unmodified lines
76};76};
77 77
78/**78/**
79 * Timestamp syncronization mode79 * Timestamp synchronization mode
80 *80 *
81 * Describe how the frames of a stream are syncronized based on timestamp81 * Describe how the frames of a stream are synchronized based on timestamp
82 * distance.82 * distance.
83 */83 */
84enum FFFrameTSSyncMode {84enum FFFrameTSSyncMode {
libavfilter/qsvvpp.h+2−2
@@ -65,7 +65,7 @@ typedef struct QSVVPPContext { · 64 unmodified lines
65 65
66 mfxSession session;66 mfxSession session;
67 int (*filter_frame) (AVFilterLink *outlink, AVFrame *frame); /**< callback */67 int (*filter_frame) (AVFilterLink *outlink, AVFrame *frame); /**< callback */
68 int (*set_frame_ext_params)(AVFilterContext *ctx, const AVFrame *in, AVFrame *out, QSVVPPFrameParam *fp); /**< callbak */68 int (*set_frame_ext_params)(AVFilterContext *ctx, const AVFrame *in, AVFrame *out, QSVVPPFrameParam *fp); /**< callback */
69 enum AVPixelFormat out_sw_format; /**< Real output format */69 enum AVPixelFormat out_sw_format; /**< Real output format */
70 mfxVideoParam vpp_param;70 mfxVideoParam vpp_param;
71 mfxFrameInfo *frame_infos; /**< frame info for each input */71 mfxFrameInfo *frame_infos; /**< frame info for each input */
@@ -110,7 +110,7 @@ typedef struct QSVVPPCrop { · 38 unmodified lines
110typedef struct QSVVPPParam {110typedef struct QSVVPPParam {
111 /* default is ff_filter_frame */111 /* default is ff_filter_frame */
112 int (*filter_frame)(AVFilterLink *outlink, AVFrame *frame);112 int (*filter_frame)(AVFilterLink *outlink, AVFrame *frame);
113 int (*set_frame_ext_params)(AVFilterContext *ctx, const AVFrame *in, AVFrame *out, QSVVPPFrameParam *fp); /**< callbak */113 int (*set_frame_ext_params)(AVFilterContext *ctx, const AVFrame *in, AVFrame *out, QSVVPPFrameParam *fp); /**< callback */
114 114
115 /* To fill with MFX enhanced filter configurations */115 /* To fill with MFX enhanced filter configurations */
116 int num_ext_buf;116 int num_ext_buf;
libavfilter/riscv/af_afir_init.c+1−1
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).2 * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
3 *3 *
4 * This file is part of FFmpeg.4 * This file is part of FFmpeg.
5 *5 *
libavfilter/riscv/af_afir_rvv.S+1−1
@@ -1,5 +1,5 @@
1/*1/*
2 * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).2 * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
3 *3 *
4 * This file is part of FFmpeg.4 * This file is part of FFmpeg.
5 *5 *
libavfilter/vf_amf_common.c+1−1
@@ -176,7 +176,7 @@ int amf_setup_input_output_formats(AVFilterContext *avctx, · 175 unmodified lines
176 AVFilterFormats *input_formats;176 AVFilterFormats *input_formats;
177 AVFilterFormats *output_formats;177 AVFilterFormats *output_formats;
178 178
179 //in case if hw_device_ctx is set to DXVA2 we change order of pixel formats to set DXVA2 be choosen by default179 //in case if hw_device_ctx is set to DXVA2 we change order of pixel formats to set DXVA2 be chosen by default
180 //The order is ignored if hw_frames_ctx is not NULL on the config_output stage180 //The order is ignored if hw_frames_ctx is not NULL on the config_output stage
181 if (avctx->hw_device_ctx) {181 if (avctx->hw_device_ctx) {
182 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)avctx->hw_device_ctx->data;182 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)avctx->hw_device_ctx->data;
libavfilter/vf_bilateral_cuda.cu+2−2
@@ -28,7 +28,7 @@ extern "C" · 27 unmodified lines
28 * used float4 for better performance28 * used float4 for better performance
29 *29 *
30 * @param first_yuv first color vector30 * @param first_yuv first color vector
31 * @param second_yuv second color vecotr31 * @param second_yuv second color vector
32 * @return answer of squared norm difference32 * @return answer of squared norm difference
33 */33 */
34__device__ static inline float norm_squared(float4 first_yuv, float4 second_yuv)34__device__ static inline float norm_squared(float4 first_yuv, float4 second_yuv)
@@ -43,7 +43,7 @@ __device__ static inline float norm_squared(float4 first_yuv, float4 second_yuv) · 8 unmodified lines
43 * @brief calculate w as stated in bilateral filter research paper43 * @brief calculate w as stated in bilateral filter research paper
44 *44 *
45 * @param first_yuv first color vector45 * @param first_yuv first color vector
46 * @param second_yuv second color vecotr46 * @param second_yuv second color vector
47 * @return the calculated w47 * @return the calculated w
48 */48 */
49__device__ static inline float calculate_w(int x, int y, int r, int c,49__device__ static inline float calculate_w(int x, int y, int r, int c,
libavfilter/vf_ciescope.c+1−1
@@ -1132,7 +1132,7 @@ fill_in_tongue(uint16_t* const pixels, · 1131 unmodified lines
1132 1132
1133 /* Scan the image line by line and fill the tongue outline1133 /* Scan the image line by line and fill the tongue outline
1134 with the RGB values determined by the color system for the x-y1134 with the RGB values determined by the color system for the x-y
1135 co-ordinates within the tongue.1135 coordinates within the tongue.
1136 */1136 */
1137 1137
1138 for (y = 0; y < h; ++y) {1138 for (y = 0; y < h; ++y) {
libavfilter/vf_colorconstancy.c+9−9
@@ -176,7 +176,7 @@ static int set_gauss(AVFilterContext *ctx) · 175 unmodified lines
176 176
177/**177/**
178 * Frees up buffers used by grey edge for storing derivatives final178 * Frees up buffers used by grey edge for storing derivatives final
179 * and intermidiate results. Number of buffers and number of planes179 * and intermediate results. Number of buffers and number of planes
180 * for last buffer are given so it can be safely called at allocation180 * for last buffer are given so it can be safely called at allocation
181 * failure instances.181 * failure instances.
182 *182 *
@@ -201,7 +201,7 @@ static void cleanup_derivative_buffers(ThreadData *td, int nb_buff, int nb_plane · 18 unmodified lines
201 201
202/**202/**
203 * Allocates buffers used by grey edge for storing derivatives final203 * Allocates buffers used by grey edge for storing derivatives final
204 * and intermidiate results.204 * and intermediate results.
205 *205 *
206 * @param ctx the filter context.206 * @param ctx the filter context.
207 * @param td holds the buffers.207 * @param td holds the buffers.
@@ -236,12 +236,12 @@ static int setup_derivative_buffers(AVFilterContext* ctx, ThreadData *td) · 28 unmodified lines
236/**236/**
237 * Slice calculation of gaussian derivatives. Applies 1-D gaussian derivative filter237 * Slice calculation of gaussian derivatives. Applies 1-D gaussian derivative filter
238 * either horizontally or vertically according to meta data given in thread data.238 * either horizontally or vertically according to meta data given in thread data.
239 * When convoluting horizontally source is always the in frame withing thread data239 * When convoluting horizontally source is always the in frame within thread data
240 * while when convoluting vertically source is a buffer.240 * while when convoluting vertically source is a buffer.
241 *241 *
242 * @param ctx the filter context.242 * @param ctx the filter context.
243 * @param arg data to be passed between threads.243 * @param arg data to be passed between threads.
244 * @param jobnr current job nubmer.244 * @param jobnr current job number.
245 * @param nb_jobs total number of jobs.245 * @param nb_jobs total number of jobs.
246 *246 *
247 * @return 0.247 * @return 0.
@@ -309,7 +309,7 @@ static int slice_get_derivative(AVFilterContext* ctx, void* arg, int jobnr, int · 61 unmodified lines
309 *309 *
310 * @param ctx the filter context.310 * @param ctx the filter context.
311 * @param arg data to be passed between threads.311 * @param arg data to be passed between threads.
312 * @param jobnr current job nubmer.312 * @param jobnr current job number.
313 * @param nb_jobs total number of jobs.313 * @param nb_jobs total number of jobs.
314 *314 *
315 * @return 0.315 * @return 0.
@@ -430,7 +430,7 @@ static int get_derivative(AVFilterContext *ctx, ThreadData *td) · 114 unmodified lines
430 *430 *
431 * @param ctx the filter context.431 * @param ctx the filter context.
432 * @param arg data to be passed between threads.432 * @param arg data to be passed between threads.
433 * @param jobnr current job nubmer.433 * @param jobnr current job number.
434 * @param nb_jobs total number of jobs.434 * @param nb_jobs total number of jobs.
435 *435 *
436 * @return 0.436 * @return 0.
@@ -479,7 +479,7 @@ static int filter_slice_grey_edge(AVFilterContext* ctx, void* arg, int jobnr, in · 42 unmodified lines
479 * Main control function for grey edge algorithm.479 * Main control function for grey edge algorithm.
480 *480 *
481 * @param ctx the filter context.481 * @param ctx the filter context.
482 * @param in frame to perfrom grey edge on.482 * @param in frame to perform grey edge on.
483 *483 *
484 * @return 0 in case of success, a negative value corresponding to an484 * @return 0 in case of success, a negative value corresponding to an
485 * AVERROR code in case of failure.485 * AVERROR code in case of failure.
@@ -558,7 +558,7 @@ static void normalize_light(double *light) · 72 unmodified lines
558 * after estimation.558 * after estimation.
559 *559 *
560 * @param ctx the filter context.560 * @param ctx the filter context.
561 * @param in frame to perfrom estimation on.561 * @param in frame to perform estimation on.
562 *562 *
563 * @return 0 in case of success, a negative value corresponding to an563 * @return 0 in case of success, a negative value corresponding to an
564 * AVERROR code in case of failure.564 * AVERROR code in case of failure.
@@ -584,7 +584,7 @@ static int illumination_estimation(AVFilterContext *ctx, AVFrame *in) · 19 unmodified lines
584 *584 *
585 * @param ctx the filter context.585 * @param ctx the filter context.
586 * @param arg data to be passed between threads.586 * @param arg data to be passed between threads.
587 * @param jobnr current job nubmer.587 * @param jobnr current job number.
588 * @param nb_jobs total number of jobs.588 * @param nb_jobs total number of jobs.
589 *589 *
590 * @return 0.590 * @return 0.
libavfilter/vf_convolution_opencl.c+1−1
@@ -352,7 +352,7 @@ static const AVOption convolution_opencl_options[] = { · 351 unmodified lines
352 { "1m", "set matrix for 2nd plane", OFFSET(matrix_str[1]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS },352 { "1m", "set matrix for 2nd plane", OFFSET(matrix_str[1]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS },
353 { "2m", "set matrix for 3rd plane", OFFSET(matrix_str[2]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS },353 { "2m", "set matrix for 3rd plane", OFFSET(matrix_str[2]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS },
354 { "3m", "set matrix for 4th plane", OFFSET(matrix_str[3]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS },354 { "3m", "set matrix for 4th plane", OFFSET(matrix_str[3]), AV_OPT_TYPE_STRING, {.str="0 0 0 0 1 0 0 0 0"}, 0, 0, FLAGS },
355 { "0rdiv", "set rdiv for 1nd plane", OFFSET(rdivs[0]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},355 { "0rdiv", "set rdiv for 1st plane", OFFSET(rdivs[0]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},
356 { "1rdiv", "set rdiv for 2nd plane", OFFSET(rdivs[1]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},356 { "1rdiv", "set rdiv for 2nd plane", OFFSET(rdivs[1]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},
357 { "2rdiv", "set rdiv for 3rd plane", OFFSET(rdivs[2]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},357 { "2rdiv", "set rdiv for 3rd plane", OFFSET(rdivs[2]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},
358 { "3rdiv", "set rdiv for 4th plane", OFFSET(rdivs[3]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},358 { "3rdiv", "set rdiv for 4th plane", OFFSET(rdivs[3]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX, FLAGS},
libavfilter/vf_coreimage.m+1−1
@@ -58,7 +58,7 @@ typedef struct CoreImageContext { · 57 unmodified lines
58 CFTypeRef *filters; ///< CIFilter object for all requested filters58 CFTypeRef *filters; ///< CIFilter object for all requested filters
59 int num_filters; ///< Amount of filters in *filters59 int num_filters; ///< Amount of filters in *filters
60 60
61 char *output_rect; ///< Rectangle to be filled with filter intput61 char *output_rect; ///< Rectangle to be filled with filter input
62 int list_filters; ///< Option used to list all available filters including generators62 int list_filters; ///< Option used to list all available filters including generators
63 int list_generators; ///< Option used to list all available generators63 int list_generators; ///< Option used to list all available generators
64} CoreImageContext;64} CoreImageContext;
libavfilter/vf_curves.c+1−1
@@ -493,7 +493,7 @@ static inline int interpolate_pchip(void *log_ctx, uint16_t *y, · 492 unmodified lines
493 goto end;493 goto end;
494 }494 }
495 495
496 fi = xi + n; /* output values at inteval endpoints */496 fi = xi + n; /* output values at interval endpoints */
497 di = fi + n; /* output slope wrt normalized input at interval endpoints */497 di = fi + n; /* output slope wrt normalized input at interval endpoints */
498 hi = di + n; /* interval widths */498 hi = di + n; /* interval widths */
499 mi = hi + n - 1; /* linear slope over intervals */499 mi = hi + n - 1; /* linear slope over intervals */
libavfilter/vf_dnn_detect.c+1−1
@@ -81,7 +81,7 @@ static const AVOption dnn_detect_options[] = { · 80 unmodified lines
81 { "cell_w", "cell width", OFFSET2(cell_w), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INTMAX_MAX, FLAGS },81 { "cell_w", "cell width", OFFSET2(cell_w), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INTMAX_MAX, FLAGS },
82 { "cell_h", "cell height", OFFSET2(cell_h), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INTMAX_MAX, FLAGS },82 { "cell_h", "cell height", OFFSET2(cell_h), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INTMAX_MAX, FLAGS },
83 { "nb_classes", "The number of class", OFFSET2(nb_classes), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INTMAX_MAX, FLAGS },83 { "nb_classes", "The number of class", OFFSET2(nb_classes), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INTMAX_MAX, FLAGS },
84 { "anchors", "anchors, splited by '&'", OFFSET2(anchors), AV_OPT_TYPE_FLOAT | AV_OPT_TYPE_FLAG_ARRAY, { .arr = &anchor_array_def }, FLT_MIN, FLT_MAX, FLAGS },84 { "anchors", "anchors, split by '&'", OFFSET2(anchors), AV_OPT_TYPE_FLOAT | AV_OPT_TYPE_FLAG_ARRAY, { .arr = &anchor_array_def }, FLT_MIN, FLT_MAX, FLAGS },
85 { NULL }85 { NULL }
86};86};
87 87
libavfilter/vf_drawbox.c+1−1
@@ -454,7 +454,7 @@ static const AVOption drawbox_options[] = { · 453 unmodified lines
454 { "thickness", "set the box thickness", OFFSET(t_expr), AV_OPT_TYPE_STRING, { .str="3" }, 0, 0, FLAGS },454 { "thickness", "set the box thickness", OFFSET(t_expr), AV_OPT_TYPE_STRING, { .str="3" }, 0, 0, FLAGS },
455 { "t", "set the box thickness", OFFSET(t_expr), AV_OPT_TYPE_STRING, { .str="3" }, 0, 0, FLAGS },455 { "t", "set the box thickness", OFFSET(t_expr), AV_OPT_TYPE_STRING, { .str="3" }, 0, 0, FLAGS },
456 { "replace", "replace color & alpha", OFFSET(replace), AV_OPT_TYPE_BOOL, { .i64=0 }, 0, 1, FLAGS },456 { "replace", "replace color & alpha", OFFSET(replace), AV_OPT_TYPE_BOOL, { .i64=0 }, 0, 1, FLAGS },
457 { "box_source", "use datas from bounding box in side data", OFFSET(box_source_string), AV_OPT_TYPE_STRING, { .str=NULL }, 0, 1, FLAGS },457 { "box_source","use data from bounding box in side data", OFFSET(box_source_string), AV_OPT_TYPE_STRING, { .str=NULL }, 0, 1, FLAGS },
458 { NULL }458 { NULL }
459};459};
460 460
libavfilter/vf_drawtext.c+2−2
@@ -562,7 +562,7 @@ static int load_font_fontconfig(AVFilterContext *ctx) · 561 unmodified lines
562 FcDefaultSubstitute(pat);562 FcDefaultSubstitute(pat);
563 563
564 if (!FcConfigSubstitute(fontconfig, pat, FcMatchPattern)) {564 if (!FcConfigSubstitute(fontconfig, pat, FcMatchPattern)) {
565 av_log(ctx, AV_LOG_ERROR, "could not substitue fontconfig options"); /* very unlikely */565 av_log(ctx, AV_LOG_ERROR, "could not substitute fontconfig options"); /* very unlikely */
566 FcPatternDestroy(pat);566 FcPatternDestroy(pat);
567 return AVERROR(ENOMEM);567 return AVERROR(ENOMEM);
568 }568 }
@@ -866,7 +866,7 @@ static int func_pts(void *ctx, AVBPrint *bp, const char *function_name, unsigned · 297 unmodified lines
866 if (argc >= 3) {866 if (argc >= 3) {
867 if (!strcmp(fmt, "hms")) {867 if (!strcmp(fmt, "hms")) {
868 if (!strcmp(argv[2], "24HH")) {868 if (!strcmp(argv[2], "24HH")) {
869 av_log(ctx, AV_LOG_WARNING, "pts third argument 24HH is deprected, use pts:hms24hh instead\n");869 av_log(ctx, AV_LOG_WARNING, "pts third argument 24HH is deprecated, use pts:hms24hh instead\n");
870 fmt = "hms24";870 fmt = "hms24";
871 } else {871 } else {
872 av_log(ctx, AV_LOG_ERROR, "Invalid argument '%s', '24HH' was expected\n", argv[2]);872 av_log(ctx, AV_LOG_ERROR, "Invalid argument '%s', '24HH' was expected\n", argv[2]);
libavfilter/vf_fspp.c+1−1
@@ -463,7 +463,7 @@ static void row_fdct_c(int16_t *data, const uint8_t *pixels, ptrdiff_t line_size · 462 unmodified lines
463 tmp12 = tmp1 - tmp2;463 tmp12 = tmp1 - tmp2;
464 //Even columns are written first, this leads to different order of columns464 //Even columns are written first, this leads to different order of columns
465 //in column_fidct(), but they are processed independently, so all ok.465 //in column_fidct(), but they are processed independently, so all ok.
466 //Later in the row_idct() columns readed at the same order.466 //Later in the row_idct() columns are read in the same order.
467 dataptr[2] = tmp10 + tmp11;467 dataptr[2] = tmp10 + tmp11;
468 dataptr[3] = tmp10 - tmp11;468 dataptr[3] = tmp10 - tmp11;
469 469
libavfilter/vf_libplacebo.c+1−1
@@ -1412,7 +1412,7 @@ static int libplacebo_config_output(AVFilterLink *outlink) · 1411 unmodified lines
1412 1412
1413 s->vkctx.output_width = outlink->w;1413 s->vkctx.output_width = outlink->w;
1414 s->vkctx.output_height = outlink->h;1414 s->vkctx.output_height = outlink->h;
1415 /* Default to re-using the input format */1415 /* Default to reusing the input format */
1416 if (s->out_format == AV_PIX_FMT_NONE || s->out_format == AV_PIX_FMT_VULKAN) {1416 if (s->out_format == AV_PIX_FMT_NONE || s->out_format == AV_PIX_FMT_VULKAN) {
1417 s->vkctx.output_format = s->vkctx.input_format;1417 s->vkctx.output_format = s->vkctx.input_format;
1418 } else {1418 } else {
libavfilter/vf_mpdecimate.c+1−1
@@ -208,7 +208,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur) · 207 unmodified lines
208 av_frame_free(&decimate->ref);208 av_frame_free(&decimate->ref);
209 decimate->ref = cur;209 decimate->ref = cur;
210 decimate->drop_count = FFMIN(-1, decimate->drop_count-1);210 decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
211 if (decimate->keep_count < 0) // re-enable counting similiar frames to ignore before dropping211 if (decimate->keep_count < 0) // re-enable counting similar frames to ignore before dropping
212 decimate->keep_count = 0;212 decimate->keep_count = 0;
213 213
214 if ((ret = ff_filter_frame(outlink, av_frame_clone(cur))) < 0)214 if ((ret = ff_filter_frame(outlink, av_frame_clone(cur))) < 0)
libavfilter/vf_overlay_qsv.c+1−1
@@ -137,7 +137,7 @@ static int eval_expr(AVFilterContext *ctx) · 136 unmodified lines
137 var_values[VAR_OVERLAY_X] =137 var_values[VAR_OVERLAY_X] =
138 var_values[VAR_OX] = av_expr_eval(ox_expr, var_values, NULL);138 var_values[VAR_OX] = av_expr_eval(ox_expr, var_values, NULL);
139 139
140 /* calc overlay_w and overlay_h again incase relative to ox,oy */140 /* calc overlay_w and overlay_h again in case relative to ox,oy */
141 var_values[VAR_OVERLAY_W] =141 var_values[VAR_OVERLAY_W] =
142 var_values[VAR_OW] = av_expr_eval(ow_expr, var_values, NULL);142 var_values[VAR_OW] = av_expr_eval(ow_expr, var_values, NULL);
143 var_values[VAR_OVERLAY_H] =143 var_values[VAR_OVERLAY_H] =
libavfilter/vf_overlay_vaapi.c+1−1
@@ -108,7 +108,7 @@ static int eval_expr(AVFilterContext *avctx) · 107 unmodified lines
108 var_values[VAR_OVERLAY_X] =108 var_values[VAR_OVERLAY_X] =
109 var_values[VAR_OX] = av_expr_eval(ox_expr, var_values, NULL);109 var_values[VAR_OX] = av_expr_eval(ox_expr, var_values, NULL);
110 110
111 /* calc overlay_w and overlay_h again incase relative to ox,oy */111 /* calc overlay_w and overlay_h again in case relative to ox,oy */
112 var_values[VAR_OVERLAY_W] =112 var_values[VAR_OVERLAY_W] =
113 var_values[VAR_OW] = av_expr_eval(ow_expr, var_values, NULL);113 var_values[VAR_OW] = av_expr_eval(ow_expr, var_values, NULL);
114 var_values[VAR_OVERLAY_H] =114 var_values[VAR_OVERLAY_H] =
libavfilter/vf_removelogo.c+2−2
@@ -49,7 +49,7 @@ · 48 unmodified lines
49 * remove rough edges, is stored in each pixel. This is done using an in-place49 * remove rough edges, is stored in each pixel. This is done using an in-place
50 * erosion algorithm, and incrementing each pixel that survives any given50 * erosion algorithm, and incrementing each pixel that survives any given
51 * erosion. Once every pixel is eroded, the maximum value is recorded, and a51 * erosion. Once every pixel is eroded, the maximum value is recorded, and a
52 * set of masks from size 0 to this size are generaged. The masks are circular52 * set of masks from size 0 to this size are generated. The masks are circular
53 * binary masks, where each pixel within a radius N (where N is the size of the53 * binary masks, where each pixel within a radius N (where N is the size of the
54 * mask) is a 1, and all other pixels are a 0. Although a gaussian mask would be54 * mask) is a 1, and all other pixels are a 0. Although a gaussian mask would be
55 * more mathematically accurate, a binary mask works better in practice because55 * more mathematically accurate, a binary mask works better in practice because
@@ -64,7 +64,7 @@ · 8 unmodified lines
64 * condition is met (that the image function itself is continuous), even if the64 * condition is met (that the image function itself is continuous), even if the
65 * second boundary condition (that the derivative of the image function is65 * second boundary condition (that the derivative of the image function is
66 * continuous) is not met. A masking algorithm that does preserve the second66 * continuous) is not met. A masking algorithm that does preserve the second
67 * boundary coundition (perhaps something based on a highly-modified bi-cubic67 * boundary condition (perhaps something based on a highly-modified bi-cubic
68 * algorithm) should offer even better results on paper, but the noise in a68 * algorithm) should offer even better results on paper, but the noise in a
69 * typical TV signal should make anything based on derivatives hopelessly noisy.69 * typical TV signal should make anything based on derivatives hopelessly noisy.
70 */70 */
libavfilter/vf_signalstats.c+3−3
@@ -1,7 +1,7 @@
1/*1/*
2 * Copyright (c) 2010 Mark Heath mjpeg0 @ silicontrip dot org2 * Copyright (c) 2010 Mark Heath mjpeg0 @ silicontrip dot org
3 * Copyright (c) 2014 Clément Bœsch3 * Copyright (c) 2014 Clément Bœsch
4 * Copyright (c) 2014 Dave Rice @dericed4 * Copyright (c) 2014 Dave Rice
5 *5 *
6 * This file is part of FFmpeg.6 * This file is part of FFmpeg.
7 *7 *
@@ -304,7 +304,7 @@ static int filter8_tout(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) · 296 unmodified lines
304 continue;304 continue;
305 305
306 // detect two pixels above and below (to eliminate interlace artefacts)306 // detect two pixels above and below (to eliminate interlace artefacts)
307 // should check that video format is infact interlaced.307 // should check that video format is in fact interlaced.
308 308
309#define FILTER(i, j) \309#define FILTER(i, j) \
310 filter_tout_outlier(p[(y-j) * lw + x + i], \310 filter_tout_outlier(p[(y-j) * lw + x + i], \
@@ -352,7 +352,7 @@ static int filter16_tout(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs · 41 unmodified lines
352 continue;352 continue;
353 353
354 // detect two pixels above and below (to eliminate interlace artefacts)354 // detect two pixels above and below (to eliminate interlace artefacts)
355 // should check that video format is infact interlaced.355 // should check that video format is in fact interlaced.
356 356
357 if (y - 2 >= 0 && y + 2 < h) {357 if (y - 2 >= 0 && y + 2 < h) {
358 for (x = 1; x < w - 1; x++) {358 for (x = 1; x < w - 1; x++) {
libavfilter/vf_signature.c+1−1
@@ -581,7 +581,7 @@ static int request_frame(AVFilterLink *outlink) · 580 unmodified lines
581 StreamContext *sc, *sc2;581 StreamContext *sc, *sc2;
582 MatchingInfo match;582 MatchingInfo match;
583 int i, j, ret;583 int i, j, ret;
584 int lookup = 1; /* indicates wheather EOF of all files is reached */584 int lookup = 1; /* indicates whether EOF of all files is reached */
585 585
586 /* process all inputs */586 /* process all inputs */
587 for (i = 0; i < sic->nb_inputs; i++){587 for (i = 0; i < sic->nb_inputs; i++){
libavfilter/vf_siti.c+1−1
@@ -103,7 +103,7 @@ static av_cold void uninit(AVFilterContext *ctx) · 102 unmodified lines
103 103
104static int config_input(AVFilterLink *inlink)104static int config_input(AVFilterLink *inlink)
105{105{
106 // Video input data avilable106 // Video input data available
107 AVFilterContext *ctx = inlink->dst;107 AVFilterContext *ctx = inlink->dst;
108 SiTiContext *s = ctx->priv;108 SiTiContext *s = ctx->priv;
109 int max_pixsteps[4];109 int max_pixsteps[4];
libavfilter/vf_ssim360.c+2−2
@@ -38,7 +38,7 @@ · 37 unmodified lines
38 38
39/*39/*
40 * @file40 * @file
41 * Caculate the SSIM between two input 360 videos.41 * Calculate the SSIM between two input 360 videos.
42 */42 */
43 43
44#include <math.h>44#include <math.h>
@@ -250,7 +250,7 @@ static const AVOption ssim360_options[] = { · 205 unmodified lines
250 OFFSET(ref_pad), AV_OPT_TYPE_FLOAT, {.dbl = .0f}, 0, 10, .flags = FLAGS },250 OFFSET(ref_pad), AV_OPT_TYPE_FLOAT, {.dbl = .0f}, 0, 10, .flags = FLAGS },
251 251
252 { "main_pad",252 { "main_pad",
253 "Expansion (padding) coeffiecient for each cube face of the main video",253 "Expansion (padding) coefficient for each cube face of the main video",
254 OFFSET(main_pad), AV_OPT_TYPE_FLOAT, {.dbl = .0f}, 0, 10, .flags = FLAGS },254 OFFSET(main_pad), AV_OPT_TYPE_FLOAT, {.dbl = .0f}, 0, 10, .flags = FLAGS },
255 255
256 { "use_tape",256 { "use_tape",
libavfilter/vf_tonemap_opencl.c+1−1
@@ -158,7 +158,7 @@ static int tonemap_opencl_init(AVFilterContext *avctx) · 157 unmodified lines
158 av_log(ctx, AV_LOG_DEBUG, "mapping range from %s to %s\n",158 av_log(ctx, AV_LOG_DEBUG, "mapping range from %s to %s\n",
159 av_color_range_name(ctx->range_in),159 av_color_range_name(ctx->range_in),
160 av_color_range_name(ctx->range_out));160 av_color_range_name(ctx->range_out));
161 // checking valid value just because of limited implementaion161 // checking valid value just because of limited implementation
162 // please remove when more functionalities are implemented162 // please remove when more functionalities are implemented
163 av_assert0(ctx->trc_out == AVCOL_TRC_BT709 ||163 av_assert0(ctx->trc_out == AVCOL_TRC_BT709 ||
164 ctx->trc_out == AVCOL_TRC_BT2020_10);164 ctx->trc_out == AVCOL_TRC_BT2020_10);
libavfilter/vf_uspp.c+1−1
@@ -410,7 +410,7 @@ static int config_input(AVFilterLink *inlink) · 409 unmodified lines
410 }410 }
411 avctx_enc->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;411 avctx_enc->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
412 avctx_enc->global_quality = 123;412 avctx_enc->global_quality = 123;
413 avctx_enc->thread_count = 1; // We do threading in the filter with muiltiple codecs413 avctx_enc->thread_count = 1; // We do threading in the filter with multiple codecs
414 ret = avcodec_open2(avctx_enc, enc, &opts);414 ret = avcodec_open2(avctx_enc, enc, &opts);
415 av_dict_free(&opts);415 av_dict_free(&opts);
416 if (ret < 0)416 if (ret < 0)
libavfilter/vf_zscale.c+1−1
@@ -648,7 +648,7 @@ static int graphs_build(AVFrame *in, AVFrame *out, const AVPixFmtDescriptor *des · 647 unmodified lines
648 alpha_src_format = s->alpha_src_format;648 alpha_src_format = s->alpha_src_format;
649 alpha_dst_format = s->alpha_dst_format;649 alpha_dst_format = s->alpha_dst_format;
650 /* The input slice is specified through the active_region field, unlike the output slice.650 /* The input slice is specified through the active_region field, unlike the output slice.
651 according to zimg requirements input and output slices should have even dimentions */651 according to zimg requirements input and output slices should have even dimensions */
652 alpha_src_format.active_region.width = in->width;652 alpha_src_format.active_region.width = in->width;
653 alpha_src_format.active_region.height = in_slice_end - in_slice_start;653 alpha_src_format.active_region.height = in_slice_end - in_slice_start;
654 alpha_src_format.active_region.left = 0;654 alpha_src_format.active_region.left = 0;
libavfilter/vsrc_ddagrab.c+1−1
@@ -716,7 +716,7 @@ static int next_frame_internal(AVFilterContext *avctx, ID3D11Texture2D **desktop · 715 unmodified lines
716 goto error;716 goto error;
717 }717 }
718 718
719 // Unforunately, we can't rely on the desktop_resource's format in this case.719 // Unfortunately, we can't rely on the desktop_resource's format in this case.
720 // The API might even return it in with a format that was not in the initial720 // The API might even return it in with a format that was not in the initial
721 // list of supported formats, and it can change/flicker randomly.721 // list of supported formats, and it can change/flicker randomly.
722 // To work around this, return an internal copy of the last valid texture we got.722 // To work around this, return an internal copy of the last valid texture we got.
libavfilter/x86/vf_hqdn3d.asm+1−1
@@ -87,7 +87,7 @@ ALIGN 16 · 86 unmodified lines
87 mov [frameantq+xq*2], t0w87 mov [frameantq+xq*2], t0w
88 movifnidn dstq, dstmp88 movifnidn dstq, dstmp
89%if %1 != 1689%if %1 != 16
90 shr t0d, 16-%1 ; could eliminate this by storing from t0h, but only with some contraints on register allocation90 shr t0d, 16-%1 ; could eliminate this by storing from t0h, but only with some constraints on register allocation
91%endif91%endif
92%if %1 == 892%if %1 == 8
93 mov [dstq+xq], t0b93 mov [dstq+xq], t0b

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t