1.Caused by: https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/317059/
2.New feature of ppi-video-control is not enabled on RISC-V branch. There is not file ppi-video-dp-control.h
Change-Id: Ic82428a9968642c734ee60e416dba0856d49e7a9
Signed-off-by: huochangjun <changjun.huo@samsung.com>
#include "media/filters/tizen/omx/omx_utils.h"
#include "media/filters/tizen/video_utils.h"
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
#include <ppi-video-renderer.h>
#else
#include <ivideo-renderer.hpp>
#if defined(TIZEN_TV_UPSTREAM_MULTIMEDIA_OMX)
void ConvertVideoDataOmx(const OMX_BUFFERHEADERTYPE* output_buf_hdr,
OmxFacadeVideo::OutputData* output_data) {
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
using VideoBufMetadata = ppi_renderer_video_buf_meta_data_s;
#else
using VideoBufMetadata = IVideoRenderer::VideoBufMetaData;
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
#include <ppi-video-renderer.h>
#else
#include <ivideo-renderer.hpp>
base::test::TaskEnvironment::MainThreadType::IO};
OMX_BUFFERHEADERTYPE buffer_;
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
ppi_renderer_video_buf_meta_data_s decoded_spec_;
#else
IVideoRenderer::VideoBufMetaData decoded_spec_;
#include "ui/ozone/platform/efl/video_rendering_software.h"
#include "ui/ozone/platform/efl/video_surface.h"
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
#include <ppi-video-dp-control.h>
#else
#include <ivideo-dp-control.hpp>
}
std::pair<bool, bool> OutputSurfaceImpl::IsPlaneVisible() {
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
ppi_video_control_plane_type_e plane;
switch (plane_) {
case OutputSurface::Plane::kMain:
#include "build/tizen_version.h"
#include "media/base/tizen/logger/media_logger.h"
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
#include <ppi-video-renderer.h>
#else
#include <ivideo-renderer.hpp>
void VideoRenderingDirect::PrepareForRenderingFrame(
FrameInfo* frame_info,
const gfx::OverlayRenderData& render_data) {
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
using VideoBufMetadata = ppi_renderer_video_buf_meta_data_s;
#else
using VideoBufMetadata = IVideoRenderer::VideoBufMetaData;
#include "ui/gfx/tbm_utils.h"
#include "ui/gfx/tizen_gpu_buffer.h"
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
#include <ppi-video-dp-control.h>
#else
#include <ivideo-dp-control.hpp>
constexpr const size_t kDefaultFramerate = 60 * 100;
constexpr const uint32_t kProgressiveScanType = 1;
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
ppi_video_control_scaler_index_e PlaneToScalerIndex(
OutputSurface::Plane plane) {
switch (plane) {
VideoRenderingSoftware::VideoRenderingSoftware(OutputSurface::Plane plane)
: VideoRendering(plane) {
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
ppi_video_dp_control_get_frame_buffer_prop(
PPI_VID_CTRL_Y_FB_BYTEPERLINE, PlaneToScalerIndex(plane_),
PPI_VID_CTRL_COLOR_FORMAT_YUV420, &fb_bytes_per_line_);
#include "tizen_src/chromium_impl/ui/gfx/tbm_utils.h"
#include "ui/ozone/platform/efl/efl_window.h"
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
#include <ppi-video-dp-control.h>
#else
#include <ivideo-dp-control.hpp>
int flip;
};
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
constexpr const int kFlipOff = PPI_VID_CTRL_FLIP_OFF;
constexpr const int kFlipV = PPI_VID_CTRL_FLIP_V;
constexpr const int kFlipH = PPI_VID_CTRL_FLIP_H;