Home
last modified time | relevance | path

Searched refs:coef_idx (Results 1 – 25 of 36) sorted by relevance

12

/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/restoration/
H A Dinpaint.py26 coef_idx = np.where(neigh_coef)
27 coef_vals = neigh_coef[coef_idx]
29 coef_idx = np.stack(coef_idx, axis=0)
30 return neigh_coef, coef_idx, coef_vals
123 coef_idx, coefs = coef_cache.get((coef_shape, coef_center),
125 if coef_idx is None:
126 _ , coef_idx, coefs = _get_neigh_coef(coef_shape,
129 coef_cache[(coef_shape, coef_center)] = (coef_idx, coefs)
132 coef_idx = coef_idx + b_lo[:, np.newaxis]
133 index1d = np.ravel_multi_index(coef_idx, mask.shape)
[all …]
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/DSP/
H A DDSPAccelerator.cpp81 int coef_idx = (m_pred_scale >> 4) & 0x7; in Read() local
83 s32 coef1 = coefs[coef_idx * 2 + 0]; in Read()
84 s32 coef2 = coefs[coef_idx * 2 + 1]; in Read()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dbink.c614 int coef_idx[64], int q) in read_dct_coeffs()
661 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
682 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
706 int coef_count, int coef_idx[64], in unquantize_dct_coeffs()
712 int idx = coef_idx[i]; in unquantize_dct_coeffs()
833 int qp, quant_idx, coef_count, coef_idx[64]; in binkb_decode_plane() local
888 … if ((quant_idx = read_dct_coeffs(gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
923 … if ((quant_idx = read_dct_coeffs(gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
999 int coordmap[64], quant_idx, coef_count, coef_idx[64]; in bink_decode_plane() local
1171 … if ((quant_idx = read_dct_coeffs(gb, dctblock, bink_scan, &coef_count, coef_idx, -1)) < 0) in bink_decode_plane()
[all …]
H A Daacenc_tns.c91 coef_compress = compress_coeffs(tns->coef_idx[i][filt], in ff_aac_encode_tns_info()
96 put_bits(&s->pb, coef_len, tns->coef_idx[i][filt][w]); in ff_aac_encode_tns_info()
207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
H A Daac.h166 int coef_idx; member
204 int coef_idx[8][4][TNS_MAX_ORDER]; member
H A Daacenc_ltp.c48 put_bits(&s->pb, 3, ics->ltp.coef_idx); in ff_aac_encode_ltp_info()
95 ltp->coef_idx = quant_array_idx(max_ratio, ltp_coef, 8); in get_lag()
96 ltp->coef = ltp_coef[ltp->coef_idx]; in get_lag()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dbink.c642 int coef_idx[64], int q) in read_dct_coeffs()
692 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
713 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
737 int coef_count, int coef_idx[64], in unquantize_dct_coeffs()
743 int idx = coef_idx[i]; in unquantize_dct_coeffs()
864 int qp, quant_idx, coef_count, coef_idx[64]; in binkb_decode_plane() local
919 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
954 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
1030 int coordmap[64], quant_idx, coef_count, coef_idx[64]; in bink_decode_plane() local
1205 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, -1)) < 0) in bink_decode_plane()
[all …]
H A Daacenc_tns.c91 coef_compress = compress_coeffs(tns->coef_idx[i][filt], in ff_aac_encode_tns_info()
96 put_bits(&s->pb, coef_len, tns->coef_idx[i][filt][w]); in ff_aac_encode_tns_info()
207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
H A Daacenc_ltp.c48 put_bits(&s->pb, 3, ics->ltp.coef_idx); in ff_aac_encode_ltp_info()
95 ltp->coef_idx = quant_array_idx(max_ratio, ltp_coef, 8); in get_lag()
96 ltp->coef = ltp_coef[ltp->coef_idx]; in get_lag()
H A Daac.h167 int coef_idx; member
205 int coef_idx[8][4][TNS_MAX_ORDER]; member
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dbink.c642 int coef_idx[64], int q) in read_dct_coeffs()
692 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
713 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
737 int coef_count, int coef_idx[64], in unquantize_dct_coeffs()
743 int idx = coef_idx[i]; in unquantize_dct_coeffs()
864 int qp, quant_idx, coef_count, coef_idx[64]; in binkb_decode_plane() local
919 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
954 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
1030 int coordmap[64], quant_idx, coef_count, coef_idx[64]; in bink_decode_plane() local
1205 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, -1)) < 0) in bink_decode_plane()
[all …]
H A Daacenc_tns.c91 coef_compress = compress_coeffs(tns->coef_idx[i][filt], in ff_aac_encode_tns_info()
96 put_bits(&s->pb, coef_len, tns->coef_idx[i][filt][w]); in ff_aac_encode_tns_info()
207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
H A Daacenc_ltp.c48 put_bits(&s->pb, 3, ics->ltp.coef_idx); in ff_aac_encode_ltp_info()
95 ltp->coef_idx = quant_array_idx(max_ratio, ltp_coef, 8); in get_lag()
96 ltp->coef = ltp_coef[ltp->coef_idx]; in get_lag()
H A Daac.h167 int coef_idx; member
205 int coef_idx[8][4][TNS_MAX_ORDER]; member
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dbink.c640 int coef_idx[64], int q) in read_dct_coeffs()
690 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
711 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
735 int coef_count, int coef_idx[64], in unquantize_dct_coeffs()
741 int idx = coef_idx[i]; in unquantize_dct_coeffs()
862 int qp, quant_idx, coef_count, coef_idx[64]; in binkb_decode_plane() local
917 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
952 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
1028 int coordmap[64], quant_idx, coef_count, coef_idx[64]; in bink_decode_plane() local
1203 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, -1)) < 0) in bink_decode_plane()
[all …]
H A Daacenc_tns.c91 coef_compress = compress_coeffs(tns->coef_idx[i][filt], in ff_aac_encode_tns_info()
96 put_bits(&s->pb, coef_len, tns->coef_idx[i][filt][w]); in ff_aac_encode_tns_info()
207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
H A Daac.h166 int coef_idx; member
204 int coef_idx[8][4][TNS_MAX_ORDER]; member
H A Daacenc_ltp.c48 put_bits(&s->pb, 3, ics->ltp.coef_idx); in ff_aac_encode_ltp_info()
95 ltp->coef_idx = quant_array_idx(max_ratio, ltp_coef, 8); in get_lag()
96 ltp->coef = ltp_coef[ltp->coef_idx]; in get_lag()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dbink.c641 int coef_idx[64], int q) in read_dct_coeffs()
691 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
712 coef_idx[coef_count++] = ccoef; in read_dct_coeffs()
736 int coef_count, int coef_idx[64], in unquantize_dct_coeffs()
742 int idx = coef_idx[i]; in unquantize_dct_coeffs()
863 int qp, quant_idx, coef_count, coef_idx[64]; in binkb_decode_plane() local
918 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
953 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, qp)) < 0) in binkb_decode_plane()
1029 int coordmap[64], quant_idx, coef_count, coef_idx[64]; in bink_decode_plane() local
1204 … if ((quant_idx = read_dct_coeffs(c, gb, dctblock, bink_scan, &coef_count, coef_idx, -1)) < 0) in bink_decode_plane()
[all …]
H A Daacenc_tns.c91 coef_compress = compress_coeffs(tns->coef_idx[i][filt], in ff_aac_encode_tns_info()
96 put_bits(&s->pb, coef_len, tns->coef_idx[i][filt][w]); in ff_aac_encode_tns_info()
207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
H A Daacenc_ltp.c48 put_bits(&s->pb, 3, ics->ltp.coef_idx); in ff_aac_encode_ltp_info()
95 ltp->coef_idx = quant_array_idx(max_ratio, ltp_coef, 8); in get_lag()
96 ltp->coef = ltp_coef[ltp->coef_idx]; in get_lag()
H A Daac.h166 int coef_idx; member
204 int coef_idx[8][4][TNS_MAX_ORDER]; member
/dports/science/dynare/dynare-4.6.4/contrib/ms-sbvar/switch_dw/state_space/sbvar/
H A Dsbvar_impulse_responses.c678 …int i, j, k, t, *var_idx=(int*)NULL, *coef_idx=(int*)NULL, var_regimes, coef_regimes, var_m, coef_… in sbvar_normalize_regimes_ecb() local
717 coef_idx=dw_malloc(var_regimes*sizeof(PRECISION)); in sbvar_normalize_regimes_ecb()
728 for (i=0; i < coef_regimes; i++) coef_idx[i]=i; in sbvar_normalize_regimes_ecb()
732 if (x[coef_idx[k]] < x[coef_idx[j]]) k=j; in sbvar_normalize_regimes_ecb()
735 j=coef_idx[k]; in sbvar_normalize_regimes_ecb()
736 coef_idx[k]=coef_idx[i]; in sbvar_normalize_regimes_ecb()
737 coef_idx[i]=j; in sbvar_normalize_regimes_ecb()
749 { if (COEF_PROCESS >= 0) memcpy(N,coef_idx,model->sv->nstates*sizeof(int)); } in sbvar_normalize_regimes_ecb()
756 N[i*var_m+j*coef_m]=var_idx[i]*var_m+coef_idx[j]*coef_m; in sbvar_normalize_regimes_ecb()
808 if (coef_idx) dw_free(coef_idx); in sbvar_normalize_regimes_ecb()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Devrcdec.c374 int offset, i, coef_idx; in bl_intrp() local
387 coef_idx = t * (2 * 8 + 1); in bl_intrp()
391 ex[0] += e->interpolation_coeffs[coef_idx + i] * f[i]; in bl_intrp()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Devrcdec.c374 int offset, i, coef_idx; in bl_intrp() local
387 coef_idx = t * (2 * 8 + 1); in bl_intrp()
391 ex[0] += e->interpolation_coeffs[coef_idx + i] * f[i]; in bl_intrp()

12