Searched defs:img (Results 1 - 25 of 66) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
H A Dvp9_iface_common.h13 static void yuvconfig2image(vpx_image_t *img, const YV12_BUFFER_CONFIG *yv12, argument
22 img->fmt = VPX_IMG_FMT_I444;
25 img->fmt = VPX_IMG_FMT_I422;
29 img->fmt = VPX_IMG_FMT_I420;
31 img->w = yv12->y_stride;
32 img->h = ALIGN_POWER_OF_TWO(yv12->y_height + 2 * VP9_ENC_BORDER_IN_PIXELS, 3);
33 img->d_w = yv12->y_crop_width;
34 img->d_h = yv12->y_crop_height;
35 img->x_chroma_shift = yv12->uv_width < yv12->y_width;
36 img
53 image2yuvconfig(const vpx_image_t *img, YV12_BUFFER_CONFIG *yv12) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dlookahead.h21 YV12_BUFFER_CONFIG img; member in struct:lookahead_entry
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_lookahead.h27 YV12_BUFFER_CONFIG img; member in struct:lookahead_entry
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Dsimple_decoder.c133 vpx_image_t *img = NULL; local
140 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
141 vpx_img_write(img, outfile);
H A Dpostproc.c101 vpx_image_t *img = NULL; local
124 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
125 vpx_img_write(img, outfile);
H A Ddecode_to_md5.c46 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { argument
53 const unsigned char *buf = img->planes[plane];
54 const int stride = img->stride[plane];
55 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w;
56 const int h = plane ? (img->d_h + 1) >> 1 : img->d_h;
114 vpx_image_t *img = NULL; local
121 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {
124 get_image_md5(img, diges
[all...]
H A Ddecode_with_drops.c118 vpx_image_t *img = NULL; local
134 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL)
135 vpx_img_write(img, outfile);
H A Dvp8cx_set_ref.c69 vpx_image_t *img,
74 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 0,
167 ref.img = raw;
68 encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, int frame_index, VpxVideoWriter *writer) argument
H A Dset_maps.c128 vpx_image_t *img,
133 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 0,
127 encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, int frame_index, VpxVideoWriter *writer) argument
H A Dsimple_encoder.c122 vpx_image_t *img,
128 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1,
121 encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, int frame_index, int flags, VpxVideoWriter *writer) argument
H A Dtwopass_encoder.c70 const vpx_image_t *img,
78 const vpx_codec_err_t res = vpx_codec_encode(ctx, img, pts, duration, flags,
95 const vpx_image_t *img,
103 const vpx_codec_err_t res = vpx_codec_encode(ctx, img, pts, duration, flags,
69 get_frame_stats(vpx_codec_ctx_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned int duration, vpx_enc_frame_flags_t flags, unsigned int deadline, vpx_fixed_buf_t *stats) argument
94 encode_frame(vpx_codec_ctx_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned int duration, vpx_enc_frame_flags_t flags, unsigned int deadline, VpxVideoWriter *writer) argument
H A Ddecode_with_partial_drops.c254 vpx_image_t *img; local
307 while((img = vpx_codec_get_frame(&codec, &iter))) {
311 unsigned char *buf =img->planes[plane];
313 for(y=0; y < (plane ? (img->d_h + 1) >> 1 : img->d_h); y++) {
314 (void) fwrite(buf, 1, (plane ? (img->d_w + 1) >> 1 : img->d_w),
316 buf += img->stride[plane];
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Ddecode_test_driver.cc41 const vpx_image_t *img = NULL; local
44 while ((img = dec_iter.Next()))
45 DecompressedFrameHook(*img, video->frame_number());
H A Dmd5_helper.h24 void Add(const vpx_image_t *img) { argument
26 const uint8_t *buf = img->planes[plane];
31 const int h = plane ? (img->d_h + img->y_chroma_shift) >>
32 img->y_chroma_shift : img->d_h;
33 const int w = plane ? (img->d_w + img->x_chroma_shift) >>
34 img->x_chroma_shift : img
[all...]
H A Dtest_vector_test.cc42 virtual void DecompressedFrameHook(const vpx_image_t& img, argument
54 md5_res.Add(&img);
H A Dtile_independence_test.cc66 const vpx_image_t *img = dec->GetDxData().Next(); local
67 md5->Add(img);
H A Dvp9_thread_test.cc119 const vpx_image_t *img = NULL; local
122 while ((img = dec_iter.Next())) {
123 md5.Add(img);
H A Dy4m_video_source.h64 virtual vpx_image_t *img() const { function in class:libvpx_test::Y4mVideoSource
H A Ddecode_test_driver.h118 virtual void DecompressedFrameHook(const vpx_image_t& img, argument
H A Dencode_test_driver.cc21 if (video->img())
40 const vpx_image_t *img = video.img(); local
44 cfg_.g_w = img->d_w;
45 cfg_.g_h = img->d_h;
54 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) {
55 cfg_.g_w = img->d_w;
56 cfg_.g_h = img->d_h;
64 video.img(), vide
[all...]
H A Di420_video_source.h38 // This initializes raw_sz_, width_, height_ and allocates an img.
67 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } function in class:libvpx_test::I420VideoSource
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
H A Dvpx_decoder.c140 vpx_image_t *img; local
143 img = NULL;
145 img = ctx->iface->dec.get_frame(ctx->priv->alg_priv, iter);
147 return img;
H A Dvpx_image.c43 static vpx_image_t *img_alloc_helper(vpx_image_t *img, argument
136 if (!img) {
137 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t));
139 if (!img)
142 img->self_allocd = 1;
144 memset(img, 0, sizeof(vpx_image_t));
147 img->img_data = img_data;
150 img->img_data = img_buf_memalign(buf_align, ((fmt & VPX_IMG_FMT_PLANAR) ?
152 img->img_data_owner = 1;
155 if (!img
178 vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int align) argument
186 vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int stride_align, unsigned char *img_data) argument
197 vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y, unsigned int w, unsigned int h) argument
249 vpx_img_flip(vpx_image_t *img) argument
271 vpx_img_free(vpx_image_t *img) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
H A Dvp8.h107 vpx_image_t img; /**< reference frame data in image format */ member in struct:vpx_ref_frame
116 vpx_image_t img; /**< img structure to populate (output) */ member in struct:vp9_ref_frame
/hardware/intel/common/libmix/videoencoder/
H A DPVSoftMPEG4Encoder.cpp409 uint8_t *img; local
421 rect, (void**)&img);
423 img = (uint8_t*)value;
426 trimBuffer(img, mTrimedInputData, pvinfo->width, pvinfo->height,
430 trimBuffer(img, mTrimedInputData, mVideoWidth, mVideoHeight,

Completed in 490 milliseconds

123