Skip to content
Snippets Groups Projects
Commit e039d281 authored by David Staessens's avatar David Staessens Committed by Chih-Yu Huang
Browse files

v4l2_codec2: Remove unused defines from V4L2 device.

This CL performs minor cleanup and removes a few unused defines from
the V4L2 device.

Bug: 155138142
Test: arc.VideoEncodeAccel.h264_192p_i420_vm
Change-Id: I8d486775f3e1b8618f6a82dd02932892f143a17a
parent 69f5a3b9
No related branches found
No related tags found
No related merge requests found
...@@ -44,23 +44,6 @@ ...@@ -44,23 +44,6 @@
#include "video_pixel_format.h" #include "video_pixel_format.h"
#include "v4l2_codec2/common/V4L2DevicePoller.h" #include "v4l2_codec2/common/V4L2DevicePoller.h"
// TODO(mojahsu): remove this once V4L2 headers are updated.
#ifndef V4L2_PIX_FMT_JPEG_RAW
#define V4L2_PIX_FMT_JPEG_RAW v4l2_fourcc('J', 'P', 'G', 'R')
#endif
#ifndef V4L2_CID_JPEG_LUMA_QUANTIZATION
#define V4L2_CID_JPEG_LUMA_QUANTIZATION (V4L2_CID_JPEG_CLASS_BASE + 5)
#endif
#ifndef V4L2_CID_JPEG_CHROMA_QUANTIZATION
#define V4L2_CID_JPEG_CHROMA_QUANTIZATION (V4L2_CID_JPEG_CLASS_BASE + 6)
#endif
// TODO(b/132589320): remove this once V4L2 header is updated.
#ifndef V4L2_PIX_FMT_MM21
// MTK 8-bit block mode, two non-contiguous planes.
#define V4L2_PIX_FMT_MM21 v4l2_fourcc('M', 'M', '2', '1')
#endif
namespace media { namespace media {
class V4L2Queue; class V4L2Queue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment