Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dspdif.c31 dst[i + 0] = av_bswap16(src[i + 0]); in ff_spdif_bswap_buf16()
32 dst[i + 1] = av_bswap16(src[i + 1]); in ff_spdif_bswap_buf16()
33 dst[i + 2] = av_bswap16(src[i + 2]); in ff_spdif_bswap_buf16()
34 dst[i + 3] = av_bswap16(src[i + 3]); in ff_spdif_bswap_buf16()
35 dst[i + 4] = av_bswap16(src[i + 4]); in ff_spdif_bswap_buf16()
36 dst[i + 5] = av_bswap16(src[i + 5]); in ff_spdif_bswap_buf16()
37 dst[i + 6] = av_bswap16(src[i + 6]); in ff_spdif_bswap_buf16()
38 dst[i + 7] = av_bswap16(src[i + 7]); in ff_spdif_bswap_buf16()
41 dst[i + 0] = av_bswap16(src[i + 0]); in ff_spdif_bswap_buf16()
Dmovenc.c760 track->par->codec_tag = av_bswap16(track->tag >> 16); in mov_write_ms_tag()
/third_party/ffmpeg/libavutil/x86/
Dbswap.h37 #define av_bswap16 av_bswap16 macro
38 static av_always_inline av_const uint16_t av_bswap16(uint16_t x) in av_bswap16() function
61 #define av_bswap16 av_bswap16 macro
62 static av_always_inline av_const unsigned av_bswap16(unsigned x) in av_bswap16() function
/third_party/ffmpeg/libswscale/
Dswscale_unscaled.c485 dstPtr[j] = av_bswap16(srcPtr[j]); in bswap_16bpc()
581 dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
582 dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
583 dst[2][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
584 dst[3][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
588 dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
589 dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
590 dst[2][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
595 dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
596 dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); in packed16togbra16()
[all …]
Dalphablend.c76 … alpha = (av_bswap16(a[2*x]) + av_bswap16(a[2*x + 1]) + 2 + in ff_sws_alphablendaway()
77av_bswap16(a[2*x + alpha_step]) + av_bswap16(a[2*x + alpha_step + 1])) >> 2; in ff_sws_alphablendaway()
79 alpha = (av_bswap16(a[2*x]) + av_bswap16(a[2*x + 1])) >> 1; in ff_sws_alphablendaway()
80 … u = av_bswap16(s[x])*alpha + target_table[((x^y)>>5)&1][plane]*(max-alpha) + off; in ff_sws_alphablendaway()
111 unsigned aswap =av_bswap16(a[x]); in ff_sws_alphablendaway()
112 … unsigned u = av_bswap16(s[x])*aswap + target_table[((x^y)>>5)&1][plane]*(max-aswap) + off; in ff_sws_alphablendaway()
149 unsigned aswap =av_bswap16(a[x_index]); in ff_sws_alphablendaway()
150 …unsigned u = av_bswap16(s[x_index + plane])*aswap + target_table[((x^y)>>5)&1][plane]*(max-aswap) … in ff_sws_alphablendaway()
Drgb2rgb.c337 d[i ] = swap ? av_bswap16(s[i + 2]) : s[i + 2]; \
338 d[i + 1] = swap ? av_bswap16(s[i + 1]) : s[i + 1]; \
339 d[i + 2] = swap ? av_bswap16(s[i ]) : s[i ]; \
355 d[3 * i ] = swap ? av_bswap16(s[4 * i + 2]) : s[4 * i + 2]; \
356 d[3 * i + 1] = swap ? av_bswap16(s[4 * i + 1]) : s[4 * i + 1]; \
357 d[3 * i + 2] = swap ? av_bswap16(s[4 * i ]) : s[4 * i ]; \
373 d[3 * i ] = swap ? av_bswap16(s[4 * i ]) : s[4 * i ]; \
374 d[3 * i + 1] = swap ? av_bswap16(s[4 * i + 1]) : s[4 * i + 1]; \
375 d[3 * i + 2] = swap ? av_bswap16(s[4 * i + 2]) : s[4 * i + 2]; \
391 d[4 * i ] = swap ? av_bswap16(s[3 * i + 2]) : s[3 * i + 2]; \
[all …]
Doutput.c2241 dest16[0][i] = av_bswap16(dest16[0][i]); in yuv2gbrp_full_X_c()
2242 dest16[1][i] = av_bswap16(dest16[1][i]); in yuv2gbrp_full_X_c()
2243 dest16[2][i] = av_bswap16(dest16[2][i]); in yuv2gbrp_full_X_c()
2245 dest16[3][i] = av_bswap16(dest16[3][i]); in yuv2gbrp_full_X_c()
2316 dest16[0][i] = av_bswap16(dest16[0][i]); in yuv2gbrp16_full_X_c()
2317 dest16[1][i] = av_bswap16(dest16[1][i]); in yuv2gbrp16_full_X_c()
2318 dest16[2][i] = av_bswap16(dest16[2][i]); in yuv2gbrp16_full_X_c()
2320 dest16[3][i] = av_bswap16(dest16[3][i]); in yuv2gbrp16_full_X_c()
Dyuv2rgb.c926 y_table16[i] = av_bswap16(y_table16[i]); in ff_yuv2rgb_c_init_tables()
949 y_table16[i] = av_bswap16(y_table16[i]); in ff_yuv2rgb_c_init_tables()
Dinput.c583 dst[i] = av_bswap16(src[i]); in bswap16Y_c()
594 dstU[i] = av_bswap16(src1[i]); in bswap16UV_c()
595 dstV[i] = av_bswap16(src2[i]); in bswap16UV_c()
/third_party/ffmpeg/libavutil/sh4/
Dbswap.h31 #define av_bswap16 av_bswap16 macro
32 static av_always_inline av_const uint16_t av_bswap16(uint16_t x) in av_bswap16() function
/third_party/ffmpeg/libavutil/avr32/
Dbswap.h28 #define av_bswap16 av_bswap16 macro
29 static av_always_inline av_const uint16_t av_bswap16(uint16_t x) in av_bswap16() function
/third_party/ffmpeg/libavutil/aarch64/
Dbswap.h28 #define av_bswap16 av_bswap16 macro
29 static av_always_inline av_const unsigned av_bswap16(unsigned x) in av_bswap16() function
/third_party/ffmpeg/libavutil/arm/
Dbswap.h39 #define av_bswap16 av_bswap16 macro
40 static av_always_inline av_const unsigned av_bswap16(unsigned x) in av_bswap16() function
/third_party/ffmpeg/libavutil/
Dbswap.h57 #ifndef av_bswap16
58 static av_always_inline av_const uint16_t av_bswap16(uint16_t x) in av_bswap16() function
86 #define av_le2ne16(x) av_bswap16(x)
92 #define av_be2ne16(x) av_bswap16(x)
/third_party/ffmpeg/libavfilter/
Dvf_lut.c381 case 4: outrow[3] = av_bswap16(tab[3][av_bswap16(inrow[3])]); // Fall-through in lut_packed_16bits()
382 case 3: outrow[2] = av_bswap16(tab[2][av_bswap16(inrow[2])]); // Fall-through in lut_packed_16bits()
383 case 2: outrow[1] = av_bswap16(tab[1][av_bswap16(inrow[1])]); // Fall-through in lut_packed_16bits()
384 default: outrow[0] = av_bswap16(tab[0][av_bswap16(inrow[0])]); in lut_packed_16bits()
465 outrow[j] = av_bswap16(tab[av_bswap16(inrow[j])]); in lut_planar_16bits()
Dvf_showinfo.c387 *sum += av_bswap16(src1[i]); in update_sample_stats_16()
388 *sum2 += (uint32_t)av_bswap16(src1[i]) * (uint32_t)av_bswap16(src1[i]); in update_sample_stats_16()
Ddrawutils.c242 color_tmp.comp[plane].u16[x] = av_bswap16(color_tmp.comp[plane].u16[x]); in ff_fill_rectangle()
/third_party/ffmpeg/libavcodec/
Dbswapdsp.c46 *dst++ = av_bswap16(*src++); in bswap16_buf()
Dsvq1dec.c557 …csum = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_CCITT), av_bswap16(csum), bitbuf->buffer, bitb… in svq1_decode_frame_header()
Dsmacker.c670 pred[i] = av_bswap16(get_bits(&gb, 16)); in smka_decode_frame()
Dac3enc.c1702 crc1 = av_bswap16(av_crc(crc_ctx, 0, frame + 4, frame_size_58 - 4)); in output_frame_end()
1717 crc2 = av_bswap16(crc2); in output_frame_end()
Dsanm.c1267 *frm = av_bswap16(*frm); in decode_5()
Dflacenc.c1306 crc = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, s->pb.buf, in write_frame_footer()
Dsvq3.c1281 … s->watermark_key = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_CCITT), 0, buf, buf_len)); in svq3_decode_init()
Dalsdec.c1888 *dest++ = av_bswap16(src[sample]); in decode_frame()