Lots of cleanup

* Remove YV12 references. It was never fully supported (only libaom), and unlikely to be used.
* Rename yuvSamplePosition to yuvChromaSamplePosition (clarity)
* Remove av1C box from avifDecoder, it is redundant
* Cleanup wording in a few comments
* Add bitDepth and chromaSamplePosition to avifSequenceHeader (internal; for future validation)
* Coalesce some calls to avifBitsRead()
* Rename local variable in avifBitsReadVLC() (suggested by wantehchang)
* Other minor cleanup in obu.c (suggested by wantehchang)
diff --git a/include/avif/internal.h b/include/avif/internal.h
index 5ff0fd4..4e9c15e 100644
--- a/include/avif/internal.h
+++ b/include/avif/internal.h
@@ -130,11 +130,11 @@
 
 typedef avifBool (*avifCodecOpenFunc)(struct avifCodec * codec, uint32_t firstSampleIndex);
 typedef avifBool (*avifCodecGetNextImageFunc)(struct avifCodec * codec, avifImage * image);
-// EncodeImage and EncodeFinish are not required to always emit an OBU, but when all images are
-// encoded and Finish is called, the number of OBUs emitted must match the number of submitted frames.
+// EncodeImage and EncodeFinish are not required to always emit a sample, but when all images are
+// encoded and Finish is called, the number of samples emitted must match the number of submitted frames.
 typedef avifBool (*avifCodecEncodeImageFunc)(struct avifCodec * codec,
-                                             const avifImage * image,
                                              avifEncoder * encoder,
+                                             const avifImage * image,
                                              avifBool alpha,
                                              uint32_t addImageFlags,
                                              avifCodecEncodeOutput * output);
@@ -231,13 +231,15 @@
 {
     uint32_t maxWidth;
     uint32_t maxHeight;
+    uint32_t bitDepth;
     avifPixelFormat yuvFormat;
+    avifChromaSamplePosition chromaSamplePosition;
     avifColorPrimaries colorPrimaries;
     avifTransferCharacteristics transferCharacteristics;
     avifMatrixCoefficients matrixCoefficients;
     avifRange range;
 } avifSequenceHeader;
-avifBool avifSequenceHeaderParse(avifSequenceHeader * header, avifROData * const sample);
+avifBool avifSequenceHeaderParse(avifSequenceHeader * header, const avifROData * sample);
 
 #ifdef __cplusplus
 } // extern "C"