Home
last modified time | relevance | path

Searched refs:kNV12 (Results 1 – 7 of 7) sorted by relevance

/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dframe_buffer_common_utils.cc43 return FrameBuffer::Create(planes_nv12, dimension, FrameBuffer::Format::kNV12, in CreateFromNV12RawBuffer()
74 case FrameBuffer::Format::kNV12: in AreBufferFormatsCompatible()
78 return (buffer2.format() == FrameBuffer::Format::kNV12 || in AreBufferFormatsCompatible()
95 case FrameBuffer::Format::kNV12: in GetFrameBufferByteSize()
128 if (buffer.format() != FrameBuffer::Format::kNV12 && in GetUvRawBuffer()
135 const uint8* uv_buffer = buffer.format() == FrameBuffer::Format::kNV12 in GetUvRawBuffer()
149 case FrameBuffer::Format::kNV12: in GetUvPlaneDimension()
193 case FrameBuffer::Format::kNV12: in ValidateBufferFormat()
216 case FrameBuffer::Format::kNV12: in ValidateResizeBufferInputs()
311 case FrameBuffer::Format::kNV12: in ValidateConvertFormats()
[all …]
Dlibyuv_frame_buffer_utils.cc186 case FrameBuffer::Format::kNV12: { in ConvertFromNv21()
258 case FrameBuffer::Format::kNV12: { in ConvertFromYv()
367 if (buffer.format() == FrameBuffer::Format::kNV12) { in ResizeNv()
520 output_buffer->format() == FrameBuffer::Format::kNV12 || in ConvertFromRgb()
530 if (output_buffer->format() == FrameBuffer::Format::kNV12 || in ConvertFromRgb()
556 if (output_buffer->format() == FrameBuffer::Format::kNV12 || in ConvertFromRgb()
599 case FrameBuffer::Format::kNV12: { in ConvertFromRgba()
792 if (buffer.format() != FrameBuffer::Format::kNV12 && in RotateNv()
818 const uint8* chroma_buffer = buffer.format() == FrameBuffer::Format::kNV12 in RotateNv()
842 buffer.format() == FrameBuffer::Format::kNV12 ? output_data.u_buffer in RotateNv()
[all …]
Dframe_buffer_utils.cc346 case FrameBuffer::Format::kNV12: { in GetPlanes()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dframe_buffer.cc29 format == FrameBuffer::Format::kNV12 || in IsSupportedYuvFormat()
62 } else if (source.format() == FrameBuffer::Format::kNV12) { in GetYuvDataFromOnePlaneFrameBuffer()
89 if (source.format() != FrameBuffer::Format::kNV12 && in GetYuvDataFromTwoPlaneFrameBuffer()
102 if (source.format() == FrameBuffer::Format::kNV12) { in GetYuvDataFromTwoPlaneFrameBuffer()
Dframe_buffer.h78 enum class Format { kRGBA, kRGB, kNV12, kNV21, kYV12, kYV21, kGRAY }; enumerator
/external/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h45 kNV12, enumerator
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc29 case VideoType::kNV12: in CalcBufferSize()
150 case VideoType::kNV12: in ConvertVideoType()