/third_party/ffmpeg/libavcodec/ |
D | ylc.c | 290 int ret, x, y, toffset, boffset; in decode_frame() local 306 boffset = AV_RL32(buf + 12); in decode_frame() 307 if (toffset >= boffset || boffset >= avpkt->size) in decode_frame() 314 FFMAX(boffset - toffset, avpkt->size - boffset) in decode_frame() 319 memcpy(s->buffer, avpkt->data + toffset, boffset - toffset); in decode_frame() 320 memset(s->buffer + boffset - toffset, 0, AV_INPUT_BUFFER_PADDING_SIZE); in decode_frame() 323 (boffset - toffset + 3) >> 2); in decode_frame() 324 if ((ret = init_get_bits8(&gb, s->buffer, boffset - toffset)) < 0) in decode_frame() 340 memcpy(s->buffer, avpkt->data + boffset, avpkt->size - boffset); in decode_frame() 341 memset(s->buffer + avpkt->size - boffset, 0, AV_INPUT_BUFFER_PADDING_SIZE); in decode_frame() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_colortemperature.c | 199 const uint8_t boffset = s->rgba_map[B]; in temperature_slice8p() local 208 float b = ptr[x * step + boffset]; in temperature_slice8p() 216 ptr[x * step + boffset] = av_clip_uint8(nb); in temperature_slice8p() 239 const uint8_t boffset = s->rgba_map[B]; in temperature_slice16p() local 248 float b = ptr[x * step + boffset]; in temperature_slice16p() 256 ptr[x * step + boffset] = av_clip_uintp2_c(nb, depth); in temperature_slice16p()
|
D | vf_vibrance.c | 183 const uint8_t boffset = s->rgba_map[B]; in vibrance_slice8p() local 200 float b = ptr[x * step + boffset] * scale; in vibrance_slice8p() 215 ptr[x * step + boffset] = av_clip_uint8(b * 255.f); in vibrance_slice8p() 238 const uint8_t boffset = s->rgba_map[B]; in vibrance_slice16p() local 257 float b = ptr[x * step + boffset] * scale; in vibrance_slice16p() 272 ptr[x * step + boffset] = av_clip_uintp2_c(b * max, depth); in vibrance_slice16p()
|
D | vf_colorcontrast.c | 210 const uint8_t boffset = s->rgba_map[B]; in colorcontrast_slice8p() local 225 float b = ptr[x * step + boffset]; in colorcontrast_slice8p() 238 ptr[x * step + boffset] = av_clip_uint8(nb); in colorcontrast_slice8p() 262 const uint8_t boffset = s->rgba_map[B]; in colorcontrast_slice16p() local 277 float b = ptr[x * step + boffset]; in colorcontrast_slice16p() 290 ptr[x * step + boffset] = av_clip_uintp2_c(nb, depth); in colorcontrast_slice16p()
|
D | vf_colorbalance.c | 277 const uint8_t boffset = s->rgba_map[B]; in color_balance8() local 292 float b = src[j + boffset] / max; in color_balance8() 304 dst[j + boffset] = av_clip_uint8(lrintf(b * max)); in color_balance8() 328 const uint8_t boffset = s->rgba_map[B]; in color_balance16() local 344 float b = src[j + boffset] / max; in color_balance16() 356 dst[j + boffset] = av_clip_uintp2_c(lrintf(b * max), depth); in color_balance16()
|
D | vf_colorchannelmixer.c | 408 const uint8_t boffset = s->rgba_map[B]; in filter_slice_rgba_packed() local 421 const uint8_t bin = src[j + boffset]; in filter_slice_rgba_packed() 457 dst[j + boffset] = av_clip_uint8(bout); in filter_slice_rgba_packed() 490 const uint8_t boffset = s->rgba_map[B]; in filter_slice_rgba16_packed() local 503 const uint16_t bin = src[j + boffset]; in filter_slice_rgba16_packed() 539 dst[j + boffset] = av_clip_uint16(bout); in filter_slice_rgba16_packed()
|
D | vf_selectivecolor.c | 332 …const uint8_t boffset = s->rgba_map[B]; … 342 … const int b = src[x + boffset]; \ 387 … dst[x + boffset] = av_clip_uint##nbits(b + adjust_b); \
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | tjunittest.c | 103 int boffset = tjBlueOffset[pf]; in initBuf() local 142 buf[index * ps + boffset] = 255; in initBuf() 182 int boffset = tjBlueOffset[pf]; in checkBuf() local 189 if (pf == TJPF_GRAY) roffset = goffset = boffset = 0; in checkBuf() 224 b = buf[index * ps + boffset]; in checkBuf() 262 buf[(row * w + col) * ps + boffset]); in checkBuf() 641 int boffset = tjBlueOffset[pf]; in initBitmap() local 663 buf[row * pitch + i * ps + boffset] = b; in initBitmap() 675 int boffset = tjBlueOffset[pf]; in cmpBitmap() local 706 buf[row * pitch + i * ps + boffset] != b) in cmpBitmap() [all …]
|
/third_party/libjpeg-turbo/ |
D | tjunittest.c | 103 int boffset = tjBlueOffset[pf]; in initBuf() local 142 buf[index * ps + boffset] = 255; in initBuf() 182 int boffset = tjBlueOffset[pf]; in checkBuf() local 189 if (pf == TJPF_GRAY) roffset = goffset = boffset = 0; in checkBuf() 224 b = buf[index * ps + boffset]; in checkBuf() 262 buf[(row * w + col) * ps + boffset]); in checkBuf() 679 int boffset = tjBlueOffset[pf]; in initBitmap() local 701 buf[row * pitch + i * ps + boffset] = b; in initBitmap() 713 int boffset = tjBlueOffset[pf]; in cmpBitmap() local 744 buf[row * pitch + i * ps + boffset] != b) in cmpBitmap() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | tjunittest.c | 107 int boffset = tjBlueOffset[pf]; in initBuf() local 146 buf[index * ps + boffset] = 255; in initBuf() 188 int boffset = tjBlueOffset[pf]; in checkBuf() local 195 if (pf == TJPF_GRAY) roffset = goffset = boffset = 0; in checkBuf() 230 b = buf[index * ps + boffset]; in checkBuf() 269 buf[(row * w + col) * ps + boffset]); in checkBuf() 697 int boffset = tjBlueOffset[pf]; in initBitmap() local 719 buf[row * pitch + i * ps + boffset] = b; in initBitmap() 731 int boffset = tjBlueOffset[pf]; in cmpBitmap() local 762 buf[row * pitch + i * ps + boffset] != b) in cmpBitmap() [all …]
|
/third_party/libjpeg-turbo/java/ |
D | TJUnitTest.java | 149 int boffset = TJ.getBlueOffset(pf); in initBuf() local 201 buf[index + boffset] = (byte)255; in initBuf() 300 int boffset = TJ.getBlueOffset(pf); in checkBuf() local 310 roffset = goffset = boffset = 0; in checkBuf() 352 byte b = buf[index + boffset]; in checkBuf() 409 int b = buf[pitch * row + col * ps + boffset]; in checkBuf()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJUnitTest.java | 149 int boffset = TJ.getBlueOffset(pf); in initBuf() local 201 buf[index + boffset] = (byte)255; in initBuf() 300 int boffset = TJ.getBlueOffset(pf); in checkBuf() local 310 roffset = goffset = boffset = 0; in checkBuf() 352 byte b = buf[index + boffset]; in checkBuf() 409 int b = buf[pitch * row + col * ps + boffset]; in checkBuf()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | gsttagdemux.c | 379 guint64 out_offset, boffset; in gst_tag_demux_trim_buffer() local 384 boffset = out_offset = GST_BUFFER_OFFSET (buf); in gst_tag_demux_trim_buffer() 439 bsize, boffset, out_size, out_offset); in gst_tag_demux_trim_buffer() 455 bsize, boffset, out_size, out_offset); in gst_tag_demux_trim_buffer() 462 bsize, boffset, out_size, out_offset); in gst_tag_demux_trim_buffer()
|
/third_party/gstreamer/gstplugins_good/gst/audioparsers/ |
D | gstflacparse.c | 1188 gst_flac_parse_process_seektable (GstFlacParse * flacparse, gint64 boffset) in gst_flac_parse_process_seektable() argument 1195 "parsing seektable; base offset %" G_GINT64_FORMAT, boffset); in gst_flac_parse_process_seektable() 1197 if (boffset <= 0) in gst_flac_parse_process_seektable() 1222 boffset + offset, gst_util_uint64_scale (samples, GST_SECOND, in gst_flac_parse_process_seektable()
|
/third_party/gstreamer/gstplugins_good/gst/avi/ |
D | gstavidemux.c | 761 gint64 boffset, offset = 0; in gst_avi_demux_handle_sink_event() local 788 boffset = segment.start + 8; in gst_avi_demux_handle_sink_event() 797 GST_SEARCH_MODE_AFTER, &boffset, NULL); in gst_avi_demux_handle_sink_event() 809 if (stream->index[index].offset == boffset) in gst_avi_demux_handle_sink_event() 812 boffset -= 8; in gst_avi_demux_handle_sink_event() 867 boffset); in gst_avi_demux_handle_sink_event() 878 g_assert (offset >= boffset); in gst_avi_demux_handle_sink_event() 879 avi->offset = boffset; in gst_avi_demux_handle_sink_event() 880 avi->todrop = offset - boffset; in gst_avi_demux_handle_sink_event()
|