Home
last modified time | relevance | path

Searched refs:boffset (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dylc.c290 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/
Dvf_colortemperature.c199 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()
Dvf_colorcontrast.c210 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()
Dvf_vibrance.c183 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()
Dvf_colorbalance.c277 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()
Dvf_colorchannelmixer.c408 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()
Dvf_selectivecolor.c332 …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/skia/third_party/externals/libjpeg-turbo/
Dtjunittest.c107 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/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgsttagdemux.c379 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/
Dgstflacparse.c1188 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/
Dgstavidemux.c761 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()
/third_party/node/deps/v8/src/execution/riscv64/
Dsimulator-riscv64.cc4690 int64_t next_pc = get_pc() + boffset(); in DecodeRVBType()
4696 int64_t next_pc = get_pc() + boffset(); in DecodeRVBType()
4702 int64_t next_pc = get_pc() + boffset(); in DecodeRVBType()
4708 int64_t next_pc = get_pc() + boffset(); in DecodeRVBType()
4714 int64_t next_pc = get_pc() + boffset(); in DecodeRVBType()
4720 int64_t next_pc = get_pc() + boffset(); in DecodeRVBType()
Dsimulator-riscv64.h589 inline int16_t boffset() const { return instr_.BranchOffset(); } in boffset() function