Home
last modified time | relevance | path

Searched refs:src_frame (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc156 int ConvertNV12ToRGB565(const uint8_t* src_frame, in ConvertNV12ToRGB565() argument
160 const uint8_t* yplane = src_frame; in ConvertNV12ToRGB565()
161 const uint8_t* uvInterlaced = src_frame + (width * abs_height); in ConvertNV12ToRGB565()
169 int ConvertRGB24ToARGB(const uint8_t* src_frame, uint8_t* dst_frame, in ConvertRGB24ToARGB() argument
173 return libyuv::RGB24ToARGB(src_frame, width, in ConvertRGB24ToARGB()
232 const uint8_t* src_frame, in ConvertToI420() argument
248 return libyuv::ConvertToI420(src_frame, sample_size, in ConvertToI420()
262 int ConvertFromI420(const VideoFrame& src_frame, in ConvertFromI420() argument
266 return libyuv::ConvertFromI420(src_frame.buffer(kYPlane), in ConvertFromI420()
267 src_frame.stride(kYPlane), in ConvertFromI420()
[all …]
Dscaler.cc50 int Scaler::Scale(const VideoFrame& src_frame, VideoFrame* dst_frame) { in Scale() argument
52 if (src_frame.IsZeroSize()) in Scale()
72 const uint8_t* y_ptr = src_frame.buffer(kYPlane) + in Scale()
73 src_offset_y * src_frame.stride(kYPlane) + in Scale()
75 const uint8_t* u_ptr = src_frame.buffer(kUPlane) + in Scale()
76 src_offset_y / 2 * src_frame.stride(kUPlane) + in Scale()
78 const uint8_t* v_ptr = src_frame.buffer(kVPlane) + in Scale()
79 src_offset_y / 2 * src_frame.stride(kVPlane) + in Scale()
83 src_frame.stride(kYPlane), in Scale()
85 src_frame.stride(kUPlane), in Scale()
[all …]
/external/webrtc/webrtc/voice_engine/
Dutility.cc24 void RemixAndResample(const AudioFrame& src_frame, in RemixAndResample() argument
27 RemixAndResample(src_frame.data_, src_frame.samples_per_channel_, in RemixAndResample()
28 src_frame.num_channels_, src_frame.sample_rate_hz_, in RemixAndResample()
30 dst_frame->timestamp_ = src_frame.timestamp_; in RemixAndResample()
31 dst_frame->elapsed_time_ms_ = src_frame.elapsed_time_ms_; in RemixAndResample()
32 dst_frame->ntp_time_ms_ = src_frame.ntp_time_ms_; in RemixAndResample()
Dutility.h34 void RemixAndResample(const AudioFrame& src_frame,
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Dconvert_argb.h137 int BGRAToARGB(const uint8* src_frame, int src_stride_frame,
143 int ABGRToARGB(const uint8* src_frame, int src_stride_frame,
149 int RGBAToARGB(const uint8* src_frame, int src_stride_frame,
158 int RGB24ToARGB(const uint8* src_frame, int src_stride_frame,
164 int RAWToARGB(const uint8* src_frame, int src_stride_frame,
170 int RGB565ToARGB(const uint8* src_frame, int src_stride_frame,
176 int ARGB1555ToARGB(const uint8* src_frame, int src_stride_frame,
182 int ARGB4444ToARGB(const uint8* src_frame, int src_stride_frame,
219 int ConvertToARGB(const uint8* src_frame, size_t src_size,
Dconvert.h121 int ARGBToI420(const uint8* src_frame, int src_stride_frame,
129 int BGRAToI420(const uint8* src_frame, int src_stride_frame,
137 int ABGRToI420(const uint8* src_frame, int src_stride_frame,
145 int RGBAToI420(const uint8* src_frame, int src_stride_frame,
153 int RGB24ToI420(const uint8* src_frame, int src_stride_frame,
161 int RAWToI420(const uint8* src_frame, int src_stride_frame,
169 int RGB565ToI420(const uint8* src_frame, int src_stride_frame,
177 int ARGB1555ToI420(const uint8* src_frame, int src_stride_frame,
185 int ARGB4444ToI420(const uint8* src_frame, int src_stride_frame,
231 int ConvertToI420(const uint8* src_frame, size_t src_size,
/external/libyuv/files/include/libyuv/
Dconvert.h184 int ARGBToI420(const uint8* src_frame,
197 int BGRAToI420(const uint8* src_frame,
210 int ABGRToI420(const uint8* src_frame,
223 int RGBAToI420(const uint8* src_frame,
236 int RGB24ToI420(const uint8* src_frame,
249 int RAWToI420(const uint8* src_frame,
262 int RGB565ToI420(const uint8* src_frame,
275 int ARGB1555ToI420(const uint8* src_frame,
288 int ARGB4444ToI420(const uint8* src_frame,
344 int ConvertToI420(const uint8* src_frame,
Dconvert_argb.h348 int BGRAToARGB(const uint8* src_frame,
357 int ABGRToARGB(const uint8* src_frame,
366 int RGBAToARGB(const uint8* src_frame,
378 int RGB24ToARGB(const uint8* src_frame,
387 int RAWToARGB(const uint8* src_frame,
396 int RGB565ToARGB(const uint8* src_frame,
405 int ARGB1555ToARGB(const uint8* src_frame,
414 int ARGB4444ToARGB(const uint8* src_frame,
486 int ConvertToARGB(const uint8* src_frame,
/external/webrtc/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h110 const uint8_t* src_frame,
127 int ConvertFromI420(const VideoFrame& src_frame,
133 int ConvertFromYV12(const VideoFrame& src_frame,
142 int ConvertRGB24ToARGB(const uint8_t* src_frame,
146 int ConvertNV12ToRGB565(const uint8_t* src_frame,
Dscaler.h51 int Scale(const VideoFrame& src_frame, VideoFrame* dst_frame);
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame.cc43 void DesktopFrame::CopyPixelsFrom(const DesktopFrame& src_frame, in CopyPixelsFrom() argument
46 assert(DesktopRect::MakeSize(src_frame.size()).ContainsRect( in CopyPixelsFrom()
49 CopyPixelsFrom(src_frame.GetFrameDataAtPos(src_pos), in CopyPixelsFrom()
50 src_frame.stride(), dest_rect); in CopyPixelsFrom()
Ddesktop_frame.h66 void CopyPixelsFrom(const DesktopFrame& src_frame,
/external/adhd/cras/src/server/
Dcras_mix_ops.c595 int32_t src_frame; in cras_mix_add_clip_s24_3le() local
600 convert_single_s243le_to_s32le(&src_frame, src); in cras_mix_add_clip_s24_3le()
601 sum = (int64_t)dst_frame + (int64_t)src_frame; in cras_mix_add_clip_s24_3le()
620 int32_t src_frame; in scale_add_clip_s24_3le() local
628 convert_single_s243le_to_s32le(&src_frame, src); in scale_add_clip_s24_3le()
629 sum = (int64_t)dst_frame + (int64_t)(src_frame * vol); in scale_add_clip_s24_3le()
744 int32_t src_frame; in cras_mix_add_scale_stride_s24_3le() local
748 convert_single_s243le_to_s32le(&src_frame, src); in cras_mix_add_scale_stride_s24_3le()
750 sum = (int64_t)dst_frame + (int64_t)src_frame * scaler; in cras_mix_add_scale_stride_s24_3le()
752 sum = (int64_t)dst_frame + (int64_t)src_frame; in cras_mix_add_scale_stride_s24_3le()
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc658 const Node* src_frame = OutputFrame(src, cf_info); in AddControlFlow() local
660 const string& src_frame_name = cf_info[src_frame->id()].frame_name; in AddControlFlow()
672 const string& curr_frame_name = cf_info[src_frame->id()].frame_name; in AddControlFlow()
681 AddControlFlowInfo(const_node, src_frame, &cf_info); in AddControlFlow()
707 status = AddControlLoop(opts, g, src_frame, edge, loop_cond, &cf_info, in AddControlFlow()
716 src_frame = cf_info[src_frame->id()].parent_frame; in AddControlFlow()
738 const Node* src_frame = OutputFrame(src, cf_info); in AddControlFlow() local
740 const string& src_frame_name = cf_info[src_frame->id()].frame_name; in AddControlFlow()
/external/libyuv/files/docs/
Drotation.md7 int ConvertToI420(const uint8* src_frame, size_t src_size,
32 int ConvertToARGB(const uint8* src_frame, size_t src_size,
/external/adhd/cras/src/tests/
Dmix_unittest.cc844 int32_t src_frame = 0; in TestScaleStride() local
846 memcpy((uint8_t *)&src_frame + 1, src_buffer_ + 3*i/2, 3); in TestScaleStride()
849 tmp = (int64_t)dst_frame + (int64_t)src_frame * scaler; in TestScaleStride()
851 tmp = (int64_t)dst_frame + (int64_t)src_frame; in TestScaleStride()
/external/perfetto/src/trace_processor/
Dproto_trace_parser.cc1324 HeapProfileTracker::SourceFrame src_frame; in ParseProfilePacket() local
1325 src_frame.name_id = entry.function_name_id(); in ParseProfilePacket()
1326 src_frame.mapping_id = entry.mapping_id(); in ParseProfilePacket()
1327 src_frame.rel_pc = entry.rel_pc(); in ParseProfilePacket()
1329 context_->heap_profile_tracker->AddFrame(index, entry.id(), src_frame); in ParseProfilePacket()
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h1465 int (*RGBToI420)(const uint8_t* src_frame, in ConvertToBuffer() argument