C2SoftHevcEnc: Reduce min supported resolution to 2x2

libhevc encoder library earlier had a restriction on min resolution
supported as 320x128. It now supports upto 2x2.
This commit updates min supported resolution in c2 plugin and as well
in xml files.

Also add supported frame-rate range in xml for c2 soft hevc encoder

Bug: 130537033
Test: atest android.media.cts.MediaCodecCapabilitiesTest#\
testAllAdvertisedVideoEncoderBitrateModes
Test: atest android.media.cts.MediaCodecCapabilitiesTest#\
testAllNonTunneledVideoCodecsSupportFlexibleYUV

Change-Id: I0cfcf3cb3098a2a63c9386a047c702ab3c5c5a32
diff --git a/media/codec2/components/hevc/C2SoftHevcEnc.cpp b/media/codec2/components/hevc/C2SoftHevcEnc.cpp
index efeab6c..0d3357f 100644
--- a/media/codec2/components/hevc/C2SoftHevcEnc.cpp
+++ b/media/codec2/components/hevc/C2SoftHevcEnc.cpp
@@ -86,8 +86,8 @@
             DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE)
                 .withDefault(new C2StreamPictureSizeInfo::input(0u, 320, 240))
                 .withFields({
-                    C2F(mSize, width).inRange(320, 1920, 2),
-                    C2F(mSize, height).inRange(128, 1088, 2),
+                    C2F(mSize, width).inRange(2, 1920, 2),
+                    C2F(mSize, height).inRange(2, 1088, 2),
                 })
                 .withSetter(SizeSetter)
                 .build());