/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
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() 57 ALOGE("Size are not valid: coded: %dx%d, visible: %dx%d", coded_size.width, in Create() 58 coded_size.height, visible_size.width, visible_size.height); in Create() 68 if (data_size < coded_size.width * coded_size.height * 3 / 2) { in Create() 69 ALOGE("data_size(=%zu) is not enough for coded_size(=%dx%d)", data_size, coded_size.width, in Create() 70 coded_size.height); in Create() 77 if (data_size > coded_size.width * coded_size.height * 3 / 2) { in Create() [all …]
|
D | video_decoder_e2e_test.cpp | 131 Size coded_size; member 176 VideoFrame::Create(data, buffer_size, output_format_.coded_size, in VerifyMD5() 195 VideoFrame::Create(data, buffer_size, output_format_.coded_size, in OutputToFile() 207 void UpdateOutputFormat(const Size& coded_size, const Size& visible_size, in UpdateOutputFormat() argument 209 output_format_.coded_size = coded_size; in UpdateOutputFormat() 235 void VerifyOutputFormat(const Size& coded_size, const Size& visible_size, in VerifyOutputFormat() argument 237 ASSERT_FALSE(coded_size.IsEmpty()); in VerifyOutputFormat() 239 ASSERT_LE(visible_size.width, coded_size.width); in VerifyOutputFormat() 240 ASSERT_LE(visible_size.height, coded_size.height); in VerifyOutputFormat() 243 coded_size.width, coded_size.height, visible_size.width, visible_size.height, in VerifyOutputFormat() [all …]
|
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,
|
/external/crosvm/devices/src/virtio/media/ |
D | decoder_adapter.rs | 49 fn buffer_sizes_for_format(format: Format, coded_size: (u32, u32)) -> (u32, u32) { in buffer_sizes_for_format() 50 match PlaneFormat::get_plane_layout(format, coded_size.0, coded_size.1) { in buffer_sizes_for_format() 147 coded_size: (u32, u32), field 255 let (bytesperline, sizeimage) = buffer_sizes_for_format(format, self.coded_size); in current_format() 266 width: self.coded_size.0, in current_format() 267 height: self.coded_size.1, in current_format() 321 coded_size: (width as u32, height as u32), in next_event() 329 self.coded_size = self.stream_params.coded_size; in next_event() 351 let bytes_used = buffer_sizes_for_format(self.output_format, self.coded_size).1; in next_event() 459 self.coded_size.0, in use_as_output() [all …]
|
/external/virtio-media/extras/ffmpeg-decoder/src/ |
D | lib.rs | 114 fn into_v4l2_pix_format(self, coded_size: (u32, u32)) -> bindings::v4l2_pix_format_mplane { in into_v4l2_pix_format() 126 width: coded_size.0, in into_v4l2_pix_format() 127 height: coded_size.1, in into_v4l2_pix_format() 151 fn into_v4l2_pix_format(self, coded_size: (u32, u32)) -> bindings::v4l2_pix_format_mplane { in into_v4l2_pix_format() 158 let line_size = av_format.line_size(coded_size.0, 0) as u32; in into_v4l2_pix_format() 161 .plane_sizes([line_size, line_size], coded_size.1) in into_v4l2_pix_format() 169 width: coded_size.0, in into_v4l2_pix_format() 170 height: coded_size.1, in into_v4l2_pix_format() 221 coded_size: (u32, u32), in new() 224 b.set_initial_format(coded_size, AV_PIXEL_FORMAT_YUV420P); in new() [all …]
|
/external/libaom/aom/src/ |
D | aom_integer.c | 59 size_t *coded_size) { in aom_uleb_encode() argument 62 leb_size > available || !coded_value || !coded_size) { in aom_uleb_encode() 75 *coded_size = leb_size; in aom_uleb_encode() 81 size_t *coded_size) { in aom_uleb_encode_fixed_size() argument 82 if (value > kMaximumLeb128Value || !coded_value || !coded_size || in aom_uleb_encode_fixed_size() 103 *coded_size = pad_to_size; in aom_uleb_encode_fixed_size()
|
/external/iamf_tools/iamf/common/ |
D | leb_generator.cc | 41 int8_t coded_size; member 63 if (val.coded_size < 1 || kMaxLeb128Size < val.coded_size) { in Leb128ToUint8Vector() 68 buffer.reserve(val.coded_size); in Leb128ToUint8Vector() 79 for (int i = 0; i < val.coded_size; i++) { in Leb128ToUint8Vector() 114 " have a fixed size of ", val.coded_size); in Leb128ToUint8Vector()
|
/external/libaom/test/ |
D | aom_integer_test.cc | 154 size_t coded_size = 0; in TEST() local 156 aom_uleb_encode(kValidTestValue, kWriteBufferSize, nullptr, &coded_size), in TEST() 164 &write_buffer[0], &coded_size), in TEST() 169 &write_buffer[0], &coded_size), in TEST() 175 &coded_size), in TEST()
|
/external/libaom/aom/ |
D | aom_integer.h | 46 size_t *coded_size); 54 size_t *coded_size);
|
/external/v4l2_codec2/common/include/v4l2_codec2/common/ |
D | VideoPixelFormat.h | 67 size_t allocationSize(VideoPixelFormat format, const android::ui::Size& coded_size); 71 const android::ui::Size& coded_size);
|
/external/curl/tests/libtest/ |
D | lib571.c | 60 int coded_size = RTP_PKT_LENGTH(data); in rtp_write() local 68 if(message_size != coded_size) { in rtp_write() 70 coded_size, message_size); in rtp_write()
|
/external/v4l2_codec2/common/ |
D | VideoPixelFormat.cpp | 228 size_t allocationSize(VideoPixelFormat format, const android::ui::Size& coded_size) { in allocationSize() argument 231 android::ui::Size plane_size = planeSize(format, i, coded_size); in allocationSize() 239 const android::ui::Size& coded_size) { in planeSize() argument 242 int width = coded_size.width; in planeSize() 243 int height = coded_size.height; in planeSize()
|
/external/webp/examples/ |
D | cwebp.c | 199 fprintf(stderr, "%7d %2.2f\n", stats->coded_size, stats->PSNR[3]); in PrintExtraInfoLossless() 203 fprintf(stderr, "Output: %d bytes (%.2f bpp)\n", stats->coded_size, in PrintExtraInfoLossless() 204 8.f * stats->coded_size / pic->width / pic->height); in PrintExtraInfoLossless() 214 fprintf(stderr, "%7d %2.2f\n", stats->coded_size, stats->PSNR[3]); in PrintExtraInfoLossy() 227 stats->coded_size, in PrintExtraInfoLossy() 229 8.f * stats->coded_size / pic->width / pic->height); in PrintExtraInfoLossy() 241 100.f * stats->header_bytes[0] / stats->coded_size, in PrintExtraInfoLossy() 243 100.f * stats->header_bytes[1] / stats->coded_size); in PrintExtraInfoLossy() 253 PrintByteCount(stats->residual_bytes[0], stats->coded_size, totals); in PrintExtraInfoLossy() 255 PrintByteCount(stats->residual_bytes[1], stats->coded_size, totals); in PrintExtraInfoLossy() [all …]
|
/external/virtio-media/device/src/devices/ |
D | video_decoder.rs | 128 pub coded_size: (u32, u32), field 1088 let coded_size = session.backend_session.stream_params().coded_size; in g_selection() localVariable 1089 Ok(v4l2r::Rect::new(0, 0, coded_size.0, coded_size.1).into()) in g_selection() 1125 let coded_size = session in s_selection() localVariable 1131 sel_rect.width = std::cmp::min(coded_size.0, sel_rect.width - sel_rect.left as u32); in s_selection() 1132 sel_rect.height = std::cmp::min(coded_size.0, sel_rect.height - sel_rect.top as u32); in s_selection()
|
/external/webp/src/enc/ |
D | vp8l_enc.c | 1172 size_t* const coded_size) { in WriteImage() argument 1178 *coded_size = 0; in WriteImage() 1195 *coded_size = CHUNK_HEADER_SIZE + riff_size; in WriteImage() 1836 size_t coded_size; in VP8LEncodeImage() local 1895 if (!WriteImage(picture, &bw, &coded_size)) goto Error; in VP8LEncodeImage() 1902 picture->stats->coded_size += (int)coded_size; in VP8LEncodeImage() 1903 picture->stats->lossless_size = (int)coded_size; in VP8LEncodeImage()
|
D | webp_enc.c | 296 stats->coded_size = enc->coded_size_; in StoreStats()
|
D | alpha_enc.c | 359 pic->stats->coded_size += (int)(*output_size); in EncodeAlpha()
|
/external/mesa3d/src/gallium/frontends/va/ |
D | buffer.c | 216 curr_buf_ptr->size = buf->coded_size; in vlVaMapBuffer2() 598 &buf->coded_size, &buf->extended_metadata); in vlVaGetBufferFeedback()
|
/external/webp/src/webp/ |
D | encode.h | 208 int coded_size; // final size member
|
/external/virglrenderer/src/ |
D | vrend_video.c | 339 feedback.coded_size = data_size; in vrend_video_encode_completed() 343 feedback.coded_size = 0; in vrend_video_encode_completed()
|
D | virgl_video_hw.h | 581 uint32_t coded_size; /* size of encoded data in bytes */ member
|
/external/libva-utils/encode/ |
D | av1encode.c | 2518 unsigned int coded_size = 0; in save_codeddata() local 2526 coded_size += fwrite(buf_list->buf, 1, buf_list->size, coded_fp); in save_codeddata() 2529 frame_size += coded_size; in save_codeddata() 2539 unsigned int ivf_size = coded_size - 32 - 12; in save_codeddata() 2550 unsigned int ivf_size = coded_size - 12; in save_codeddata() 2575 printf("(%06d bytes coded)\n", coded_size); in save_codeddata()
|
D | h264encode.c | 2078 unsigned int coded_size = 0; in save_codeddata() local 2083 coded_size += fwrite(buf_list->buf, 1, buf_list->size, coded_fp); in save_codeddata() 2086 frame_size += coded_size; in save_codeddata() 2106 printf("(%06d bytes coded)", coded_size); in save_codeddata()
|
D | hevcencode.c | 2992 unsigned int coded_size = 0; in save_codeddata() local 2997 coded_size += fwrite(buf_list->buf, 1, buf_list->size, coded_fp); in save_codeddata() 3000 frame_size += coded_size; in save_codeddata() 3020 printf("(%06d bytes coded)\n", coded_size); in save_codeddata()
|
/external/openscreen/cast/streaming/ |
D | remoting.proto | 236 optional Size coded_size = 6; field
|