/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | video_decoder_e2e_test.cpp | 98 Size visible_size() const { return visible_size_; } in visible_size() function in android::C2VideoDecoderTestEnvironment 129 Size visible_size; member 174 output_format_.visible_size, output_format_.color_format); in VerifyMD5() 193 output_format_.visible_size, output_format_.color_format); in OutputToFile() 204 void UpdateOutputFormat(const Size& coded_size, const Size& visible_size, in UpdateOutputFormat() argument 207 output_format_.visible_size = visible_size; in UpdateOutputFormat() 232 void VerifyOutputFormat(const Size& coded_size, const Size& visible_size, in VerifyOutputFormat() argument 235 ASSERT_FALSE(visible_size.IsEmpty()); in VerifyOutputFormat() 236 ASSERT_LE(visible_size.width, coded_size.width); in VerifyOutputFormat() 237 ASSERT_LE(visible_size.height, coded_size.height); in VerifyOutputFormat() [all …]
|
D | video_frame.cpp | 51 const Size& coded_size, const Size& visible_size, in Create() argument 53 if (coded_size.IsEmpty() || visible_size.IsEmpty() || (visible_size.width > coded_size.width) || in Create() 54 (visible_size.height > coded_size.height) || (coded_size.width % 2 != 0) || in Create() 55 (coded_size.height % 2 != 0) || (visible_size.width % 2 != 0) || in Create() 56 (visible_size.height % 2 != 0)) { in Create() 58 coded_size.height, visible_size.width, visible_size.height); in Create() 83 new VideoFrame(data, coded_size, visible_size, color_format)); in Create() 86 VideoFrame::VideoFrame(const uint8_t* data, const Size& coded_size, const Size& visible_size, in VideoFrame() argument 90 visible_size_(visible_size), in VideoFrame()
|
D | mediacodec_encoder.cpp | 52 Size visible_size) { in Create() argument 53 if (visible_size.width <= 0 || visible_size.height <= 0 || visible_size.width % 2 == 1 || in Create() 54 visible_size.height % 2 == 1) { in Create() 55 ALOGE("Size is not valid: %dx%d", visible_size.width, visible_size.height); in Create() 58 size_t buffer_size = visible_size.width * visible_size.height * 3 / 2; in Create() 88 codec, std::move(input_file), visible_size, buffer_size, file_size / buffer_size)); in Create()
|
D | video_frame.h | 23 const Size& coded_size, const Size& visible_size, 55 VideoFrame(const uint8_t* data, const Size& coded_size, const Size& visible_size,
|
D | mediacodec_encoder.h | 21 static std::unique_ptr<MediaCodecEncoder> Create(std::string input_path, Size visible_size);
|
D | video_encoder_e2e_test.cpp | 140 Size visible_size() const { return visible_size_; } in visible_size() function in android::C2VideoEncoderTestEnvironment 182 encoder_ = MediaCodecEncoder::Create(g_env->input_file_path(), g_env->visible_size()); in SetUp()
|
/external/v4l2_codec2/accel/ |
D | v4l2_video_decode_accelerator.h | 290 Size* visible_size, 294 const Size& visible_size);
|
D | v4l2_video_decode_accelerator.cc | 766 Size visible_size; in ServiceDeviceTask() local 768 if (GetFormatInfo(&format, &visible_size, &again) && !again) { in ServiceDeviceTask() 1491 Size visible_size; in FinishResolutionChange() local 1492 bool ret = GetFormatInfo(&format, &visible_size, &again); in FinishResolutionChange() 1499 if (!CreateBuffersForFormat(format, visible_size)) { in FinishResolutionChange() 1563 Size* visible_size, in GetFormatInfo() argument 1589 if (visible_size != nullptr) in GetFormatInfo() 1590 *visible_size = GetVisibleSize(coded_size); in GetFormatInfo() 1597 const Size& visible_size) { in CreateBuffersForFormat() argument 1601 visible_size_ = visible_size; in CreateBuffersForFormat()
|
D | v4l2_device.cc | 1362 Size visible_size; in AllocatedSizeFromV4L2Format() local 1376 visible_size.SetSize(base::checked_cast<int>(format.fmt.pix_mp.width), in AllocatedSizeFromV4L2Format() 1388 visible_size.SetSize(base::checked_cast<int>(format.fmt.pix.width), in AllocatedSizeFromV4L2Format() 1437 DCHECK(Rect(coded_size).Contains(Rect(visible_size))); in AllocatedSizeFromV4L2Format()
|